Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Utilities.TestFiles.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Utilities.TestFiles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Utilities.TestFiles") translateModel(ModelicaTest.Utilities.TestFiles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Utilities.TestFiles") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009018/0.0009018, allocations: 176.6 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.248/1.248, allocations: 223.2 MB / 241 MB, free: 10.11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008437/0.0008437, allocations: 95.52 kB / 292.2 MB, free: 10.7 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3869/0.3869, allocations: 44.21 MB / 387.5 MB, free: 38.51 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000313/0.0003131, allocations: 11.98 kB / 459.9 MB, free: 1.52 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.35/0.3503, allocations: 61.89 MB / 0.5095 GB, free: 37.73 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1158/0.4661, allocations: 87.67 MB / 0.5952 GB, free: 7.477 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001606/0.4663, allocations: 67.95 kB / 0.5952 GB, free: 7.41 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01611/0.4825, allocations: 6.304 MB / 0.6014 GB, free: 1.102 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4825, allocations: 0 / 0.6014 GB, free: 1.102 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.034e-06/0.4825, allocations: 0 / 0.6014 GB, free: 1.102 MB / 410.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.0004417/0.483, allocations: 416.9 kB / 0.6018 GB, free: 0.6406 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.483, allocations: 12.03 kB / 0.6018 GB, free: 0.6289 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.224e-05/0.4831, allocations: 0 / 0.6018 GB, free: 0.6289 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/0.4832, allocations: 167 kB / 0.6019 GB, free: 436 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.4832, allocations: 0 / 0.6019 GB, free: 436 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.518e-06/0.4832, allocations: 7.953 kB / 0.602 GB, free: 428 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.024e-05/0.4833, allocations: 29.69 kB / 0.602 GB, free: 392 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.4833, allocations: 0 / 0.602 GB, free: 392 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.4834, allocations: 4 kB / 0.602 GB, free: 388 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.4834, allocations: 0 / 0.602 GB, free: 388 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.437e-05/0.4834, allocations: 4 kB / 0.602 GB, free: 384 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001234/0.4835, allocations: 145.7 kB / 0.6021 GB, free: 188 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.887e-05/0.4836, allocations: 22.55 kB / 0.6022 GB, free: 156 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.323e-06/0.4836, allocations: 0 / 0.6022 GB, free: 156 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.935e-05/0.4836, allocations: 64.2 kB / 0.6022 GB, free: 76 kB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 8.01e-07/0.4836, allocations: 0 / 0.6022 GB, free: 76 kB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001819/0.4838, allocations: 71.61 kB / 0.6023 GB, free: 15.99 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.236e-05/0.4839, allocations: 81.05 kB / 0.6024 GB, free: 15.89 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.507e-05/0.4839, allocations: 88.94 kB / 0.6024 GB, free: 15.8 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.4839, allocations: 29.7 kB / 0.6025 GB, free: 15.77 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.19e-05/0.484, allocations: 80.14 kB / 0.6025 GB, free: 15.68 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.756e-05/0.484, allocations: 0 / 0.6025 GB, free: 15.68 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.164e-06/0.484, allocations: 0 / 0.6025 GB, free: 15.68 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.4841, allocations: 314.8 kB / 0.6028 GB, free: 15.37 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.427e-06/0.4841, allocations: 8.094 kB / 0.6029 GB, free: 15.36 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.228e-06/0.4842, allocations: 4 kB / 0.6029 GB, free: 15.36 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.582e-05/0.4842, allocations: 25.7 kB / 0.6029 GB, free: 15.32 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.4842, allocations: 0 / 0.6029 GB, free: 15.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.194e-05/0.4843, allocations: 63.39 kB / 0.6029 GB, free: 15.25 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.988e-05/0.4843, allocations: 33.7 kB / 0.603 GB, free: 15.21 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.4843, allocations: 3.953 kB / 0.603 GB, free: 15.21 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.4843, allocations: 0 / 0.603 GB, free: 15.21 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.405e-06/0.4843, allocations: 4 kB / 0.603 GB, free: 15.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.4844, allocations: 96 / 0.603 GB, free: 15.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.165e-05/0.4844, allocations: 7.938 kB / 0.603 GB, free: 15.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.4844, allocations: 0 / 0.603 GB, free: 15.2 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 8.196e-05/0.4845, allocations: 140.1 kB / 0.6031 GB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.416e-06/0.4845, allocations: 3.906 kB / 0.6031 GB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.806e-05/0.4845, allocations: 14.7 kB / 0.6031 GB, free: 15.03 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.4845, allocations: 3.953 kB / 0.6031 GB, free: 15.02 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.4845, allocations: 0 / 0.6031 GB, free: 15.02 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.4845, allocations: 3.938 kB / 0.6032 GB, free: 15.02 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.758e-05/0.4846, allocations: 145.7 kB / 0.6033 GB, free: 14.83 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.4846, allocations: 3.984 kB / 0.6033 GB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-07/0.4846, allocations: 4 kB / 0.6033 GB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.4847, allocations: 0 / 0.6033 GB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.771e-06/0.4847, allocations: 0 / 0.6033 GB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.42e-07/0.4847, allocations: 0 / 0.6033 GB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.4847, allocations: 3.953 kB / 0.6033 GB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.565e-05/0.4848, allocations: 86.84 kB / 0.6034 GB, free: 14.71 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.313e-05/0.4848, allocations: 85.12 kB / 0.6035 GB, free: 14.61 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.531e-05/0.4848, allocations: 4 kB / 0.6035 GB, free: 14.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.215e-06/0.4848, allocations: 0 / 0.6035 GB, free: 14.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.684e-05/0.4849, allocations: 3.953 kB / 0.6035 GB, free: 14.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-06/0.4849, allocations: 0 / 0.6035 GB, free: 14.6 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.472e-05/0.4849, allocations: 83.28 kB / 0.6036 GB, free: 14.52 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4849, allocations: 0 / 0.6036 GB, free: 14.52 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003215/0.4852, allocations: 79.84 kB / 0.6036 GB, free: 14.44 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.0006786/0.4859, allocations: 365.8 kB / 0.604 GB, free: 14.15 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 9.35e-05/0.486, allocations: 59.41 kB / 0.604 GB, free: 14.08 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.486, allocations: 0 / 0.604 GB, free: 14.08 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.214e-05/0.4861, allocations: 55.39 kB / 0.6041 GB, free: 14.02 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.546e-05/0.4862, allocations: 4 kB / 0.6041 GB, free: 14.01 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001792/0.4864, allocations: 82.89 kB / 0.6042 GB, free: 13.9 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002197/0.4866, allocations: 0.6809 MB / 0.6048 GB, free: 13.2 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.4e-06/0.4866, allocations: 0 / 0.6048 GB, free: 13.2 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.638e-06/0.4866, allocations: 7.438 kB / 0.6048 GB, free: 13.19 MB / 426.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4866, allocations: 0 / 0.6048 GB, free: 13.19 MB / 426.7 MB Notification: Performance of Templates: time 0.003901/0.4905, allocations: 1.565 MB / 0.6064 GB, free: 11.63 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Utilities.TestFiles.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Utilities.TestFiles.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Utilities.TestFiles.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Utilities.TestFiles.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Utilities.TestFiles.sim & ./ModelicaTest_4.0.0_ModelicaTest.Utilities.TestFiles -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Utilities.TestFiles.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Utilities.TestFiles.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches