Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001428/0.001428, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001647/0.001647, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.031/1.031, allocations: 177 MB / 204.8 MB, free: 5.574 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2957/0.2957, allocations: 34.86 MB / 296.3 MB, free: 464 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Utilities.TestStrings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings") translateModel(ModelicaTest.Utilities.TestStrings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 378.7 MB, free: 2.078 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.063e-05/3.232e-05, allocations: 2.875 kB / 378.7 MB, free: 2.074 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.001758/0.001791, allocations: 497.8 kB / 379.2 MB, free: 1.586 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002496/0.004286, allocations: 1.331 MB / 380.6 MB, free: 256 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.994e-05/0.004306, allocations: 0 / 380.6 MB, free: 256 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 2.196e-05/0.004328, allocations: 3.938 kB / 380.6 MB, free: 252 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 7.033e-06/0.004335, allocations: 3.938 kB / 380.6 MB, free: 248 kB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Utilities.mo:4:3-230:14:writable] Warning: Pure function 'ModelicaTest.Utilities.Strings' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001785/0.00612, allocations: 0.6152 MB / 381.2 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 5e-05/0.00617, allocations: 0 / 381.2 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.394e-05/0.006204, allocations: 0 / 381.2 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.814e-05/0.006232, allocations: 4 kB / 381.2 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.691e-05/0.006259, allocations: 7.969 kB / 381.2 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.095e-06/0.006267, allocations: 0 / 381.2 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01263/0.0189, allocations: 5.099 MB / 386.3 MB, free: 11.8 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.15e-05/0.01891, allocations: 3.938 kB / 386.3 MB, free: 11.79 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.009e-05/0.01894, allocations: 0 / 386.3 MB, free: 11.79 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000352/0.01929, allocations: 211.6 kB / 386.5 MB, free: 11.59 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.0193, allocations: 0 / 386.5 MB, free: 11.59 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.0193, allocations: 0 / 386.5 MB, free: 11.59 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.0193, allocations: 0 / 386.5 MB, free: 11.59 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000334/0.01964, allocations: 409.8 kB / 386.9 MB, free: 11.14 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.01968, allocations: 12.03 kB / 386.9 MB, free: 11.13 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.282e-05/0.01973, allocations: 0.9375 kB / 386.9 MB, free: 11.13 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.273e-05/0.01979, allocations: 112.5 kB / 387 MB, free: 10.99 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.0198, allocations: 384 / 387 MB, free: 10.99 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.092e-05/0.01981, allocations: 4.375 kB / 387 MB, free: 10.99 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.348e-05/0.0199, allocations: 55.91 kB / 387.1 MB, free: 10.92 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.01992, allocations: 192 / 387.1 MB, free: 10.92 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.01993, allocations: 384 / 387.1 MB, free: 10.92 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.01993, allocations: 4.375 kB / 387.1 MB, free: 10.92 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.022e-05/0.01995, allocations: 37.58 kB / 387.1 MB, free: 10.88 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001017/0.02006, allocations: 108.6 kB / 387.2 MB, free: 10.73 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.707e-05/0.0201, allocations: 56.75 kB / 387.3 MB, free: 10.66 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.086e-05/0.02012, allocations: 37.48 kB / 387.3 MB, free: 10.61 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.837e-06/0.02013, allocations: 3.938 kB / 387.3 MB, free: 10.61 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.538e-05/0.02016, allocations: 59.09 kB / 387.4 MB, free: 10.54 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 6.41e-07/0.02016, allocations: 0 / 387.4 MB, free: 10.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002083/0.02037, allocations: 118.8 kB / 387.5 MB, free: 10.39 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.229e-05/0.02042, allocations: 81.11 kB / 387.6 MB, free: 10.3 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.139e-05/0.02046, allocations: 142.2 kB / 387.7 MB, free: 10.14 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.827e-06/0.02047, allocations: 29.83 kB / 387.7 MB, free: 10.11 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.237e-05/0.0205, allocations: 126.9 kB / 387.9 MB, free: 9.98 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.911e-05/0.02052, allocations: 0 / 387.9 MB, free: 9.98 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.601e-05/0.02054, allocations: 19.38 kB / 387.9 MB, free: 9.953 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.02065, allocations: 496.1 kB / 388.4 MB, free: 9.457 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.397e-05/0.02068, allocations: 29.69 kB / 388.4 MB, free: 9.422 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.47e-05/0.02069, allocations: 33.64 kB / 388.4 MB, free: 9.383 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.954e-05/0.02074, allocations: 67.09 kB / 388.5 MB, free: 9.301 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.02074, allocations: 0 / 388.5 MB, free: 9.301 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.206e-05/0.02081, allocations: 89.16 kB / 388.6 MB, free: 9.195 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.267e-05/0.02084, allocations: 37.3 kB / 388.6 MB, free: 9.156 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.02084, allocations: 0 / 388.6 MB, free: 9.156 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.02086, allocations: 0 / 388.6 MB, free: 9.156 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.146e-06/0.02086, allocations: 0 / 388.6 MB, free: 9.156 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.02087, allocations: 0 / 388.6 MB, free: 9.156 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.671e-05/0.02089, allocations: 7.938 kB / 388.6 MB, free: 9.148 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.02089, allocations: 0 / 388.6 MB, free: 9.148 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.462e-05/0.02097, allocations: 186.2 kB / 388.8 MB, free: 8.949 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.502e-06/0.02097, allocations: 4 kB / 388.8 MB, free: 8.945 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.116e-05/0.02098, allocations: 6.984 kB / 388.8 MB, free: 8.941 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.02099, allocations: 4.031 kB / 388.8 MB, free: 8.938 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.02099, allocations: 0 / 388.8 MB, free: 8.938 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.02099, allocations: 0 / 388.8 MB, free: 8.938 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.73e-05/0.02106, allocations: 116.6 kB / 388.9 MB, free: 8.789 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.02106, allocations: 0 / 388.9 MB, free: 8.789 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.384e-06/0.02106, allocations: 7.984 kB / 388.9 MB, free: 8.781 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.02106, allocations: 3.938 kB / 389 MB, free: 8.777 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.02107, allocations: 0 / 389 MB, free: 8.777 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.02107, allocations: 0 / 389 MB, free: 8.777 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.02107, allocations: 0 / 389 MB, free: 8.777 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.641e-05/0.02117, allocations: 139.8 kB / 389.1 MB, free: 8.605 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.288e-06/0.02117, allocations: 0 / 389.1 MB, free: 8.605 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.451e-05/0.02119, allocations: 0 / 389.1 MB, free: 8.605 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.623e-06/0.0212, allocations: 0 / 389.1 MB, free: 8.605 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.542e-05/0.02121, allocations: 11.92 kB / 389.1 MB, free: 8.594 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.265e-06/0.02121, allocations: 0 / 389.1 MB, free: 8.594 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.064e-05/0.02124, allocations: 119.2 kB / 389.2 MB, free: 8.477 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02124, allocations: 0 / 389.2 MB, free: 8.477 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002095/0.02145, allocations: 67.88 kB / 389.3 MB, free: 8.41 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007296/0.02218, allocations: 459.9 kB / 389.7 MB, free: 8.02 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001033/0.02229, allocations: 126.5 kB / 389.9 MB, free: 7.867 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.02229, allocations: 0 / 389.9 MB, free: 7.867 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.095e-05/0.02232, allocations: 88.8 kB / 389.9 MB, free: 7.758 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.567e-05/0.02241, allocations: 4 kB / 389.9 MB, free: 7.754 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002005/0.02261, allocations: 125.8 kB / 390.1 MB, free: 7.594 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.984e-05/0.02264, allocations: 51.36 kB / 390.1 MB, free: 7.523 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.581e-06/0.02265, allocations: 0 / 390.1 MB, free: 7.523 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.448e-05/0.02266, allocations: 12.5 kB / 390.1 MB, free: 7.512 MB / 362.7 MB Notification: Performance of SimCode: time 1.182e-06/0.02267, allocations: 3.938 kB / 390.1 MB, free: 7.508 MB / 362.7 MB Notification: Performance of Templates: time 0.004099/0.02676, allocations: 2.271 MB / 392.4 MB, free: 5.238 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings.sim & ./ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Utilities/TestStrings/TestStrings.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3636703370139003]