Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real [:1:1-1:33:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0004032/0.0004032, allocations: 0 / 0, free: 0 / 0 " [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.0004186/0.0004186, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.4659/0.4659, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.1819/0.1819, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: simulate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,startTime=0,stopTime=0,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") simulate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,startTime=0,stopTime=0,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") [Timeout 900] "Notification: Performance of FrontEnd - loaded program: time 9.62e-07/9.62e-07, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 1.995e-05/2.091e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.003707/0.003728, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.02876/0.03248, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 4.438e-06/0.03249, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 1.228e-05/0.0325, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 1.062e-06/0.0325, allocations: 0 / 0, free: 0 / 0 [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Math/package.mo:697:5-760:29:writable] Warning: Pure function 'Modelica.Math.Matrices.Examples.solveLinearEquations' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.002648/0.03515, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 1.967e-05/0.03517, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 2.319e-05/0.03519, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 1.655e-05/0.03521, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 8.185e-06/0.03522, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 9.728e-06/0.03523, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.002433/0.03766, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 1.048e-05/0.03767, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 1.003e-05/0.03768, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.002637/0.04032, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 1.156e-05/0.04033, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 3.827e-06/0.04033, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 1.192e-05/0.04035, allocations: 0 / 0, free: 0 / 0 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.0009521/0.0413, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 8.2e-05/0.04138, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001704/0.04155, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.002033/0.04358, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001684/0.04375, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 6.601e-05/0.04382, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 4.747e-05/0.04387, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 2.956e-05/0.0439, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.773e-05/0.04396, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.788e-05/0.04401, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 5.158e-05/0.04406, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006994/0.04476, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 9.918e-05/0.04486, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 4.786e-05/0.04491, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 2.999e-05/0.04494, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.108e-05/0.04498, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=0): time 8.516e-06/0.04499, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=0): time 0.0001636/0.04515, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 6.059e-05/0.04521, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.968e-05/0.04524, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 1.021e-05/0.04525, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 4.057e-05/0.04529, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 3.577e-06/0.0453, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 2.919e-05/0.04533, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 0.0002708/0.0456, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 2.004e-06/0.0456, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 4.196e-05/0.04564, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 2.866e-05/0.04567, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001028/0.04577, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=0) (initialization): time 0.0002391/0.04601, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 4.773e-05/0.04606, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.897e-05/0.04609, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 0.0008029/0.04689, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.047, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001362/0.04713, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000135/0.04727, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.497e-05/0.04729, allocations: 0 / 0, free: 0 / 0 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 0.000117/0.04741, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000917/0.04833, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001052/0.04843, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001425/0.04857, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 6.14e-05/0.04864, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-05/0.04868, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000559/0.04924, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.59e-05/0.04927, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.577e-05/0.0493, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 4.772e-05/0.04934, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.727e-05/0.04939, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.612e-05/0.04944, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.613e-05/0.04948, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001248/0.04961, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 3.481e-05/0.04964, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.279e-05/0.04974, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001265/0.04986, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 5.22e-05/0.04991, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.619e-05/0.04994, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 3.212e-05/0.04997, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 8.91e-07/0.04997, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.001642/0.05162, allocations: 0 / 0, free: 0 / 0 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.0018/0.05342, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 6.455e-05/0.05348, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.05348, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 3.126e-06/0.05349, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00106/0.05455, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002084/0.05476, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 3.946e-05/0.05479, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 2.121e-05/0.05482, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 2.281e-05/0.05484, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 3.563e-05/0.05487, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.003327/0.0582, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 900] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestMatricesExamplesSolveLinearEquations/TestMatricesExamplesSolveLinearEquations.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.0035781166516244]