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.001263/0.001263, allocations: 91.22 kB / 20.43 MB, free: 4.141 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.001851/0.001851, allocations: 165 kB / 23.8 MB, free: 0.7734 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.9352/0.9352, allocations: 158.6 MB / 185.7 MB, free: 2.914 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.1307/0.1307, allocations: 32.38 MB / 270.4 MB, free: 14.71 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 2.264e-06/2.264e-06, allocations: 0 / 347.6 MB, free: 9.488 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.192e-05/3.418e-05, allocations: 6.25 kB / 347.6 MB, free: 9.48 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.007302/0.007336, allocations: 2.621 MB / 350.3 MB, free: 6.848 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001089/0.008426, allocations: 0.6826 MB / 350.9 MB, free: 6.156 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000154/0.00858, allocations: 7.938 kB / 350.9 MB, free: 6.148 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003191/0.01177, allocations: 43.52 kB / 351 MB, free: 6.105 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001889/0.01196, allocations: 99.08 kB / 351.1 MB, free: 6.008 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000306/0.01227, allocations: 91.8 kB / 351.2 MB, free: 5.918 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003325/0.0126, allocations: 338.4 kB / 351.5 MB, free: 5.586 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001653/0.01276, allocations: 58.12 kB / 351.6 MB, free: 5.535 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002518/0.01302, allocations: 195.5 kB / 351.8 MB, free: 5.344 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000129/0.01314, allocations: 87.77 kB / 351.8 MB, free: 5.258 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.958e-05/0.01318, allocations: 27.94 kB / 351.9 MB, free: 5.23 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.222e-05/0.01322, allocations: 20 kB / 351.9 MB, free: 5.211 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.995e-05/0.01326, allocations: 59.75 kB / 351.9 MB, free: 5.152 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.601e-05/0.01333, allocations: 91.81 kB / 352 MB, free: 5.062 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002495/0.01358, allocations: 215.1 kB / 352.2 MB, free: 4.852 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.01359, allocations: 7.938 kB / 352.3 MB, free: 4.844 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.01359, allocations: 0 / 352.3 MB, free: 4.844 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.01359, allocations: 0 / 352.3 MB, free: 4.844 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.0006368/0.01423, allocations: 0.605 MB / 352.9 MB, free: 4.203 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.013e-05/0.01427, allocations: 8.031 kB / 352.9 MB, free: 4.195 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.952e-05/0.01435, allocations: 56.7 kB / 352.9 MB, free: 4.141 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003264/0.01762, allocations: 208.1 kB / 353.1 MB, free: 3.91 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.195e-05/0.01764, allocations: 20.88 kB / 353.1 MB, free: 3.887 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.369e-05/0.01769, allocations: 32.31 kB / 353.2 MB, free: 3.855 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00035/0.01804, allocations: 255.4 kB / 353.4 MB, free: 3.574 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.126e-05/0.01806, allocations: 12.08 kB / 353.4 MB, free: 3.562 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.264e-05/0.01808, allocations: 8.375 kB / 353.4 MB, free: 3.555 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.398e-05/0.0181, allocations: 11.94 kB / 353.5 MB, free: 3.543 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001688/0.01827, allocations: 95.84 kB / 353.6 MB, free: 3.449 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001093/0.01936, allocations: 1.424 MB / 355 MB, free: 1.934 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002509/0.01961, allocations: 208.3 kB / 355.2 MB, free: 1.68 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.703e-05/0.01969, allocations: 66.73 kB / 355.2 MB, free: 1.598 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.091e-05/0.01971, allocations: 11.98 kB / 355.3 MB, free: 1.586 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/0.01973, allocations: 41.52 kB / 355.3 MB, free: 1.535 MB / 282.7 MB Notification: Performance of pre-optimization done (n=26): time 2.675e-06/0.01973, allocations: 4 kB / 355.3 MB, free: 1.531 MB / 282.7 MB Notification: Performance of matching and sorting (n=32): time 0.004273/0.02401, allocations: 1.012 MB / 356.3 MB, free: 404 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.067e-05/0.02404, allocations: 132.5 kB / 356.4 MB, free: 240 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001765/0.02421, allocations: 280.2 kB / 356.7 MB, free: 15.94 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.02423, allocations: 29.7 kB / 356.7 MB, free: 15.91 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001171/0.02435, allocations: 227.3 kB / 357 MB, free: 15.68 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.3e-05/0.02443, allocations: 123 kB / 357.1 MB, free: 15.55 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.195e-05/0.02453, allocations: 79.84 kB / 357.2 MB, free: 15.47 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.02467, allocations: 0.504 MB / 357.7 MB, free: 14.95 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.894e-05/0.02477, allocations: 44.91 kB / 357.7 MB, free: 14.91 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001943/0.02497, allocations: 238.7 kB / 357.9 MB, free: 14.59 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003187/0.02529, allocations: 322.1 kB / 358.3 MB, free: 14.2 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.02529, allocations: 0 / 358.3 MB, free: 14.2 MB / 298.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0004329/0.02572, allocations: 297.2 kB / 358.6 MB, free: 13.9 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.02574, allocations: 8 kB / 358.6 MB, free: 13.89 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.02575, allocations: 4 kB / 358.6 MB, free: 13.89 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.289e-05/0.02577, allocations: 11.94 kB / 358.6 MB, free: 13.88 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002755/0.02605, allocations: 99.81 kB / 358.7 MB, free: 13.78 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/0.02606, allocations: 8 kB / 358.7 MB, free: 13.77 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001332/0.02619, allocations: 28.12 kB / 358.7 MB, free: 13.74 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.418e-05/0.02622, allocations: 20 kB / 358.7 MB, free: 13.72 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.0001153/0.02633, allocations: 184.7 kB / 358.9 MB, free: 13.53 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001814/0.02651, allocations: 35.86 kB / 358.9 MB, free: 13.5 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.889e-05/0.02657, allocations: 37.77 kB / 359 MB, free: 13.45 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.02658, allocations: 7.938 kB / 359 MB, free: 13.45 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.393e-06/0.02659, allocations: 4 kB / 359 MB, free: 13.44 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.02659, allocations: 3.984 kB / 359 MB, free: 13.44 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009799/0.02757, allocations: 0.9664 MB / 360 MB, free: 12.42 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.02758, allocations: 4.062 kB / 360 MB, free: 12.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002471/0.02782, allocations: 75.89 kB / 360 MB, free: 12.34 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.8e-06/0.02783, allocations: 4 kB / 360 MB, free: 12.34 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.912e-05/0.02785, allocations: 8 kB / 360.1 MB, free: 12.33 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.02785, allocations: 0 / 360.1 MB, free: 12.33 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.02785, allocations: 4 kB / 360.1 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005687/0.02842, allocations: 0.7544 MB / 360.8 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.188e-05/0.02845, allocations: 27.8 kB / 360.8 MB, free: 11.51 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.271e-05/0.02849, allocations: 8 kB / 360.8 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002019/0.02869, allocations: 16 kB / 360.9 MB, free: 11.49 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.397e-05/0.02876, allocations: 35.81 kB / 360.9 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.737e-05/0.02878, allocations: 12 kB / 360.9 MB, free: 11.44 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001243/0.0289, allocations: 189.1 kB / 361.1 MB, free: 11.26 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0289, allocations: 0 / 361.1 MB, free: 11.26 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004689/0.02937, allocations: 68 kB / 361.2 MB, free: 11.19 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.0001088/0.02948, allocations: 107.1 kB / 361.3 MB, free: 11.08 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003356/0.02982, allocations: 177.1 kB / 361.4 MB, free: 10.9 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.02982, allocations: 0 / 361.4 MB, free: 10.9 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001022/0.02992, allocations: 91.7 kB / 361.5 MB, free: 10.81 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004372/0.03036, allocations: 50.02 kB / 361.6 MB, free: 10.76 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001138/0.0315, allocations: 0.7503 MB / 362.3 MB, free: 9.961 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.485e-05/0.03158, allocations: 96.86 kB / 362.4 MB, free: 9.844 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.401e-05/0.03167, allocations: 34.95 kB / 362.5 MB, free: 9.809 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.048e-05/0.03173, allocations: 28.48 kB / 362.5 MB, free: 9.781 MB / 298.7 MB Notification: Performance of SimCode: time 1.022e-06/0.03173, allocations: 0 / 362.5 MB, free: 9.781 MB / 298.7 MB Notification: Performance of Templates: time 0.005518/0.03725, allocations: 2.516 MB / 365 MB, free: 7.297 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.273056719917804]