Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Utilities.TestReadFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile") translateModel(ModelicaTest.Utilities.TestReadFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001012/0.001012, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.522/1.522, allocations: 205.3 MB / 213.7 MB, free: 1.676 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008851/0.0008851, allocations: 90.61 kB / 261.7 MB, free: 1.617 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2062/0.2062, allocations: 43.5 MB / 353.2 MB, free: 276 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.479e-05/1.495e-05, allocations: 4 kB / 418.2 MB, free: 28.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1161, allocations: 58.85 MB / 477.1 MB, free: 1.645 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3612/0.4774, allocations: 83.8 MB / 0.5478 GB, free: 8.953 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001833/0.4776, allocations: 64.62 kB / 0.5478 GB, free: 8.953 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003514/0.4812, allocations: 1.615 MB / 0.5494 GB, free: 8.605 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4812, allocations: 0 / 0.5494 GB, free: 8.605 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.121e-06/0.4812, allocations: 4 kB / 0.5494 GB, free: 8.602 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.0002189/0.4814, allocations: 352.2 kB / 0.5497 GB, free: 8.227 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.4815, allocations: 11.28 kB / 0.5497 GB, free: 8.227 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.886e-05/0.4815, allocations: 3.625 kB / 0.5497 GB, free: 8.227 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.128e-05/0.4816, allocations: 163 kB / 0.5499 GB, free: 8.027 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.4816, allocations: 0 / 0.5499 GB, free: 8.027 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.612e-06/0.4816, allocations: 0 / 0.5499 GB, free: 8.027 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.724e-05/0.4817, allocations: 3.781 kB / 0.5499 GB, free: 8.027 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.572e-05/0.4817, allocations: 32.31 kB / 0.5499 GB, free: 7.992 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.4817, allocations: 4 kB / 0.5499 GB, free: 7.988 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-06/0.4817, allocations: 0.875 kB / 0.5499 GB, free: 7.988 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.4818, allocations: 3.875 kB / 0.5499 GB, free: 7.988 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.628e-05/0.4818, allocations: 129.1 kB / 0.5501 GB, free: 7.828 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.753e-05/0.4819, allocations: 14.58 kB / 0.5501 GB, free: 7.805 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.126e-05/0.4819, allocations: 8.703 kB / 0.5501 GB, free: 7.797 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.596e-05/0.4819, allocations: 3.938 kB / 0.5501 GB, free: 7.797 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/0.482, allocations: 60.27 kB / 0.5502 GB, free: 7.723 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.482, allocations: 0.75 kB / 0.5502 GB, free: 7.723 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.000153/0.4821, allocations: 40.05 kB / 0.5502 GB, free: 7.688 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.566e-05/0.4821, allocations: 77.11 kB / 0.5503 GB, free: 7.594 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.303e-05/0.4822, allocations: 85 kB / 0.5503 GB, free: 7.504 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.74e-06/0.4822, allocations: 25.7 kB / 0.5504 GB, free: 7.473 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.355e-05/0.4822, allocations: 83.98 kB / 0.5505 GB, free: 7.391 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.599e-05/0.4823, allocations: 7.406 kB / 0.5505 GB, free: 7.387 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.254e-06/0.4823, allocations: 0 / 0.5505 GB, free: 7.387 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.054e-05/0.4823, allocations: 319.9 kB / 0.5508 GB, free: 7.07 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.432e-06/0.4823, allocations: 0 / 0.5508 GB, free: 7.07 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.319e-06/0.4823, allocations: 0 / 0.5508 GB, free: 7.07 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.524e-05/0.4824, allocations: 3.812 kB / 0.5508 GB, free: 7.07 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.4824, allocations: 3.938 kB / 0.5508 GB, free: 7.066 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.798e-05/0.4824, allocations: 40.2 kB / 0.5508 GB, free: 7.031 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/0.4825, allocations: 29.61 kB / 0.5508 GB, free: 7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.4825, allocations: 4 kB / 0.5508 GB, free: 6.996 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.4825, allocations: 7.828 kB / 0.5508 GB, free: 6.992 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.256e-06/0.4825, allocations: 4 kB / 0.5509 GB, free: 6.988 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.4825, allocations: 3.938 kB / 0.5509 GB, free: 6.984 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.343e-05/0.4825, allocations: 2.766 kB / 0.5509 GB, free: 6.984 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.974e-06/0.4825, allocations: 0 / 0.5509 GB, free: 6.984 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 () * 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 5.613e-05/0.4826, allocations: 134.3 kB / 0.551 GB, free: 6.848 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.915e-06/0.4826, allocations: 3.953 kB / 0.551 GB, free: 6.844 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.332e-05/0.4826, allocations: 3.75 kB / 0.551 GB, free: 6.84 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.4826, allocations: 4 kB / 0.551 GB, free: 6.836 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.4827, allocations: 0 / 0.551 GB, free: 6.836 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.4827, allocations: 0 / 0.551 GB, free: 6.836 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.555e-05/0.4827, allocations: 129 kB / 0.5511 GB, free: 6.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.4827, allocations: 0 / 0.5511 GB, free: 6.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.4827, allocations: 0 / 0.5511 GB, free: 6.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.4827, allocations: 0 / 0.5511 GB, free: 6.68 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-06/0.4827, allocations: 0 / 0.5511 GB, free: 6.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.4828, allocations: 10.73 kB / 0.5511 GB, free: 6.676 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.4828, allocations: 0 / 0.5511 GB, free: 6.676 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.432e-05/0.4828, allocations: 62.75 kB / 0.5512 GB, free: 6.609 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.648e-05/0.4829, allocations: 80.55 kB / 0.5513 GB, free: 6.516 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.23e-05/0.4829, allocations: 0 / 0.5513 GB, free: 6.516 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.506e-06/0.4829, allocations: 0 / 0.5513 GB, free: 6.516 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.826e-05/0.4829, allocations: 7.891 kB / 0.5513 GB, free: 6.508 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.047e-06/0.4829, allocations: 3.5 kB / 0.5513 GB, free: 6.508 MB / 362.7 MB Notification: Performance of sorting global known variables: time 1.478e-05/0.4829, allocations: 77.91 kB / 0.5514 GB, free: 6.434 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.483, allocations: 4.125 kB / 0.5514 GB, free: 6.43 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002353/0.4832, allocations: 22.53 kB / 0.5514 GB, free: 6.426 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) * 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.0003449/0.4835, allocations: 189.5 kB / 0.5516 GB, free: 6.289 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 6.759e-05/0.4836, allocations: 55.25 kB / 0.5516 GB, free: 6.227 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.4836, allocations: 0 / 0.5516 GB, free: 6.227 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.742e-05/0.4837, allocations: 57.72 kB / 0.5517 GB, free: 6.164 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.311e-05/0.4838, allocations: 0 / 0.5517 GB, free: 6.164 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001344/0.4839, allocations: 47.27 kB / 0.5517 GB, free: 6.105 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.549e-05/0.484, allocations: 0.6798 MB / 0.5524 GB, free: 5.406 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.939e-06/0.484, allocations: 4 kB / 0.5524 GB, free: 5.402 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.917e-06/0.484, allocations: 11.38 kB / 0.5524 GB, free: 5.395 MB / 362.7 MB Notification: Performance of SimCode: time 2.7e-07/0.484, allocations: 3.938 kB / 0.5524 GB, free: 5.391 MB / 362.7 MB Notification: Performance of Templates: time 0.002397/0.4864, allocations: 0.6082 MB / 0.553 GB, free: 5.203 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.sim & ./ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestReadFile/TestReadFile.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches