Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_ModelicaTest.Utilities.TestFiles") translateModel(ModelicaTest.Utilities.TestFiles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000866/0.0008661, allocations: 175.2 kB / 16.76 MB, free: 5.051 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.455/1.455, allocations: 205.4 MB / 222.9 MB, free: 8.945 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.0007836/0.0007835, allocations: 86.41 kB / 271.3 MB, free: 8.242 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.4096/0.4096, allocations: 43.56 MB / 363.1 MB, free: 52.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004165/0.0004166, allocations: 8 kB / 432.6 MB, free: 5.223 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1389, allocations: 58.85 MB / 491.5 MB, free: 10.29 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3903/0.5293, allocations: 86.49 MB / 0.5644 GB, free: 15.52 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002546/0.5296, allocations: 63.97 kB / 0.5645 GB, free: 15.45 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0182/0.5478, allocations: 6.487 MB / 0.5708 GB, free: 9 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.5478, allocations: 0 / 0.5708 GB, free: 9 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.5479, allocations: 1.031 kB / 0.5708 GB, free: 9 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.0004514/0.5483, allocations: 410.1 kB / 0.5712 GB, free: 8.543 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.5484, allocations: 8.031 kB / 0.5712 GB, free: 8.535 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.18e-05/0.5484, allocations: 10.97 kB / 0.5712 GB, free: 8.527 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.5485, allocations: 160.4 kB / 0.5714 GB, free: 8.332 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.5486, allocations: 8.375 kB / 0.5714 GB, free: 8.324 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.408e-05/0.5486, allocations: 384 / 0.5714 GB, free: 8.324 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000101/0.5487, allocations: 34.2 kB / 0.5714 GB, free: 8.285 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/0.5487, allocations: 192 / 0.5714 GB, free: 8.285 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.5487, allocations: 3.938 kB / 0.5714 GB, free: 8.281 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.5487, allocations: 0 / 0.5714 GB, free: 8.281 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.164e-05/0.5488, allocations: 10.89 kB / 0.5714 GB, free: 8.273 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001677/0.5489, allocations: 145.7 kB / 0.5716 GB, free: 8.082 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.78e-05/0.549, allocations: 22.61 kB / 0.5716 GB, free: 8.051 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.916e-05/0.549, allocations: 8.797 kB / 0.5716 GB, free: 8.039 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.044e-05/0.549, allocations: 0 / 0.5716 GB, free: 8.039 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.9e-05/0.5491, allocations: 60.25 kB / 0.5716 GB, free: 7.965 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 1.412e-06/0.5491, allocations: 0 / 0.5716 GB, free: 7.965 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002224/0.5493, allocations: 71.41 kB / 0.5717 GB, free: 7.883 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.492e-05/0.5494, allocations: 77.11 kB / 0.5718 GB, free: 7.789 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.526e-05/0.5495, allocations: 101.8 kB / 0.5719 GB, free: 7.68 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.295e-05/0.5495, allocations: 25.7 kB / 0.5719 GB, free: 7.648 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.231e-05/0.5495, allocations: 80.14 kB / 0.572 GB, free: 7.566 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.817e-05/0.5496, allocations: 3.906 kB / 0.572 GB, free: 7.562 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.077e-06/0.5496, allocations: 0 / 0.572 GB, free: 7.562 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.5497, allocations: 315 kB / 0.5723 GB, free: 7.246 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.071e-05/0.5497, allocations: 11.94 kB / 0.5723 GB, free: 7.234 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.59e-06/0.5497, allocations: 0 / 0.5723 GB, free: 7.234 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.535e-05/0.5498, allocations: 64.27 kB / 0.5724 GB, free: 7.156 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.5498, allocations: 0 / 0.5724 GB, free: 7.156 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.457e-05/0.5499, allocations: 63.39 kB / 0.5724 GB, free: 7.082 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.008e-05/0.5499, allocations: 29.7 kB / 0.5725 GB, free: 7.047 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.55, allocations: 3.938 kB / 0.5725 GB, free: 7.043 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.55, allocations: 0 / 0.5725 GB, free: 7.043 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.252e-06/0.55, allocations: 4.094 kB / 0.5725 GB, free: 7.039 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.55, allocations: 4 kB / 0.5725 GB, free: 7.035 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.381e-05/0.55, allocations: 0 / 0.5725 GB, free: 7.035 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.55, allocations: 0 / 0.5725 GB, free: 7.035 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 9.369e-05/0.5501, allocations: 147.5 kB / 0.5726 GB, free: 6.875 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.504e-06/0.5501, allocations: 0 / 0.5726 GB, free: 6.875 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.395e-05/0.5502, allocations: 11.05 kB / 0.5726 GB, free: 6.867 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.5502, allocations: 0 / 0.5726 GB, free: 6.867 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.5502, allocations: 1.031 kB / 0.5726 GB, free: 6.867 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.5502, allocations: 0 / 0.5726 GB, free: 6.867 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001115/0.5503, allocations: 157.7 kB / 0.5728 GB, free: 6.664 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.5503, allocations: 0 / 0.5728 GB, free: 6.664 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.81e-07/0.5503, allocations: 0 / 0.5728 GB, free: 6.664 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.5503, allocations: 0 / 0.5728 GB, free: 6.664 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.5504, allocations: 7.938 kB / 0.5728 GB, free: 6.656 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.5504, allocations: 0 / 0.5728 GB, free: 6.656 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.5504, allocations: 0 / 0.5728 GB, free: 6.656 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001265/0.5505, allocations: 91.08 kB / 0.5729 GB, free: 6.543 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.913e-05/0.5506, allocations: 81.14 kB / 0.5729 GB, free: 6.445 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.694e-05/0.5506, allocations: 7.875 kB / 0.5729 GB, free: 6.438 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.02e-05/0.5506, allocations: 0 / 0.5729 GB, free: 6.438 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.244e-05/0.5506, allocations: 4 kB / 0.573 GB, free: 6.434 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.109e-06/0.5507, allocations: 4 kB / 0.573 GB, free: 6.43 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.057e-05/0.5507, allocations: 83.22 kB / 0.573 GB, free: 6.348 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5507, allocations: 0 / 0.573 GB, free: 6.348 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004349/0.5512, allocations: 107.9 kB / 0.5731 GB, free: 6.242 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.00083/0.552, allocations: 389.1 kB / 0.5735 GB, free: 5.934 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001074/0.5521, allocations: 63.39 kB / 0.5736 GB, free: 5.859 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.5521, allocations: 3.938 kB / 0.5736 GB, free: 5.855 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.416e-05/0.5522, allocations: 59.47 kB / 0.5736 GB, free: 5.785 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000134/0.5523, allocations: 0 / 0.5736 GB, free: 5.785 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002276/0.5525, allocations: 85 kB / 0.5737 GB, free: 5.68 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003024/0.5529, allocations: 0.6731 MB / 0.5744 GB, free: 4.98 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.693e-06/0.5529, allocations: 3.938 kB / 0.5744 GB, free: 4.977 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.159e-05/0.5529, allocations: 7.438 kB / 0.5744 GB, free: 4.969 MB / 394.7 MB Notification: Performance of SimCode: time 3.4e-07/0.5529, allocations: 0 / 0.5744 GB, free: 4.969 MB / 394.7 MB Notification: Performance of Templates: time 0.005245/0.5582, allocations: 1.894 MB / 0.5762 GB, free: 3.074 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.sim & ./ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.Utilities.TestFiles.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches