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.001574/0.001574, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.001649/0.001649, allocations: 160.9 kB / 24.27 MB, free: 168 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.534/1.534, allocations: 177 MB / 204.4 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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.3761/0.3761, allocations: 34.24 MB / 295.2 MB, free: 0.6641 MB / 266.7 MB " [Timeout remaining time 179] 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 2.265e-06/2.265e-06, allocations: 0 / 377.2 MB, free: 2.949 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.991e-05/4.218e-05, allocations: 4.844 kB / 377.2 MB, free: 2.945 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.002535/0.002577, allocations: 489 kB / 377.7 MB, free: 2.465 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004288/0.006865, allocations: 1.3 MB / 379 MB, free: 1.16 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.793e-05/0.006883, allocations: 0 / 379 MB, free: 1.16 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.487e-05/0.006897, allocations: 0 / 379 MB, free: 1.16 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 7.233e-06/0.006905, allocations: 0 / 379 MB, free: 1.16 MB / 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.002412/0.009316, allocations: 0.6151 MB / 379.6 MB, free: 0.543 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 5.599e-05/0.009372, allocations: 4 kB / 379.6 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.446e-05/0.009407, allocations: 0 / 379.6 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.207e-05/0.009439, allocations: 3.938 kB / 379.6 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.082e-05/0.00947, allocations: 11.98 kB / 379.6 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.697e-06/0.009478, allocations: 0 / 379.6 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.05218/0.06166, allocations: 5.109 MB / 384.7 MB, free: 12.68 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.711e-05/0.06167, allocations: 3.938 kB / 384.7 MB, free: 12.68 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.325e-05/0.06172, allocations: 4 kB / 384.7 MB, free: 12.68 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000934/0.06265, allocations: 211.5 kB / 384.9 MB, free: 12.47 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.06266, allocations: 0 / 384.9 MB, free: 12.47 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.06266, allocations: 0 / 384.9 MB, free: 12.47 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.06266, allocations: 0 / 384.9 MB, free: 12.47 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.0006623/0.06332, allocations: 311.8 kB / 385.2 MB, free: 12.13 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.792e-05/0.06338, allocations: 8.031 kB / 385.2 MB, free: 12.12 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.111e-05/0.06345, allocations: 0.9375 kB / 385.2 MB, free: 12.12 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001524/0.06361, allocations: 105.8 kB / 385.3 MB, free: 11.99 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.06362, allocations: 384 / 385.3 MB, free: 11.99 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.317e-06/0.06363, allocations: 384 / 385.3 MB, free: 11.99 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001727/0.06381, allocations: 67.91 kB / 385.4 MB, free: 11.91 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.06382, allocations: 192 / 385.4 MB, free: 11.91 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.723e-05/0.06383, allocations: 4.359 kB / 385.4 MB, free: 11.91 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.06385, allocations: 4.359 kB / 385.4 MB, free: 11.91 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.288e-05/0.06391, allocations: 29.64 kB / 385.4 MB, free: 11.87 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002021/0.06411, allocations: 97.33 kB / 385.5 MB, free: 11.75 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001151/0.06423, allocations: 44.31 kB / 385.6 MB, free: 11.69 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.64e-05/0.06428, allocations: 30.56 kB / 385.6 MB, free: 11.65 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.27e-05/0.0643, allocations: 0 / 385.6 MB, free: 11.65 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001002/0.0644, allocations: 64.27 kB / 385.7 MB, free: 11.57 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 1.734e-06/0.0644, allocations: 4 kB / 385.7 MB, free: 11.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0003603/0.06476, allocations: 118.8 kB / 385.8 MB, free: 11.43 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001124/0.06487, allocations: 77.11 kB / 385.9 MB, free: 11.33 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.06498, allocations: 93.86 kB / 386 MB, free: 11.23 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.171e-05/0.06501, allocations: 25.7 kB / 386 MB, free: 11.2 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.035e-05/0.06508, allocations: 80.14 kB / 386.1 MB, free: 11.12 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.009e-05/0.06511, allocations: 7.984 kB / 386.1 MB, free: 11.11 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.917e-05/0.06517, allocations: 9.719 kB / 386.1 MB, free: 11.09 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002665/0.06544, allocations: 314.8 kB / 386.4 MB, free: 10.78 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.833e-05/0.06549, allocations: 29.7 kB / 386.4 MB, free: 10.74 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.662e-05/0.06553, allocations: 29.83 kB / 386.4 MB, free: 10.71 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001149/0.06565, allocations: 68.2 kB / 386.5 MB, free: 10.62 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.06565, allocations: 0 / 386.5 MB, free: 10.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001684/0.06582, allocations: 93.03 kB / 386.6 MB, free: 10.52 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.193e-05/0.06588, allocations: 29.7 kB / 386.6 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.06589, allocations: 0 / 386.6 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.361e-05/0.06592, allocations: 4 kB / 386.6 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.034e-06/0.06592, allocations: 0 / 386.6 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.06593, allocations: 0 / 386.6 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.678e-05/0.06596, allocations: 3.938 kB / 386.6 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-06/0.06597, allocations: 4.094 kB / 386.6 MB, free: 10.47 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 0.000213/0.06618, allocations: 143.5 kB / 386.8 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.668e-05/0.0662, allocations: 0 / 386.8 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.36e-05/0.06621, allocations: 6.938 kB / 386.8 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.06621, allocations: 0 / 386.8 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.06622, allocations: 4 kB / 386.8 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.06622, allocations: 0 / 386.8 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001703/0.06639, allocations: 109.2 kB / 386.9 MB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.0664, allocations: 0 / 386.9 MB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.584e-06/0.0664, allocations: 3.984 kB / 386.9 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.06641, allocations: 4 kB / 386.9 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.06642, allocations: 4 kB / 386.9 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.06642, allocations: 0 / 386.9 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.06642, allocations: 0 / 386.9 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002494/0.06667, allocations: 120.5 kB / 387 MB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.194e-06/0.06668, allocations: 0 / 387 MB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.995e-05/0.06672, allocations: 4 kB / 387 MB, free: 10 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.714e-05/0.06674, allocations: 0 / 387 MB, free: 10 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.269e-05/0.06676, allocations: 0 / 387 MB, free: 10 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.593e-06/0.06677, allocations: 0 / 387 MB, free: 10 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.977e-05/0.06684, allocations: 75.28 kB / 387.1 MB, free: 9.93 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.06685, allocations: 7.969 kB / 387.1 MB, free: 9.922 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005624/0.06741, allocations: 75.86 kB / 387.2 MB, free: 9.848 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.001964/0.06937, allocations: 446.5 kB / 387.6 MB, free: 9.473 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002386/0.06961, allocations: 114.8 kB / 387.7 MB, free: 9.336 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.06961, allocations: 4.062 kB / 387.7 MB, free: 9.332 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000129/0.06974, allocations: 81.11 kB / 387.8 MB, free: 9.234 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002244/0.06997, allocations: 3.984 kB / 387.8 MB, free: 9.23 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003795/0.07035, allocations: 112 kB / 387.9 MB, free: 9.086 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.912e-05/0.07045, allocations: 59.34 kB / 388 MB, free: 9.008 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.267e-06/0.07045, allocations: 0 / 388 MB, free: 9.008 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.407e-05/0.07049, allocations: 12.5 kB / 388 MB, free: 8.996 MB / 362.7 MB Notification: Performance of SimCode: time 4.81e-07/0.07049, allocations: 0 / 388 MB, free: 8.996 MB / 362.7 MB Notification: Performance of Templates: time 0.01084/0.08133, allocations: 2.263 MB / 390.3 MB, free: 6.734 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.95001698192209]