Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestFiles.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.TestFiles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestFiles") translateModel(ModelicaTest.Utilities.TestFiles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestFiles") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001522/0.001521, allocations: 185.9 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.949/1.949, allocations: 205.4 MB / 222.5 MB, free: 9.137 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001224/0.001225, allocations: 89.03 kB / 270.9 MB, free: 8.391 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.5443/0.5443, allocations: 43.55 MB / 362.7 MB, free: 51.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004983/0.0004984, allocations: 12 kB / 431.4 MB, free: 5.973 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1283, allocations: 58.85 MB / 490.2 MB, free: 11.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4654/0.5937, allocations: 86.46 MB / 0.5631 GB, free: 140 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002429/0.594, allocations: 63.97 kB / 0.5632 GB, free: 76 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02775/0.6218, allocations: 6.28 MB / 0.5693 GB, free: 9.828 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.983e-06/0.6218, allocations: 0 / 0.5693 GB, free: 9.828 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.6219, allocations: 0 / 0.5693 GB, free: 9.828 MB / 394.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.0005615/0.6224, allocations: 418.6 kB / 0.5697 GB, free: 9.367 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.6225, allocations: 8.031 kB / 0.5697 GB, free: 9.359 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.397e-05/0.6225, allocations: 7.422 kB / 0.5698 GB, free: 9.355 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.6227, allocations: 169 kB / 0.5699 GB, free: 9.152 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.6227, allocations: 0 / 0.5699 GB, free: 9.152 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.217e-05/0.6227, allocations: 1.125 kB / 0.5699 GB, free: 9.152 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.956e-05/0.6228, allocations: 29.7 kB / 0.5699 GB, free: 9.117 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.6228, allocations: 3.938 kB / 0.57 GB, free: 9.113 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.6229, allocations: 0 / 0.57 GB, free: 9.113 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.6229, allocations: 5.031 kB / 0.57 GB, free: 9.109 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.994e-05/0.6229, allocations: 0 / 0.57 GB, free: 9.109 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001579/0.6231, allocations: 161.6 kB / 0.5701 GB, free: 8.902 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.508e-05/0.6231, allocations: 18.52 kB / 0.5701 GB, free: 8.875 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.566e-06/0.6231, allocations: 96 / 0.5701 GB, free: 8.875 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.675e-05/0.6232, allocations: 60.27 kB / 0.5702 GB, free: 8.801 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 1.442e-06/0.6232, allocations: 0 / 0.5702 GB, free: 8.801 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002015/0.6234, allocations: 67.39 kB / 0.5702 GB, free: 8.723 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.1e-05/0.6235, allocations: 84.02 kB / 0.5703 GB, free: 8.625 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.648e-05/0.6236, allocations: 89 kB / 0.5704 GB, free: 8.531 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.6236, allocations: 25.7 kB / 0.5704 GB, free: 8.5 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.411e-05/0.6237, allocations: 150.6 kB / 0.5706 GB, free: 8.352 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.824e-05/0.6237, allocations: 0 / 0.5706 GB, free: 8.352 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.795e-06/0.6237, allocations: 3.938 kB / 0.5706 GB, free: 8.348 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.6238, allocations: 319.1 kB / 0.5709 GB, free: 8.027 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.616e-05/0.6239, allocations: 3.984 kB / 0.5709 GB, free: 8.023 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.024e-05/0.6239, allocations: 0 / 0.5709 GB, free: 8.023 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.195e-05/0.6239, allocations: 37.66 kB / 0.5709 GB, free: 7.98 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.6239, allocations: 0 / 0.5709 GB, free: 7.98 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.26e-05/0.624, allocations: 59.41 kB / 0.571 GB, free: 7.91 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.586e-05/0.6241, allocations: 29.7 kB / 0.571 GB, free: 7.875 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.6241, allocations: 0 / 0.571 GB, free: 7.875 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.6241, allocations: 3.984 kB / 0.571 GB, free: 7.871 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.354e-06/0.6241, allocations: 4.094 kB / 0.571 GB, free: 7.867 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.6242, allocations: 0 / 0.571 GB, free: 7.867 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.33e-05/0.6242, allocations: 4 kB / 0.571 GB, free: 7.863 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-06/0.6242, allocations: 0 / 0.571 GB, free: 7.863 MB / 394.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.0001098/0.6243, allocations: 139.5 kB / 0.5712 GB, free: 7.711 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.496e-05/0.6244, allocations: 7.906 kB / 0.5712 GB, free: 7.703 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.785e-05/0.6244, allocations: 3.125 kB / 0.5712 GB, free: 7.703 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-06/0.6244, allocations: 3.938 kB / 0.5712 GB, free: 7.699 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.309e-06/0.6244, allocations: 0 / 0.5712 GB, free: 7.699 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.6244, allocations: 4 kB / 0.5712 GB, free: 7.695 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001175/0.6245, allocations: 153.7 kB / 0.5713 GB, free: 7.496 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.6246, allocations: 7.891 kB / 0.5713 GB, free: 7.488 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.52e-07/0.6246, allocations: 0 / 0.5713 GB, free: 7.488 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.6246, allocations: 0 / 0.5713 GB, free: 7.488 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.737e-06/0.6246, allocations: 0 / 0.5713 GB, free: 7.488 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.6246, allocations: 4 kB / 0.5713 GB, free: 7.484 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.6246, allocations: 1.031 kB / 0.5713 GB, free: 7.484 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001543/0.6248, allocations: 98.81 kB / 0.5714 GB, free: 7.363 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.208e-05/0.6248, allocations: 85.06 kB / 0.5715 GB, free: 7.262 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.632e-05/0.6249, allocations: 0 / 0.5715 GB, free: 7.262 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.259e-05/0.6249, allocations: 0 / 0.5715 GB, free: 7.262 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.158e-05/0.6249, allocations: 3.984 kB / 0.5715 GB, free: 7.258 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-06/0.6249, allocations: 0 / 0.5715 GB, free: 7.258 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.646e-05/0.625, allocations: 79.28 kB / 0.5716 GB, free: 7.18 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.625, allocations: 0 / 0.5716 GB, free: 7.18 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004873/0.6255, allocations: 79.92 kB / 0.5717 GB, free: 7.102 MB / 394.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.0009089/0.6264, allocations: 337.6 kB / 0.572 GB, free: 6.836 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000134/0.6266, allocations: 59.66 kB / 0.572 GB, free: 6.766 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.6266, allocations: 4.062 kB / 0.5721 GB, free: 6.762 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.035e-05/0.6266, allocations: 55.41 kB / 0.5721 GB, free: 6.695 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001241/0.6268, allocations: 4 kB / 0.5721 GB, free: 6.691 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000236/0.627, allocations: 108.8 kB / 0.5722 GB, free: 6.559 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002411/0.6273, allocations: 0.677 MB / 0.5729 GB, free: 5.855 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.65e-05/0.6273, allocations: 11.44 kB / 0.5729 GB, free: 5.848 MB / 394.7 MB Notification: Performance of SimCode: time 6.02e-07/0.6273, allocations: 0 / 0.5729 GB, free: 5.848 MB / 394.7 MB Notification: Performance of Templates: time 0.005345/0.6327, allocations: 1.799 MB / 0.5746 GB, free: 4.051 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestFiles.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestFiles.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestFiles.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestFiles.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestFiles.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestFiles --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestFiles.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestFiles_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestFiles/TestFiles.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestFiles.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches