Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.conf.json 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/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) Running command: translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices") translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001766/0.001766, allocations: 106.4 kB / 16.64 MB, free: 6.816 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002099/0.0021, allocations: 194.5 kB / 17.56 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.381/1.381, allocations: 205.1 MB / 223.4 MB, free: 12.44 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1938/0.1938, allocations: 43.51 MB / 314.3 MB, free: 0.7109 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 72.62 kB / 382.9 MB, free: 56.92 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09056/0.09205, allocations: 57.79 MB / 440.7 MB, free: 7.398 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.00185/0.09395, allocations: 0.5506 MB / 441.2 MB, free: 6.84 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001727/0.0957, allocations: 1.593 MB / 442.8 MB, free: 5.23 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.433e-05/0.09574, allocations: 4 kB / 442.8 MB, free: 5.227 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.164e-05/0.09579, allocations: 0 / 442.8 MB, free: 5.227 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.502e-06/0.0958, allocations: 0 / 442.8 MB, free: 5.227 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007623/0.09657, allocations: 251 kB / 443 MB, free: 4.984 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 4.488e-05/0.09663, allocations: 4 kB / 443 MB, free: 4.98 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.989e-05/0.09667, allocations: 4 kB / 443.1 MB, free: 4.977 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.641e-05/0.09669, allocations: 4 kB / 443.1 MB, free: 4.973 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.95e-05/0.09672, allocations: 0 / 443.1 MB, free: 4.973 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.791e-06/0.09673, allocations: 0 / 443.1 MB, free: 4.973 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004743/0.09721, allocations: 499 kB / 443.5 MB, free: 4.484 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.024e-06/0.09722, allocations: 0 / 443.5 MB, free: 4.484 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.767e-05/0.09725, allocations: 0 / 443.5 MB, free: 4.484 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002083/0.09746, allocations: 207.6 kB / 443.7 MB, free: 4.281 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.09747, allocations: 3.984 kB / 443.7 MB, free: 4.277 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.09748, allocations: 4 kB / 443.8 MB, free: 4.273 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.461e-06/0.09749, allocations: 0 / 443.8 MB, free: 4.273 MB / 318.1 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.000287/0.09778, allocations: 373.3 kB / 444.1 MB, free: 3.855 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.09782, allocations: 11.89 kB / 444.1 MB, free: 3.844 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.097e-05/0.09786, allocations: 4.938 kB / 444.1 MB, free: 3.84 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.985e-05/0.09792, allocations: 168.3 kB / 444.3 MB, free: 3.637 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.09793, allocations: 384 / 444.3 MB, free: 3.637 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.104e-06/0.09794, allocations: 384 / 444.3 MB, free: 3.637 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.063e-05/0.09803, allocations: 42 kB / 444.3 MB, free: 3.59 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.09804, allocations: 0 / 444.3 MB, free: 3.59 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.09806, allocations: 0 / 444.3 MB, free: 3.59 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.09806, allocations: 0 / 444.3 MB, free: 3.59 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.726e-05/0.09809, allocations: 0 / 444.3 MB, free: 3.59 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.77e-05/0.09818, allocations: 150 kB / 444.5 MB, free: 3.395 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.091e-05/0.09822, allocations: 22.52 kB / 444.5 MB, free: 3.363 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.179e-05/0.09823, allocations: 4.859 kB / 444.5 MB, free: 3.355 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.125e-06/0.09825, allocations: 12.08 kB / 444.5 MB, free: 3.344 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/0.09828, allocations: 60.2 kB / 444.6 MB, free: 3.27 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 8.11e-07/0.09829, allocations: 0 / 444.6 MB, free: 3.27 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.000155/0.09845, allocations: 59.41 kB / 444.6 MB, free: 3.199 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.943e-05/0.09849, allocations: 81.11 kB / 444.7 MB, free: 3.102 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.063e-05/0.09851, allocations: 93.86 kB / 444.8 MB, free: 3 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.452e-06/0.09852, allocations: 37.56 kB / 444.9 MB, free: 2.957 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.689e-06/0.09854, allocations: 80.14 kB / 444.9 MB, free: 2.875 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.707e-05/0.09856, allocations: 12.06 kB / 444.9 MB, free: 2.863 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.999e-05/0.09859, allocations: 9.719 kB / 444.9 MB, free: 2.848 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.9e-05/0.09864, allocations: 310.8 kB / 445.3 MB, free: 2.535 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.055e-06/0.09865, allocations: 0 / 445.3 MB, free: 2.535 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.379e-06/0.09866, allocations: 4 kB / 445.3 MB, free: 2.531 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.222e-05/0.0987, allocations: 64.27 kB / 445.3 MB, free: 2.453 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.09871, allocations: 0 / 445.3 MB, free: 2.453 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.681e-05/0.09876, allocations: 67.39 kB / 445.4 MB, free: 2.375 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.09879, allocations: 37.64 kB / 445.4 MB, free: 2.332 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.0988, allocations: 0 / 445.4 MB, free: 2.332 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.09881, allocations: 0 / 445.4 MB, free: 2.332 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.583e-06/0.09882, allocations: 3.938 kB / 445.4 MB, free: 2.328 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.09883, allocations: 0 / 445.4 MB, free: 2.328 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.44e-05/0.09885, allocations: 0 / 445.4 MB, free: 2.328 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.09886, allocations: 4 kB / 445.4 MB, free: 2.324 MB / 318.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: 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.041e-05/0.09891, allocations: 143.5 kB / 445.6 MB, free: 2.168 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.474e-06/0.09893, allocations: 7.969 kB / 445.6 MB, free: 2.16 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.727e-06/0.09894, allocations: 3.125 kB / 445.6 MB, free: 2.156 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-06/0.09895, allocations: 4 kB / 445.6 MB, free: 2.152 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.09896, allocations: 0 / 445.6 MB, free: 2.152 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.09896, allocations: 0 / 445.6 MB, free: 2.152 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.764e-05/0.09901, allocations: 141.7 kB / 445.7 MB, free: 1.965 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.09902, allocations: 4 kB / 445.7 MB, free: 1.961 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.142e-06/0.09903, allocations: 3.984 kB / 445.7 MB, free: 1.957 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.09903, allocations: 3.938 kB / 445.7 MB, free: 1.953 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.701e-06/0.09904, allocations: 4 kB / 445.7 MB, free: 1.949 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/0.09905, allocations: 0 / 445.7 MB, free: 1.949 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.09905, allocations: 4 kB / 445.7 MB, free: 1.945 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.143e-05/0.09912, allocations: 90.83 kB / 445.8 MB, free: 1.832 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.509e-05/0.09914, allocations: 77.11 kB / 445.9 MB, free: 1.738 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.123e-05/0.09916, allocations: 7.875 kB / 445.9 MB, free: 1.73 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.784e-06/0.09917, allocations: 0 / 445.9 MB, free: 1.73 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.1e-05/0.09918, allocations: 0 / 445.9 MB, free: 1.73 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.09919, allocations: 4 kB / 445.9 MB, free: 1.727 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.14e-05/0.09921, allocations: 83.25 kB / 446 MB, free: 1.645 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.09921, allocations: 0 / 446 MB, free: 1.645 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002915/0.09951, allocations: 67.98 kB / 446.1 MB, free: 1.578 MB / 318.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: 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003773/0.09989, allocations: 185.8 kB / 446.2 MB, free: 1.398 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 7.442e-05/0.09998, allocations: 63.39 kB / 446.3 MB, free: 1.324 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.09999, allocations: 0 / 446.3 MB, free: 1.324 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.655e-05/0.1, allocations: 55.41 kB / 446.4 MB, free: 1.258 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001267/0.1001, allocations: 0 / 446.4 MB, free: 1.258 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001588/0.1003, allocations: 110.8 kB / 446.5 MB, free: 1.117 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.139e-05/0.1004, allocations: 0.6767 MB / 447.1 MB, free: 424 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.798e-06/0.1004, allocations: 7.438 kB / 447.2 MB, free: 416 kB / 318.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1004, allocations: 0 / 447.2 MB, free: 416 kB / 318.1 MB Notification: Performance of Templates: time 0.002938/0.1034, allocations: 1.282 MB / 448.4 MB, free: 15.12 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestMatrices/TestMatrices.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches