Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Utilities.TestFiles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles") translateModel(ModelicaTest.Utilities.TestFiles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001129/0.001129, allocations: 197.5 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.214/1.214, allocations: 227.2 MB / 245 MB, free: 5.758 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008277/0.0008278, allocations: 99.27 kB / 297.3 MB, free: 5.953 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3276/0.3276, allocations: 45.23 MB / 394.7 MB, free: 31.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002855/0.0002857, allocations: 8 kB / 468.4 MB, free: 7.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3125/0.3128, allocations: 63.24 MB / 0.5192 GB, free: 37.41 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.113/0.4258, allocations: 88.7 MB / 0.6058 GB, free: 14.77 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000207/0.4261, allocations: 67.97 kB / 0.6059 GB, free: 14.7 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02246/0.4486, allocations: 6.302 MB / 0.612 GB, free: 8.398 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.4486, allocations: 0 / 0.612 GB, free: 8.398 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.63e-06/0.4486, allocations: 0 / 0.612 GB, free: 8.398 MB / 426.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.0005241/0.4492, allocations: 409 kB / 0.6124 GB, free: 7.945 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.4492, allocations: 12.03 kB / 0.6124 GB, free: 7.934 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.769e-05/0.4493, allocations: 0 / 0.6124 GB, free: 7.934 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/0.4494, allocations: 171 kB / 0.6126 GB, free: 7.727 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.4495, allocations: 3.938 kB / 0.6126 GB, free: 7.723 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.336e-05/0.4495, allocations: 0 / 0.6126 GB, free: 7.723 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001017/0.4496, allocations: 29.7 kB / 0.6126 GB, free: 7.688 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.4496, allocations: 0 / 0.6126 GB, free: 7.688 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.4496, allocations: 0 / 0.6126 GB, free: 7.688 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.4496, allocations: 0 / 0.6126 GB, free: 7.688 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.074e-05/0.4497, allocations: 0 / 0.6126 GB, free: 7.688 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001838/0.4499, allocations: 161.6 kB / 0.6128 GB, free: 7.48 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.864e-05/0.4499, allocations: 18.52 kB / 0.6128 GB, free: 7.453 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.027e-06/0.4499, allocations: 0 / 0.6128 GB, free: 7.453 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.706e-05/0.45, allocations: 60.36 kB / 0.6128 GB, free: 7.379 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 1.313e-06/0.45, allocations: 3.938 kB / 0.6128 GB, free: 7.375 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001958/0.4502, allocations: 67.39 kB / 0.6129 GB, free: 7.297 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.966e-05/0.4503, allocations: 81.23 kB / 0.613 GB, free: 7.199 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.973e-05/0.4504, allocations: 89 kB / 0.6131 GB, free: 7.105 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.4504, allocations: 25.7 kB / 0.6131 GB, free: 7.074 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.9e-05/0.4505, allocations: 84.14 kB / 0.6132 GB, free: 6.988 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.511e-05/0.4505, allocations: 0 / 0.6132 GB, free: 6.988 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.934e-06/0.4505, allocations: 0 / 0.6132 GB, free: 6.988 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.4506, allocations: 310.8 kB / 0.6135 GB, free: 6.676 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.131e-05/0.4507, allocations: 11.92 kB / 0.6135 GB, free: 6.664 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.893e-06/0.4507, allocations: 4.125 kB / 0.6135 GB, free: 6.66 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.108e-05/0.4507, allocations: 33.66 kB / 0.6135 GB, free: 6.621 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.4507, allocations: 0 / 0.6135 GB, free: 6.621 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.892e-05/0.4508, allocations: 63.31 kB / 0.6136 GB, free: 6.547 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.653e-05/0.4509, allocations: 33.7 kB / 0.6136 GB, free: 6.508 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.4509, allocations: 0 / 0.6136 GB, free: 6.508 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.4509, allocations: 0 / 0.6136 GB, free: 6.508 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.895e-06/0.4509, allocations: 7.922 kB / 0.6136 GB, free: 6.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.4509, allocations: 0 / 0.6136 GB, free: 6.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.932e-05/0.451, allocations: 8.094 kB / 0.6136 GB, free: 6.492 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.603e-06/0.451, allocations: 0 / 0.6136 GB, free: 6.492 MB / 426.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00017/0.4512, allocations: 135.5 kB / 0.6138 GB, free: 6.344 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.652e-05/0.4512, allocations: 7.984 kB / 0.6138 GB, free: 6.336 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.349e-05/0.4512, allocations: 6.719 kB / 0.6138 GB, free: 6.332 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.4512, allocations: 0 / 0.6138 GB, free: 6.332 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.4512, allocations: 4 kB / 0.6138 GB, free: 6.328 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.4512, allocations: 0 / 0.6138 GB, free: 6.328 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001012/0.4513, allocations: 157.6 kB / 0.6139 GB, free: 6.125 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.4514, allocations: 7.953 kB / 0.6139 GB, free: 6.117 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.12e-07/0.4514, allocations: 0 / 0.6139 GB, free: 6.117 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.4514, allocations: 0 / 0.6139 GB, free: 6.117 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/0.4514, allocations: 4 kB / 0.6139 GB, free: 6.113 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.4514, allocations: 0 / 0.6139 GB, free: 6.113 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.4514, allocations: 0 / 0.6139 GB, free: 6.113 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001115/0.4515, allocations: 90.83 kB / 0.614 GB, free: 6 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.318e-05/0.4516, allocations: 85.06 kB / 0.6141 GB, free: 5.898 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.495e-05/0.4516, allocations: 4.031 kB / 0.6141 GB, free: 5.895 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.263e-05/0.4516, allocations: 0 / 0.6141 GB, free: 5.895 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.954e-05/0.4516, allocations: 3.984 kB / 0.6141 GB, free: 5.891 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.984e-06/0.4516, allocations: 4 kB / 0.6141 GB, free: 5.887 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.072e-05/0.4517, allocations: 75.28 kB / 0.6142 GB, free: 5.812 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4517, allocations: 0 / 0.6142 GB, free: 5.812 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004556/0.4521, allocations: 79.86 kB / 0.6143 GB, free: 5.734 MB / 426.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006966/0.4529, allocations: 354.6 kB / 0.6146 GB, free: 5.438 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 8.711e-05/0.4529, allocations: 59.41 kB / 0.6147 GB, free: 5.367 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.453, allocations: 0 / 0.6147 GB, free: 5.367 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.446e-05/0.453, allocations: 59.41 kB / 0.6147 GB, free: 5.297 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.761e-05/0.4531, allocations: 0 / 0.6147 GB, free: 5.297 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001691/0.4533, allocations: 78.75 kB / 0.6148 GB, free: 5.191 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002381/0.4535, allocations: 0.6811 MB / 0.6155 GB, free: 4.484 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.13e-06/0.4535, allocations: 0 / 0.6155 GB, free: 4.484 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.06e-05/0.4536, allocations: 7.438 kB / 0.6155 GB, free: 4.477 MB / 426.7 MB Notification: Performance of SimCode: time 3.71e-07/0.4536, allocations: 0 / 0.6155 GB, free: 4.477 MB / 426.7 MB Notification: Performance of Templates: time 0.004303/0.4579, allocations: 1.564 MB / 0.617 GB, free: 2.914 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.sim & ./ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Utilities/TestFiles/TestFiles.csv","../files/ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches