Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.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.001244/0.001244, allocations: 82.64 kB / 21.44 MB, free: 3.059 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.001063/0.001063, allocations: 163.4 kB / 24.84 MB, free: 8.711 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.9846/0.9846, allocations: 158.6 MB / 186.7 MB, free: 2.789 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.1346/0.1346, allocations: 32.38 MB / 271.5 MB, free: 14.41 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.Rotational.TestSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|speed1.phi|speed1.w|speed2.phi|speed3.s|speed3.v|speed4.s",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed") translateModel(ModelicaTest.Rotational.TestSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|speed1.phi|speed1.w|speed2.phi|speed3.s|speed3.v|speed4.s",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 348.9 MB, free: 9.203 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.474e-05/2.629e-05, allocations: 6.25 kB / 348.9 MB, free: 9.195 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.002868/0.002894, allocations: 2.602 MB / 351.5 MB, free: 6.586 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001217/0.00411, allocations: 0.6709 MB / 352.2 MB, free: 5.906 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000187/0.004297, allocations: 11.88 kB / 352.2 MB, free: 5.895 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001803/0.004478, allocations: 39.53 kB / 352.2 MB, free: 5.855 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001493/0.004627, allocations: 99.12 kB / 352.3 MB, free: 5.758 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003245/0.004952, allocations: 87.81 kB / 352.4 MB, free: 5.672 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003071/0.005259, allocations: 346.3 kB / 352.7 MB, free: 5.332 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000175/0.005434, allocations: 58.12 kB / 352.8 MB, free: 5.281 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002483/0.005682, allocations: 187.6 kB / 353 MB, free: 5.098 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001418/0.005824, allocations: 95.69 kB / 353.1 MB, free: 5.004 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.512e-05/0.005869, allocations: 24 kB / 353.1 MB, free: 4.98 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.794e-05/0.005907, allocations: 20 kB / 353.1 MB, free: 4.961 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.104e-05/0.005958, allocations: 63.75 kB / 353.2 MB, free: 4.898 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.614e-05/0.006034, allocations: 99.73 kB / 353.3 MB, free: 4.801 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002609/0.006295, allocations: 211.1 kB / 353.5 MB, free: 4.594 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.006299, allocations: 0 / 353.5 MB, free: 4.594 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.006301, allocations: 0 / 353.5 MB, free: 4.594 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.014e-05/0.006311, allocations: 0 / 353.5 MB, free: 4.594 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0005278/0.006839, allocations: 0.6089 MB / 354.1 MB, free: 3.949 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.302e-05/0.006892, allocations: 12.03 kB / 354.1 MB, free: 3.938 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.207e-05/0.006954, allocations: 56.7 kB / 354.1 MB, free: 3.883 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001865/0.007141, allocations: 204.1 kB / 354.3 MB, free: 3.656 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.007155, allocations: 20.88 kB / 354.4 MB, free: 3.633 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.467e-05/0.007189, allocations: 32.31 kB / 354.4 MB, free: 3.602 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002097/0.007399, allocations: 247.3 kB / 354.6 MB, free: 3.328 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.007413, allocations: 8.141 kB / 354.6 MB, free: 3.32 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.007429, allocations: 12.38 kB / 354.7 MB, free: 3.309 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.007435, allocations: 7.938 kB / 354.7 MB, free: 3.301 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.176e-05/0.007527, allocations: 87.84 kB / 354.8 MB, free: 3.215 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007794/0.008306, allocations: 1.378 MB / 356.1 MB, free: 1.754 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001607/0.008467, allocations: 204.2 kB / 356.3 MB, free: 1.504 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.736e-05/0.008514, allocations: 70.84 kB / 356.4 MB, free: 1.418 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.629e-05/0.00853, allocations: 8 kB / 356.4 MB, free: 1.41 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.63e-05/0.008547, allocations: 41.39 kB / 356.4 MB, free: 1.359 MB / 282.7 MB Notification: Performance of pre-optimization done (n=26): time 1.653e-06/0.008548, allocations: 0 / 356.4 MB, free: 1.359 MB / 282.7 MB Notification: Performance of matching and sorting (n=32): time 0.0008465/0.009395, allocations: 0.8452 MB / 357.3 MB, free: 400 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.923e-05/0.009424, allocations: 136.5 kB / 357.4 MB, free: 232 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.009557, allocations: 280.1 kB / 357.7 MB, free: 15.93 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.009575, allocations: 37.7 kB / 357.7 MB, free: 15.89 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.932e-05/0.009675, allocations: 227.3 kB / 358 MB, free: 15.66 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.429e-05/0.009739, allocations: 126.9 kB / 358.1 MB, free: 15.54 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.712e-05/0.009816, allocations: 75.72 kB / 358.2 MB, free: 15.45 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.009952, allocations: 0.5117 MB / 358.7 MB, free: 14.93 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.023e-05/0.01, allocations: 32.95 kB / 358.7 MB, free: 14.9 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001432/0.01015, allocations: 230.7 kB / 358.9 MB, free: 14.59 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002309/0.01038, allocations: 305.8 kB / 359.2 MB, free: 14.21 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.01038, allocations: 0 / 359.2 MB, free: 14.21 MB / 298.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0003083/0.01069, allocations: 273 kB / 359.5 MB, free: 13.93 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.0107, allocations: 11.94 kB / 359.5 MB, free: 13.92 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.01071, allocations: 4 kB / 359.5 MB, free: 13.92 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.169e-05/0.01074, allocations: 8 kB / 359.5 MB, free: 13.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002111/0.01095, allocations: 99.81 kB / 359.6 MB, free: 13.81 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.01096, allocations: 11.94 kB / 359.6 MB, free: 13.8 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.299e-05/0.01105, allocations: 24.39 kB / 359.6 MB, free: 13.78 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.661e-05/0.01107, allocations: 12 kB / 359.7 MB, free: 13.77 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (48): * Single equations (assignments): 48 * 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.0001085/0.01117, allocations: 180.5 kB / 359.8 MB, free: 13.58 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.63e-05/0.01125, allocations: 43.75 kB / 359.9 MB, free: 13.54 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.746e-05/0.0113, allocations: 33.77 kB / 359.9 MB, free: 13.5 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.0113, allocations: 8 kB / 359.9 MB, free: 13.49 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.01131, allocations: 3.938 kB / 359.9 MB, free: 13.48 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.01131, allocations: 3.984 kB / 359.9 MB, free: 13.48 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007619/0.01208, allocations: 0.9202 MB / 360.8 MB, free: 12.52 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.01208, allocations: 0 / 360.8 MB, free: 12.52 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001753/0.01225, allocations: 71.89 kB / 360.9 MB, free: 12.45 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.01226, allocations: 4 kB / 360.9 MB, free: 12.44 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.583e-05/0.01227, allocations: 12 kB / 360.9 MB, free: 12.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.01228, allocations: 448 / 360.9 MB, free: 12.43 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.01228, allocations: 7.938 kB / 360.9 MB, free: 12.42 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004291/0.01271, allocations: 0.7349 MB / 361.7 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.593e-05/0.01274, allocations: 31.86 kB / 361.7 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.556e-05/0.01276, allocations: 8 kB / 361.7 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001305/0.01289, allocations: 12 kB / 361.7 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.878e-05/0.01295, allocations: 31.88 kB / 361.8 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.442e-05/0.01296, allocations: 15.94 kB / 361.8 MB, free: 11.56 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.776e-05/0.01304, allocations: 185.1 kB / 362 MB, free: 11.38 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01304, allocations: 0 / 362 MB, free: 11.38 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002988/0.01334, allocations: 67.94 kB / 362 MB, free: 11.31 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (speed4.s,speed3.s,speed3.v,speed1.phi,speed1.w,speed2.phi) * 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 (32): * Single equations (assignments): 32 * 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.0001104/0.01345, allocations: 103.1 kB / 362.1 MB, free: 11.2 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002286/0.01368, allocations: 164.8 kB / 362.3 MB, free: 11.04 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.01368, allocations: 0 / 362.3 MB, free: 11.04 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.714e-05/0.01377, allocations: 87.69 kB / 362.4 MB, free: 10.95 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004675/0.01424, allocations: 51.36 kB / 362.4 MB, free: 10.9 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009973/0.01524, allocations: 0.7384 MB / 363.2 MB, free: 10.11 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.837e-05/0.0153, allocations: 92.92 kB / 363.2 MB, free: 10 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.845e-05/0.01539, allocations: 34.95 kB / 363.3 MB, free: 9.965 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001117/0.0155, allocations: 114.2 kB / 363.4 MB, free: 9.852 MB / 298.7 MB Notification: Performance of SimCode: time 5.61e-07/0.0155, allocations: 0 / 363.4 MB, free: 9.852 MB / 298.7 MB Notification: Performance of Templates: time 0.004725/0.02023, allocations: 2.683 MB / 366.1 MB, free: 7.203 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/TestSpeed/TestSpeed.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.1604657121933997]