Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007388/0.0007388, allocations: 84.44 kB / 20.69 MB, free: 3.871 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007938/0.0007938, allocations: 173.9 kB / 23.96 MB, free: 0.5977 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.7914/0.7914, allocations: 158.6 MB / 185.7 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1206/0.1206, allocations: 32.37 MB / 270.4 MB, free: 14.97 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.684e-06/1.684e-06, allocations: 0 / 408.1 MB, free: 13.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.922e-05/3.09e-05, allocations: 6.219 kB / 408.1 MB, free: 13.04 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001101/0.001132, allocations: 0.499 MB / 408.6 MB, free: 12.55 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002145/0.003277, allocations: 1.939 MB / 410.5 MB, free: 10.59 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.819e-06/0.003282, allocations: 0 / 410.5 MB, free: 10.59 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 4.218e-06/0.003286, allocations: 0 / 410.5 MB, free: 10.59 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 1.102e-06/0.003287, allocations: 0 / 410.5 MB, free: 10.59 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001418/0.004705, allocations: 0.5816 MB / 411.1 MB, free: 10.01 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 2.582e-05/0.004731, allocations: 0 / 411.1 MB, free: 10.01 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.879e-05/0.00477, allocations: 0 / 411.1 MB, free: 10.01 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.714e-05/0.004787, allocations: 0 / 411.1 MB, free: 10.01 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.187e-05/0.004799, allocations: 0 / 411.1 MB, free: 10.01 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.005e-05/0.004809, allocations: 0 / 411.1 MB, free: 10.01 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009381/0.005747, allocations: 0.8418 MB / 411.9 MB, free: 9.164 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.825e-06/0.005755, allocations: 0 / 411.9 MB, free: 9.164 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.6e-05/0.005771, allocations: 4 kB / 412 MB, free: 9.16 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007964/0.006567, allocations: 0.7951 MB / 412.7 MB, free: 8.363 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.006572, allocations: 0 / 412.7 MB, free: 8.363 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.006573, allocations: 0 / 412.7 MB, free: 8.363 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.77e-06/0.006579, allocations: 0 / 412.7 MB, free: 8.363 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003178/0.006897, allocations: 305.7 kB / 413 MB, free: 8.035 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.006936, allocations: 11.97 kB / 413.1 MB, free: 8.023 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.701e-05/0.006993, allocations: 80.2 kB / 413.1 MB, free: 7.945 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.444e-05/0.007068, allocations: 181.1 kB / 413.3 MB, free: 7.742 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.907e-05/0.007107, allocations: 150.9 kB / 413.5 MB, free: 7.594 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.464e-05/0.007142, allocations: 158.9 kB / 413.6 MB, free: 7.438 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.681e-05/0.007198, allocations: 105.5 kB / 413.7 MB, free: 7.328 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.275e-05/0.007221, allocations: 79.47 kB / 413.8 MB, free: 7.25 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.11e-05/0.007262, allocations: 150.9 kB / 413.9 MB, free: 7.102 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-05/0.007298, allocations: 154.5 kB / 414.1 MB, free: 6.949 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.896e-05/0.007337, allocations: 154.5 kB / 414.2 MB, free: 6.797 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001727/0.007509, allocations: 393.6 kB / 414.6 MB, free: 6.383 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.106e-05/0.00758, allocations: 169.2 kB / 414.8 MB, free: 6.207 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.713e-05/0.007608, allocations: 88.12 kB / 414.9 MB, free: 6.117 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.305e-05/0.007631, allocations: 79.28 kB / 415 MB, free: 6.039 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.956e-05/0.00767, allocations: 105.8 kB / 415.1 MB, free: 5.926 MB / 346.7 MB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.007671, allocations: 4 kB / 415.1 MB, free: 5.922 MB / 346.7 MB Notification: Performance of matching and sorting (n=0): time 6.616e-05/0.007737, allocations: 33.58 kB / 415.1 MB, free: 5.883 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.984e-05/0.007797, allocations: 160.3 kB / 415.3 MB, free: 5.707 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.55e-05/0.007822, allocations: 89.86 kB / 415.3 MB, free: 5.609 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.03e-05/0.007833, allocations: 25.7 kB / 415.4 MB, free: 5.578 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.128e-05/0.007854, allocations: 84.14 kB / 415.4 MB, free: 5.492 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.703e-06/0.007856, allocations: 0 / 415.4 MB, free: 5.492 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.931e-05/0.007875, allocations: 13.72 kB / 415.5 MB, free: 5.473 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.822e-05/0.007953, allocations: 310.8 kB / 415.8 MB, free: 5.16 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.111e-06/0.007959, allocations: 0 / 415.8 MB, free: 5.16 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.825e-05/0.007988, allocations: 25.7 kB / 415.8 MB, free: 5.129 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.632e-05/0.008014, allocations: 83.3 kB / 415.9 MB, free: 5.047 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.926e-05/0.008033, allocations: 75.28 kB / 415.9 MB, free: 4.973 MB / 346.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.56e-05/0.008069, allocations: 33.64 kB / 416 MB, free: 4.934 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.291e-05/0.008102, allocations: 81.62 kB / 416.1 MB, free: 4.855 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.676e-05/0.008128, allocations: 79.28 kB / 416.1 MB, free: 4.777 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.779e-05/0.008176, allocations: 154.5 kB / 416.3 MB, free: 4.625 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.888e-05/0.008195, allocations: 75.28 kB / 416.4 MB, free: 4.551 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.998e-05/0.008235, allocations: 162.5 kB / 416.5 MB, free: 4.391 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.952e-05/0.008285, allocations: 79.22 kB / 416.6 MB, free: 4.312 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.185e-05/0.008306, allocations: 79.27 kB / 416.7 MB, free: 4.234 MB / 346.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 8.838e-05/0.008395, allocations: 264.4 kB / 416.9 MB, free: 3.965 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.845e-05/0.008433, allocations: 104.9 kB / 417 MB, free: 3.855 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.953e-05/0.008473, allocations: 111.8 kB / 417.1 MB, free: 3.738 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.545e-05/0.008518, allocations: 180.3 kB / 417.3 MB, free: 3.555 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.4e-05/0.008562, allocations: 184.2 kB / 417.5 MB, free: 3.367 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.684e-05/0.008609, allocations: 184.2 kB / 417.7 MB, free: 3.18 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000136/0.008745, allocations: 356.8 kB / 418 MB, free: 2.793 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.887e-05/0.008774, allocations: 105 kB / 418.1 MB, free: 2.684 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.941e-05/0.008803, allocations: 113 kB / 418.2 MB, free: 2.566 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.711e-05/0.008851, allocations: 180.2 kB / 418.4 MB, free: 2.383 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.951e-05/0.0089, allocations: 180.2 kB / 418.6 MB, free: 2.199 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.971e-05/0.00895, allocations: 188.2 kB / 418.8 MB, free: 2.008 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.095e-05/0.009001, allocations: 176.3 kB / 418.9 MB, free: 1.828 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001122/0.009113, allocations: 311.7 kB / 419.3 MB, free: 1.5 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.583e-05/0.009149, allocations: 105 kB / 419.4 MB, free: 1.391 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.234e-05/0.009221, allocations: 180.6 kB / 419.5 MB, free: 1.207 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.073e-05/0.009272, allocations: 104.9 kB / 419.6 MB, free: 1.098 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.543e-05/0.009327, allocations: 188.2 kB / 419.8 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.871e-05/0.009356, allocations: 101 kB / 419.9 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.042e-05/0.009386, allocations: 87.23 kB / 420 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009386, allocations: 0 / 420 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004818/0.009868, allocations: 147.6 kB / 420.1 MB, free: 0.5703 MB / 346.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.0005695/0.01044, allocations: 345 kB / 420.5 MB, free: 232 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 5.478e-05/0.01049, allocations: 4 kB / 420.5 MB, free: 228 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.01049, allocations: 4 kB / 420.5 MB, free: 224 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.134e-06/0.0105, allocations: 3.938 kB / 420.5 MB, free: 220 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002438/0.01074, allocations: 463.7 kB / 420.9 MB, free: 15.76 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001507/0.01089, allocations: 174 kB / 421.1 MB, free: 15.55 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.45e-05/0.01093, allocations: 51.36 kB / 421.2 MB, free: 15.48 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.592e-05/0.01094, allocations: 12.5 kB / 421.2 MB, free: 15.47 MB / 362.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01094, allocations: 0 / 421.2 MB, free: 15.47 MB / 362.7 MB Notification: Performance of Templates: time 0.004064/0.01501, allocations: 2.94 MB / 424.1 MB, free: 12.53 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestMatricesExamplesSolveLinearEquations/TestMatricesExamplesSolveLinearEquations.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.824735512956977]