Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.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.001039/0.001039, allocations: 76.06 kB / 20.72 MB, free: 3.766 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.001074/0.001074, allocations: 169 kB / 24.14 MB, free: 356 kB / 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.208/1.208, allocations: 158.6 MB / 186 MB, free: 2.734 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.1312/0.1312, allocations: 32.39 MB / 270.7 MB, free: 14.6 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.TestFiles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles") translateModel(ModelicaTest.Utilities.TestFiles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.675e-06/2.675e-06, allocations: 0 / 299 MB, free: 2.242 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.738e-05/3.006e-05, allocations: 6.312 kB / 299 MB, free: 2.234 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestFiles): time 0.001655/0.001685, allocations: 0.5013 MB / 299.5 MB, free: 1.734 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002478/0.004163, allocations: 1.41 MB / 300.9 MB, free: 324 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.033e-05/0.004194, allocations: 0 / 300.9 MB, free: 324 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.798e-05/0.004212, allocations: 0 / 300.9 MB, free: 324 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002737/0.004485, allocations: 7.938 kB / 301 MB, free: 316 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001142/0.005628, allocations: 267.1 kB / 301.2 MB, free: 48 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 6.208e-05/0.00569, allocations: 11.94 kB / 301.2 MB, free: 36 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.4e-05/0.005734, allocations: 0 / 301.2 MB, free: 36 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.187e-05/0.005776, allocations: 7.984 kB / 301.2 MB, free: 28 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.191e-05/0.005828, allocations: 3.984 kB / 301.2 MB, free: 24 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.131e-05/0.005839, allocations: 0 / 301.2 MB, free: 24 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1971/0.2029, allocations: 0.9868 MB / 302.2 MB, free: 18.95 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.318e-05/0.2029, allocations: 0 / 302.2 MB, free: 18.95 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.17e-05/0.2029, allocations: 4.969 kB / 302.2 MB, free: 18.95 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004784/0.2034, allocations: 220.3 kB / 302.4 MB, free: 18.95 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.2034, allocations: 0 / 302.4 MB, free: 18.95 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2034, allocations: 3.719 kB / 302.4 MB, free: 18.95 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.2034, allocations: 0 / 302.4 MB, free: 18.95 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.0003248/0.2037, allocations: 280.7 kB / 302.7 MB, free: 18.68 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.2038, allocations: 9.562 kB / 302.7 MB, free: 18.68 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.203e-05/0.2038, allocations: 2.625 kB / 302.7 MB, free: 18.68 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.549e-05/0.2039, allocations: 109.2 kB / 302.8 MB, free: 18.55 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.2039, allocations: 3.484 kB / 302.8 MB, free: 18.55 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.528e-06/0.2039, allocations: 1.562 kB / 302.8 MB, free: 18.55 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.184e-05/0.204, allocations: 55.77 kB / 302.9 MB, free: 18.49 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.204, allocations: 1.312 kB / 302.9 MB, free: 18.49 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.151e-06/0.204, allocations: 384 / 302.9 MB, free: 18.49 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.204, allocations: 4.594 kB / 302.9 MB, free: 18.49 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.184e-05/0.204, allocations: 34.22 kB / 302.9 MB, free: 18.46 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.262e-05/0.2041, allocations: 58.47 kB / 303 MB, free: 18.39 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.343e-05/0.2041, allocations: 42.81 kB / 303 MB, free: 18.34 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.527e-05/0.2041, allocations: 33.12 kB / 303.1 MB, free: 18.3 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.16e-06/0.2041, allocations: 6.297 kB / 303.1 MB, free: 18.3 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.2042, allocations: 60.95 kB / 303.1 MB, free: 18.23 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 1.352e-06/0.2042, allocations: 0.5312 kB / 303.1 MB, free: 18.23 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.000131/0.2043, allocations: 117.3 kB / 303.3 MB, free: 18.1 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.782e-05/0.2043, allocations: 77.77 kB / 303.3 MB, free: 18.01 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.405e-05/0.2044, allocations: 103.7 kB / 303.4 MB, free: 17.9 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.691e-06/0.2044, allocations: 25.7 kB / 303.5 MB, free: 17.87 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.249e-05/0.2044, allocations: 81.58 kB / 303.5 MB, free: 17.79 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.882e-05/0.2044, allocations: 5.672 kB / 303.5 MB, free: 17.79 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.729e-05/0.2045, allocations: 15.47 kB / 303.6 MB, free: 17.77 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.694e-05/0.2045, allocations: 318.1 kB / 303.9 MB, free: 17.45 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.172e-05/0.2045, allocations: 30.83 kB / 303.9 MB, free: 17.42 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.322e-05/0.2045, allocations: 31.52 kB / 303.9 MB, free: 17.39 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.921e-05/0.2046, allocations: 62 kB / 304 MB, free: 17.32 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2046, allocations: 1.344 kB / 304 MB, free: 17.32 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.462e-05/0.2046, allocations: 89.14 kB / 304.1 MB, free: 17.22 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.607e-05/0.2046, allocations: 32.14 kB / 304.1 MB, free: 17.19 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.597e-06/0.2047, allocations: 2.125 kB / 304.1 MB, free: 17.19 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.2047, allocations: 2.422 kB / 304.1 MB, free: 17.19 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.863e-06/0.2047, allocations: 0 / 304.1 MB, free: 17.19 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.2047, allocations: 2.031 kB / 304.1 MB, free: 17.19 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.471e-05/0.2047, allocations: 3.938 kB / 304.1 MB, free: 17.19 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-06/0.2047, allocations: 0.9688 kB / 304.1 MB, free: 17.19 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 5.619e-05/0.2048, allocations: 142.1 kB / 304.3 MB, free: 17.04 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.049e-06/0.2048, allocations: 2.75 kB / 304.3 MB, free: 17.04 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.557e-05/0.2048, allocations: 4 kB / 304.3 MB, free: 17.04 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.2048, allocations: 1.062 kB / 304.3 MB, free: 17.04 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/0.2048, allocations: 0.5156 kB / 304.3 MB, free: 17.04 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.2048, allocations: 1.188 kB / 304.3 MB, free: 17.04 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.5e-05/0.2048, allocations: 68.45 kB / 304.3 MB, free: 16.96 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.2048, allocations: 0 / 304.3 MB, free: 16.96 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.6e-07/0.2048, allocations: 0 / 304.3 MB, free: 16.96 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.52e-07/0.2048, allocations: 3.406 kB / 304.3 MB, free: 16.96 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.691e-06/0.2048, allocations: 5.75 kB / 304.3 MB, free: 16.96 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-07/0.2048, allocations: 0 / 304.3 MB, free: 16.96 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.2048, allocations: 3.984 kB / 304.3 MB, free: 16.95 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.263e-05/0.2049, allocations: 124.6 kB / 304.5 MB, free: 16.82 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.977e-06/0.2049, allocations: 5.453 kB / 304.5 MB, free: 16.82 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.36e-05/0.2049, allocations: 1.312 kB / 304.5 MB, free: 16.82 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.512e-06/0.2049, allocations: 0.9375 kB / 304.5 MB, free: 16.82 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.032e-05/0.2049, allocations: 1.312 kB / 304.5 MB, free: 16.82 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-06/0.205, allocations: 1.25 kB / 304.5 MB, free: 16.82 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.139e-05/0.205, allocations: 6.672 kB / 304.5 MB, free: 16.82 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.205, allocations: 0 / 304.5 MB, free: 16.82 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002702/0.2052, allocations: 66.06 kB / 304.5 MB, free: 16.8 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.0007002/0.2059, allocations: 412.4 kB / 305 MB, free: 16.57 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.298e-05/0.206, allocations: 119.9 kB / 305.1 MB, free: 16.44 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.206, allocations: 1.188 kB / 305.1 MB, free: 16.44 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.634e-05/0.206, allocations: 90.17 kB / 305.2 MB, free: 16.34 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.727e-05/0.2061, allocations: 10.66 kB / 305.2 MB, free: 16.33 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001702/0.2063, allocations: 122 kB / 305.3 MB, free: 16.2 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.073e-05/0.2063, allocations: 53.84 kB / 305.3 MB, free: 16.12 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.229e-06/0.2063, allocations: 0 / 305.3 MB, free: 16.12 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.628e-05/0.2063, allocations: 56.7 kB / 305.4 MB, free: 16.08 MB / 282.7 MB Notification: Performance of SimCode: time 9.51e-07/0.2063, allocations: 0 / 305.4 MB, free: 16.08 MB / 282.7 MB Notification: Performance of Templates: time 0.005444/0.2118, allocations: 1.887 MB / 307.3 MB, free: 15.86 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.sim & ./ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestFiles/TestFiles.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: 3.5004253000952303]