Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.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.002493/0.002493, allocations: 96.97 kB / 20.21 MB, free: 4.207 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.002757/0.002757, allocations: 165.2 kB / 23.52 MB, free: 0.8984 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 1.401/1.401, allocations: 158.6 MB / 185.3 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 178] 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.2074/0.2074, allocations: 32.38 MB / 270 MB, free: 14.76 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.Utilities.TestInternal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal") translateModel(ModelicaTest.Utilities.TestInternal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 346.9 MB, free: 9.828 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.204e-05/2.408e-05, allocations: 2.312 kB / 346.9 MB, free: 9.824 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestInternal): time 0.001357/0.001381, allocations: 0.4926 MB / 347.4 MB, free: 9.336 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000546/0.001927, allocations: 263.1 kB / 347.7 MB, free: 9.078 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.402e-05/0.001951, allocations: 4 kB / 347.7 MB, free: 9.074 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.249e-05/0.001963, allocations: 0 / 347.7 MB, free: 9.074 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 5.621e-06/0.001969, allocations: 0 / 347.7 MB, free: 9.074 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002963/0.002265, allocations: 47.77 kB / 347.7 MB, free: 9.027 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.251e-05/0.002318, allocations: 4 kB / 347.7 MB, free: 9.023 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.85e-05/0.002356, allocations: 3.984 kB / 347.7 MB, free: 9.02 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.526e-05/0.002392, allocations: 4 kB / 347.7 MB, free: 9.016 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.996e-05/0.002422, allocations: 3.984 kB / 347.7 MB, free: 9.012 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.017e-05/0.002432, allocations: 0 / 347.7 MB, free: 9.012 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001344/0.002566, allocations: 63.89 kB / 347.8 MB, free: 8.949 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.766e-06/0.002575, allocations: 0 / 347.8 MB, free: 8.949 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.17e-05/0.002597, allocations: 4 kB / 347.8 MB, free: 8.945 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001297/0.002726, allocations: 71.67 kB / 347.9 MB, free: 8.875 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.002729, allocations: 0 / 347.9 MB, free: 8.875 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.12e-07/0.00273, allocations: 0 / 347.9 MB, free: 8.875 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.461e-05/0.002744, allocations: 0 / 347.9 MB, free: 8.875 MB / 282.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.0002625/0.003007, allocations: 389.9 kB / 348.2 MB, free: 8.449 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.00304, allocations: 8.031 kB / 348.2 MB, free: 8.441 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.812e-05/0.003078, allocations: 4.938 kB / 348.3 MB, free: 8.438 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.888e-05/0.003127, allocations: 108.6 kB / 348.4 MB, free: 8.305 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.00314, allocations: 384 / 348.4 MB, free: 8.305 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.225e-06/0.003148, allocations: 384 / 348.4 MB, free: 8.305 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.17e-05/0.00322, allocations: 59.97 kB / 348.4 MB, free: 8.234 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.003228, allocations: 192 / 348.4 MB, free: 8.234 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.263e-06/0.003235, allocations: 384 / 348.4 MB, free: 8.234 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.416e-06/0.003239, allocations: 384 / 348.4 MB, free: 8.234 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.139e-05/0.00326, allocations: 41.56 kB / 348.5 MB, free: 8.188 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.216e-05/0.003332, allocations: 108.6 kB / 348.6 MB, free: 8.047 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.132e-05/0.003384, allocations: 60.73 kB / 348.6 MB, free: 7.969 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.604e-05/0.0034, allocations: 33.39 kB / 348.7 MB, free: 7.926 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.707e-06/0.003408, allocations: 0 / 348.7 MB, free: 7.926 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.606e-05/0.003434, allocations: 63.16 kB / 348.7 MB, free: 7.848 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 6.41e-07/0.003435, allocations: 4 kB / 348.7 MB, free: 7.844 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001698/0.003605, allocations: 122.7 kB / 348.8 MB, free: 7.699 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.462e-05/0.003629, allocations: 77.11 kB / 348.9 MB, free: 7.605 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.517e-05/0.003665, allocations: 142.2 kB / 349.1 MB, free: 7.453 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.891e-06/0.00367, allocations: 29.7 kB / 349.1 MB, free: 7.418 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.363e-05/0.003684, allocations: 126.9 kB / 349.2 MB, free: 7.289 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.613e-05/0.0037, allocations: 0 / 349.2 MB, free: 7.289 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.46e-05/0.003725, allocations: 23.36 kB / 349.2 MB, free: 7.258 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.543e-05/0.00378, allocations: 0.4883 MB / 349.7 MB, free: 6.758 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.377e-05/0.003794, allocations: 25.7 kB / 349.7 MB, free: 6.727 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.037e-06/0.003803, allocations: 29.83 kB / 349.8 MB, free: 6.691 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.762e-05/0.003831, allocations: 63.09 kB / 349.8 MB, free: 6.613 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.003832, allocations: 0 / 349.8 MB, free: 6.613 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.254e-05/0.003885, allocations: 97.03 kB / 349.9 MB, free: 6.5 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.851e-05/0.003913, allocations: 33.7 kB / 350 MB, free: 6.461 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.003919, allocations: 0 / 350 MB, free: 6.461 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.003932, allocations: 0 / 350 MB, free: 6.461 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.022e-06/0.003933, allocations: 0 / 350 MB, free: 6.461 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.003937, allocations: 0 / 350 MB, free: 6.461 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.352e-05/0.003951, allocations: 3.938 kB / 350 MB, free: 6.457 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.673e-06/0.003958, allocations: 8.094 kB / 350 MB, free: 6.449 MB / 282.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.808e-05/0.004006, allocations: 182.3 kB / 350.2 MB, free: 6.254 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.887e-06/0.004015, allocations: 4 kB / 350.2 MB, free: 6.25 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.696e-06/0.004023, allocations: 6.984 kB / 350.2 MB, free: 6.242 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-06/0.004024, allocations: 0 / 350.2 MB, free: 6.242 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.004027, allocations: 0 / 350.2 MB, free: 6.242 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.823e-06/0.004029, allocations: 0 / 350.2 MB, free: 6.242 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.818e-05/0.004067, allocations: 116.6 kB / 350.3 MB, free: 6.094 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.004068, allocations: 0 / 350.3 MB, free: 6.094 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.01e-07/0.004068, allocations: 0 / 350.3 MB, free: 6.094 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.00407, allocations: 7.984 kB / 350.3 MB, free: 6.086 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.36e-06/0.004075, allocations: 0 / 350.3 MB, free: 6.086 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.004076, allocations: 3.938 kB / 350.3 MB, free: 6.082 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.004077, allocations: 4 kB / 350.3 MB, free: 6.078 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.095e-05/0.004148, allocations: 143.7 kB / 350.4 MB, free: 5.902 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.376e-06/0.004152, allocations: 0 / 350.4 MB, free: 5.902 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.708e-06/0.004161, allocations: 0 / 350.4 MB, free: 5.902 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.187e-06/0.004171, allocations: 4 kB / 350.4 MB, free: 5.898 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.378e-05/0.004184, allocations: 0 / 350.4 MB, free: 5.898 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-06/0.004187, allocations: 0 / 350.4 MB, free: 5.898 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.387e-05/0.004201, allocations: 119.2 kB / 350.6 MB, free: 5.781 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004201, allocations: 4.031 kB / 350.6 MB, free: 5.777 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002166/0.004417, allocations: 27.92 kB / 350.6 MB, free: 5.75 MB / 282.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 (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.000921/0.005338, allocations: 286.4 kB / 350.9 MB, free: 5.539 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.212e-05/0.00543, allocations: 118.5 kB / 351 MB, free: 5.395 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.005432, allocations: 8 kB / 351 MB, free: 5.387 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.575e-05/0.005458, allocations: 96.78 kB / 351.1 MB, free: 5.27 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000132/0.00559, allocations: 0 / 351.1 MB, free: 5.27 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001689/0.005758, allocations: 105.7 kB / 351.2 MB, free: 5.129 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.789e-05/0.005786, allocations: 55.36 kB / 351.2 MB, free: 5.055 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.641e-06/0.005792, allocations: 0 / 351.2 MB, free: 5.055 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.172e-05/0.005804, allocations: 8.5 kB / 351.2 MB, free: 5.047 MB / 282.7 MB Notification: Performance of SimCode: time 4.11e-07/0.005804, allocations: 0 / 351.2 MB, free: 5.047 MB / 282.7 MB Notification: Performance of Templates: time 0.003362/0.009166, allocations: 0.8421 MB / 352.1 MB, free: 4.207 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.sim & ./ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestInternal/TestInternal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.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: 4.780478563043289]