Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.ConversionBlocks.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.Blocks.ConversionBlocks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ydegC|ydegF|ydegRk|ydeg|yrpm|ykmh|yday|yhour|yminute|ylitre|ykWh|ybar|ygps",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.ConversionBlocks") translateModel(ModelicaTest.Blocks.ConversionBlocks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ydegC|ydegF|ydegRk|ydeg|yrpm|ykmh|yday|yhour|yminute|ylitre|ykWh|ybar|ygps",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.ConversionBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002262/0.002268, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.044/2.044, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001114/0.001113, allocations: 91.62 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2862/0.2862, allocations: 43.49 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.173e-05/2.176e-05, allocations: 4.219 kB / 418.2 MB, free: 41.05 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4243/0.4244, allocations: 58.85 MB / 477.1 MB, free: 5.262 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2115/0.636, allocations: 88.41 MB / 0.5522 GB, free: 10.89 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003217/0.6363, allocations: 63.97 kB / 0.5523 GB, free: 10.83 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.03477/0.6711, allocations: 6.037 MB / 0.5582 GB, free: 4.684 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.6712, allocations: 0 / 0.5582 GB, free: 4.684 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.342e-05/0.6712, allocations: 4 kB / 0.5582 GB, free: 4.68 MB / 395.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0007265/0.672, allocations: 482.4 kB / 0.5587 GB, free: 4.164 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.672, allocations: 8.031 kB / 0.5587 GB, free: 4.156 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001115/0.6731, allocations: 67.67 kB / 0.5587 GB, free: 4.09 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000189/0.6734, allocations: 194.7 kB / 0.5589 GB, free: 3.859 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.639e-05/0.6734, allocations: 8 kB / 0.5589 GB, free: 3.852 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.554e-05/0.6735, allocations: 12 kB / 0.5589 GB, free: 3.84 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004098/0.6739, allocations: 117.1 kB / 0.559 GB, free: 3.723 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004002/0.6743, allocations: 147.8 kB / 0.5592 GB, free: 3.57 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.6743, allocations: 0 / 0.5592 GB, free: 3.57 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.289e-05/0.6743, allocations: 0 / 0.5592 GB, free: 3.57 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.289e-05/0.6744, allocations: 8 kB / 0.5592 GB, free: 3.562 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001231/0.6756, allocations: 0.5415 MB / 0.5597 GB, free: 2.98 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007812/0.6764, allocations: 206 kB / 0.5599 GB, free: 2.773 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000143/0.6766, allocations: 61.25 kB / 0.56 GB, free: 2.711 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.347e-05/0.6766, allocations: 240 / 0.56 GB, free: 2.711 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.763e-05/0.6767, allocations: 46.78 kB / 0.56 GB, free: 2.656 MB / 395.1 MB Notification: Performance of pre-optimization done (n=27): time 2.104e-06/0.6767, allocations: 0 / 0.56 GB, free: 2.656 MB / 395.1 MB Notification: Performance of matching and sorting (n=27): time 0.0004101/0.6771, allocations: 140 kB / 0.5602 GB, free: 2.516 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.677e-05/0.6772, allocations: 55.41 kB / 0.5602 GB, free: 2.449 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.638e-05/0.6772, allocations: 93 kB / 0.5603 GB, free: 2.352 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.425e-05/0.6773, allocations: 25.7 kB / 0.5603 GB, free: 2.32 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/0.6774, allocations: 202.8 kB / 0.5605 GB, free: 2.121 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001015/0.6775, allocations: 82.66 kB / 0.5606 GB, free: 2.039 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.654e-05/0.6776, allocations: 3.938 kB / 0.5606 GB, free: 2.035 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.6777, allocations: 329.8 kB / 0.5609 GB, free: 1.707 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.434e-05/0.6778, allocations: 32 kB / 0.5609 GB, free: 1.676 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001046/0.678, allocations: 32 kB / 0.561 GB, free: 1.645 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001279/0.6781, allocations: 39.91 kB / 0.561 GB, free: 1.605 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.6781, allocations: 0 / 0.561 GB, free: 1.605 MB / 395.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000323/0.6784, allocations: 138.2 kB / 0.5611 GB, free: 1.465 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.49e-05/0.6785, allocations: 11.98 kB / 0.5612 GB, free: 1.453 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.6785, allocations: 0 / 0.5612 GB, free: 1.453 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.6785, allocations: 0 / 0.5612 GB, free: 1.453 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007246/0.6793, allocations: 99.89 kB / 0.5612 GB, free: 1.355 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/0.6793, allocations: 4 kB / 0.5613 GB, free: 1.352 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001168/0.6794, allocations: 15.83 kB / 0.5613 GB, free: 1.336 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.12e-05/0.6794, allocations: 8 kB / 0.5613 GB, free: 1.328 MB / 395.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * 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.0001002/0.6795, allocations: 101 kB / 0.5614 GB, free: 1.223 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.104e-05/0.6796, allocations: 19.77 kB / 0.5614 GB, free: 1.203 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.743e-05/0.6797, allocations: 21.75 kB / 0.5614 GB, free: 1.184 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.6797, allocations: 0 / 0.5614 GB, free: 1.184 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.6797, allocations: 0 / 0.5614 GB, free: 1.184 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.6797, allocations: 4 kB / 0.5614 GB, free: 1.18 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003735/0.6801, allocations: 221.9 kB / 0.5616 GB, free: 0.9258 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.6801, allocations: 3.984 kB / 0.5616 GB, free: 0.9219 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006883/0.6808, allocations: 99.95 kB / 0.5617 GB, free: 0.8242 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.294e-06/0.6809, allocations: 0 / 0.5617 GB, free: 0.8242 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.718e-05/0.6809, allocations: 256 / 0.5617 GB, free: 0.8242 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.399e-05/0.6809, allocations: 7.953 kB / 0.5617 GB, free: 0.8164 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/0.6809, allocations: 4 kB / 0.5617 GB, free: 0.8125 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004072/0.6813, allocations: 243.6 kB / 0.562 GB, free: 0.5586 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.605e-05/0.6814, allocations: 93.48 kB / 0.5621 GB, free: 460 kB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.479e-05/0.6815, allocations: 0 / 0.5621 GB, free: 460 kB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001716/0.6816, allocations: 8 kB / 0.5621 GB, free: 452 kB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.116e-05/0.6817, allocations: 15.94 kB / 0.5621 GB, free: 436 kB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.268e-05/0.6817, allocations: 11.98 kB / 0.5621 GB, free: 424 kB / 395.1 MB Notification: Performance of sorting global known variables: time 5.36e-05/0.6818, allocations: 83.22 kB / 0.5622 GB, free: 340 kB / 395.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6818, allocations: 0 / 0.5622 GB, free: 340 kB / 395.1 MB Notification: Performance of remove unused functions: time 0.0004047/0.6822, allocations: 39.75 kB / 0.5622 GB, free: 300 kB / 395.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * 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.0001339/0.6824, allocations: 95.19 kB / 0.5623 GB, free: 196 kB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0003012/0.6827, allocations: 107.9 kB / 0.5624 GB, free: 88 kB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.6827, allocations: 0 / 0.5624 GB, free: 88 kB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001427/0.6829, allocations: 71.92 kB / 0.5625 GB, free: 16 kB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000199/0.6831, allocations: 3.938 kB / 0.5625 GB, free: 12 kB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006835/0.6838, allocations: 246.5 kB / 0.5627 GB, free: 15.74 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003655/0.6842, allocations: 0.736 MB / 0.5634 GB, free: 14.98 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.437e-05/0.6843, allocations: 19.44 kB / 0.5634 GB, free: 14.96 MB / 411.1 MB Notification: Performance of SimCode: time 8.22e-07/0.6843, allocations: 0 / 0.5634 GB, free: 14.96 MB / 411.1 MB Notification: Performance of Templates: time 0.004911/0.6892, allocations: 1.686 MB / 0.5651 GB, free: 13.27 MB / 411.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.ConversionBlocks.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.ConversionBlocks.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.ConversionBlocks --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.ConversionBlocks_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/ConversionBlocks/ConversionBlocks.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.ConversionBlocks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches