Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices.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.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices") translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008443/0.0008445, allocations: 176.7 kB / 16.72 MB, free: 5.078 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.215/1.215, allocations: 205.4 MB / 222.9 MB, free: 9.016 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.0006954/0.0006953, allocations: 86.36 kB / 271.2 MB, free: 8.238 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.2747/0.2747, allocations: 43.56 MB / 363.1 MB, free: 52.23 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003166/0.0003167, allocations: 12 kB / 432 MB, free: 5.82 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09485/0.09518, allocations: 58.85 MB / 490.8 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.0005176/0.09574, allocations: 228.3 kB / 491 MB, free: 10.67 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001665/0.09742, allocations: 1.537 MB / 492.6 MB, free: 9.117 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.046e-05/0.09744, allocations: 0 / 492.6 MB, free: 9.117 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.082e-05/0.09746, allocations: 0 / 492.6 MB, free: 9.117 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 6.071e-06/0.09747, allocations: 0 / 492.6 MB, free: 9.117 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00068/0.09816, allocations: 255.5 kB / 492.8 MB, free: 8.867 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 2.457e-05/0.09819, allocations: 4 kB / 492.8 MB, free: 8.863 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.366e-05/0.09823, allocations: 0 / 492.8 MB, free: 8.863 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.171e-05/0.09825, allocations: 0 / 492.8 MB, free: 8.863 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.029e-05/0.09828, allocations: 7.938 kB / 492.8 MB, free: 8.855 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.419e-06/0.09829, allocations: 0 / 492.8 MB, free: 8.855 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005121/0.0988, allocations: 435 kB / 493.3 MB, free: 8.43 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.841e-06/0.09882, allocations: 0 / 493.3 MB, free: 8.43 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.811e-05/0.09885, allocations: 33.7 kB / 493.3 MB, free: 8.391 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000241/0.0991, allocations: 211.6 kB / 493.5 MB, free: 8.184 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.09911, allocations: 0 / 493.5 MB, free: 8.184 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.09912, allocations: 0 / 493.5 MB, free: 8.184 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.436e-06/0.09913, allocations: 0 / 493.5 MB, free: 8.184 MB / 378.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.0002711/0.0994, allocations: 373.2 kB / 493.9 MB, free: 7.766 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.197e-05/0.09944, allocations: 12.03 kB / 493.9 MB, free: 7.754 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.664e-05/0.09947, allocations: 0.9375 kB / 493.9 MB, free: 7.754 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.928e-05/0.09956, allocations: 164.4 kB / 494 MB, free: 7.555 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.09957, allocations: 4.359 kB / 494 MB, free: 7.551 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.282e-06/0.09958, allocations: 384 / 494 MB, free: 7.551 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.382e-05/0.09965, allocations: 41.95 kB / 494.1 MB, free: 7.504 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.16e-06/0.09966, allocations: 0 / 494.1 MB, free: 7.504 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.071e-06/0.09968, allocations: 0 / 494.1 MB, free: 7.504 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.507e-06/0.09968, allocations: 0 / 494.1 MB, free: 7.504 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.489e-05/0.0997, allocations: 4 kB / 494.1 MB, free: 7.5 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001069/0.09981, allocations: 149.7 kB / 494.2 MB, free: 7.305 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.731e-05/0.09985, allocations: 14.58 kB / 494.2 MB, free: 7.281 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.357e-05/0.09987, allocations: 12.95 kB / 494.3 MB, free: 7.266 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.557e-06/0.09988, allocations: 0 / 494.3 MB, free: 7.266 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.725e-05/0.09992, allocations: 68.14 kB / 494.3 MB, free: 7.184 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 7.91e-07/0.09993, allocations: 0 / 494.3 MB, free: 7.184 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001395/0.1001, allocations: 71.38 kB / 494.4 MB, free: 7.102 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/0.1001, allocations: 77.11 kB / 494.5 MB, free: 7.008 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.132e-05/0.1002, allocations: 89.86 kB / 494.6 MB, free: 6.91 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.1002, allocations: 25.7 kB / 494.6 MB, free: 6.879 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.068e-05/0.1002, allocations: 88.27 kB / 494.7 MB, free: 6.789 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.383e-05/0.1002, allocations: 0 / 494.7 MB, free: 6.789 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.813e-06/0.1002, allocations: 3.938 kB / 494.7 MB, free: 6.785 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.73e-05/0.1003, allocations: 310.8 kB / 495 MB, free: 6.473 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.662e-06/0.1003, allocations: 3.938 kB / 495 MB, free: 6.469 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.228e-06/0.1003, allocations: 0 / 495 MB, free: 6.469 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.508e-05/0.1004, allocations: 68.2 kB / 495 MB, free: 6.387 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.1004, allocations: 64 / 495 MB, free: 6.387 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.769e-05/0.1005, allocations: 67.39 kB / 495.1 MB, free: 6.309 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.47e-05/0.1005, allocations: 33.64 kB / 495.1 MB, free: 6.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.1005, allocations: 4 kB / 495.1 MB, free: 6.266 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.386e-06/0.1005, allocations: 0 / 495.1 MB, free: 6.266 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.31e-07/0.1005, allocations: 0 / 495.1 MB, free: 6.266 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.1005, allocations: 0 / 495.1 MB, free: 6.266 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.358e-05/0.1006, allocations: 0 / 495.1 MB, free: 6.266 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.149e-06/0.1006, allocations: 0 / 495.1 MB, free: 6.266 MB / 378.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 7.324e-05/0.1006, allocations: 143.6 kB / 495.3 MB, free: 6.109 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.153e-06/0.1007, allocations: 3.938 kB / 495.3 MB, free: 6.105 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.646e-06/0.1007, allocations: 7.125 kB / 495.3 MB, free: 6.098 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.42e-07/0.1007, allocations: 0 / 495.3 MB, free: 6.098 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.786e-06/0.1007, allocations: 0 / 495.3 MB, free: 6.098 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.1007, allocations: 0 / 495.3 MB, free: 6.098 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.736e-05/0.1008, allocations: 149.7 kB / 495.4 MB, free: 5.902 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.02e-07/0.1008, allocations: 0 / 495.4 MB, free: 5.902 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.563e-06/0.1008, allocations: 3.938 kB / 495.4 MB, free: 5.898 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.1008, allocations: 3.938 kB / 495.5 MB, free: 5.895 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.16e-06/0.1008, allocations: 0 / 495.5 MB, free: 5.895 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.1008, allocations: 4 kB / 495.5 MB, free: 5.891 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1008, allocations: 4 kB / 495.5 MB, free: 5.887 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.184e-05/0.1009, allocations: 86.83 kB / 495.5 MB, free: 5.777 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.121e-05/0.1009, allocations: 77.11 kB / 495.6 MB, free: 5.684 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.12e-05/0.1009, allocations: 7.938 kB / 495.6 MB, free: 5.676 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.296e-06/0.101, allocations: 0 / 495.6 MB, free: 5.676 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.045e-06/0.101, allocations: 0 / 495.6 MB, free: 5.676 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-06/0.101, allocations: 4.031 kB / 495.6 MB, free: 5.672 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.028e-05/0.101, allocations: 75.28 kB / 495.7 MB, free: 5.598 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.101, allocations: 0 / 495.7 MB, free: 5.598 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002839/0.1013, allocations: 67.98 kB / 495.8 MB, free: 5.531 MB / 378.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.0003723/0.1017, allocations: 198.6 kB / 496 MB, free: 5.332 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 7.035e-05/0.1018, allocations: 63.33 kB / 496 MB, free: 5.258 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1018, allocations: 0 / 496 MB, free: 5.258 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.172e-05/0.1018, allocations: 55.41 kB / 496.1 MB, free: 5.191 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001044/0.1019, allocations: 4 kB / 496.1 MB, free: 5.188 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001439/0.1021, allocations: 104.6 kB / 496.2 MB, free: 5.055 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001988/0.1023, allocations: 0.6808 MB / 496.9 MB, free: 4.348 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.636e-06/0.1023, allocations: 7.438 kB / 496.9 MB, free: 4.34 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.1023, allocations: 0 / 496.9 MB, free: 4.34 MB / 378.7 MB Notification: Performance of Templates: time 0.002311/0.1046, allocations: 1.256 MB / 498.1 MB, free: 3.082 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestMatrices/TestMatrices.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches