Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001209/0.001209, allocations: 75.77 kB / 21.18 MB, free: 3.383 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.001323/0.001323, allocations: 161 kB / 24.56 MB, free: 12 kB / 18.57 MB " [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 1.012/1.012, allocations: 177.1 MB / 205 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2469/0.2469, allocations: 32.81 MB / 294.3 MB, free: 1.273 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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: 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_4.0.0_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_4.0.0_ModelicaTest.Rotational.TestSpeed") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 0 / 376 MB, free: 4.715 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.716e-05/2.936e-05, allocations: 2.312 kB / 376 MB, free: 4.711 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.003108/0.003137, allocations: 2.634 MB / 378.6 MB, free: 2.059 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00121/0.004347, allocations: 0.7165 MB / 379.3 MB, free: 1.336 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001625/0.004509, allocations: 7.938 kB / 379.3 MB, free: 1.328 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001603/0.00467, allocations: 47.52 kB / 379.4 MB, free: 1.281 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001572/0.004827, allocations: 91.14 kB / 379.5 MB, free: 1.191 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003713/0.005198, allocations: 107.7 kB / 379.6 MB, free: 1.086 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003234/0.005522, allocations: 346.3 kB / 379.9 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000152/0.005674, allocations: 62.06 kB / 380 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002599/0.005933, allocations: 191.6 kB / 380.2 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001296/0.006063, allocations: 99.69 kB / 380.3 MB, free: 404 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.227e-05/0.006095, allocations: 20 kB / 380.3 MB, free: 384 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.942e-05/0.006155, allocations: 24 kB / 380.3 MB, free: 360 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.833e-05/0.006193, allocations: 59.75 kB / 380.4 MB, free: 300 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.504e-05/0.006268, allocations: 99.73 kB / 380.5 MB, free: 200 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002689/0.006537, allocations: 223.1 kB / 380.7 MB, free: 15.98 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.00654, allocations: 0 / 380.7 MB, free: 15.98 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.006541, allocations: 0 / 380.7 MB, free: 15.98 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.006547, allocations: 0 / 380.7 MB, free: 15.98 MB / 362.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.0009093/0.007457, allocations: 0.6167 MB / 381.3 MB, free: 15.32 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.007493, allocations: 8.031 kB / 381.3 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000184/0.007677, allocations: 76.69 kB / 381.4 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002687/0.007946, allocations: 220 kB / 381.6 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/0.007966, allocations: 20.88 kB / 381.6 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.924e-05/0.008015, allocations: 32.33 kB / 381.6 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003097/0.008324, allocations: 267.3 kB / 381.9 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.00834, allocations: 4.188 kB / 381.9 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.008358, allocations: 12.38 kB / 381.9 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.231e-05/0.008371, allocations: 11.94 kB / 381.9 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001511/0.008522, allocations: 99.78 kB / 382 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001104/0.009626, allocations: 1.417 MB / 383.5 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002534/0.00988, allocations: 220.4 kB / 383.7 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.857e-05/0.009968, allocations: 70.72 kB / 383.7 MB, free: 12.67 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.677e-05/0.009995, allocations: 12 kB / 383.7 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.01002, allocations: 41.39 kB / 383.8 MB, free: 12.61 MB / 362.7 MB Notification: Performance of pre-optimization done (n=26): time 1.503e-06/0.01002, allocations: 3.938 kB / 383.8 MB, free: 12.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=32): time 0.001318/0.01134, allocations: 1.003 MB / 384.8 MB, free: 11.47 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/0.01139, allocations: 136.5 kB / 384.9 MB, free: 11.31 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001683/0.01156, allocations: 280.2 kB / 385.2 MB, free: 11.02 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.01158, allocations: 37.7 kB / 385.2 MB, free: 10.98 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.414e-05/0.01167, allocations: 227.4 kB / 385.5 MB, free: 10.75 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.39e-05/0.01174, allocations: 123 kB / 385.6 MB, free: 10.63 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.57e-05/0.01181, allocations: 71.81 kB / 385.6 MB, free: 10.55 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.01194, allocations: 0.5118 MB / 386.2 MB, free: 10.03 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.953e-05/0.01202, allocations: 40.97 kB / 386.2 MB, free: 9.988 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001547/0.01218, allocations: 238.6 kB / 386.4 MB, free: 9.672 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002568/0.01243, allocations: 315.7 kB / 386.7 MB, free: 9.281 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.01244, allocations: 4 kB / 386.7 MB, free: 9.277 MB / 362.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0003424/0.01278, allocations: 308.9 kB / 387 MB, free: 8.969 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.0128, allocations: 10.19 kB / 387.1 MB, free: 8.961 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.01281, allocations: 4 kB / 387.1 MB, free: 8.957 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.193e-05/0.01283, allocations: 7.938 kB / 387.1 MB, free: 8.949 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002153/0.01305, allocations: 99.81 kB / 387.2 MB, free: 8.852 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.218e-06/0.01305, allocations: 8.406 kB / 387.2 MB, free: 8.844 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.985e-05/0.01314, allocations: 20 kB / 387.2 MB, free: 8.824 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.978e-05/0.01316, allocations: 19.98 kB / 387.2 MB, free: 8.805 MB / 362.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.0001059/0.01327, allocations: 184.4 kB / 387.4 MB, free: 8.613 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.052e-05/0.01334, allocations: 39.81 kB / 387.4 MB, free: 8.574 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.684e-05/0.01339, allocations: 37.77 kB / 387.5 MB, free: 8.539 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.01339, allocations: 7.938 kB / 387.5 MB, free: 8.531 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.0134, allocations: 320 / 387.5 MB, free: 8.531 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.0134, allocations: 0 / 387.5 MB, free: 8.531 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001329/0.01473, allocations: 0.986 MB / 388.5 MB, free: 7.492 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.01473, allocations: 0 / 388.5 MB, free: 7.492 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000201/0.01494, allocations: 75.89 kB / 388.5 MB, free: 7.418 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.01494, allocations: 4 kB / 388.5 MB, free: 7.414 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.691e-05/0.01496, allocations: 4 kB / 388.5 MB, free: 7.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/0.01496, allocations: 4 kB / 388.6 MB, free: 7.406 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.01496, allocations: 4 kB / 388.6 MB, free: 7.402 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004759/0.01544, allocations: 0.7583 MB / 389.3 MB, free: 6.613 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.731e-05/0.01547, allocations: 31.8 kB / 389.3 MB, free: 6.582 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.855e-05/0.0155, allocations: 8 kB / 389.4 MB, free: 6.574 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000133/0.01563, allocations: 12 kB / 389.4 MB, free: 6.562 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.2e-05/0.0157, allocations: 31.89 kB / 389.4 MB, free: 6.531 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.419e-05/0.01571, allocations: 11.98 kB / 389.4 MB, free: 6.52 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001027/0.01582, allocations: 193.1 kB / 389.6 MB, free: 6.332 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01582, allocations: 0 / 389.6 MB, free: 6.332 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003301/0.01615, allocations: 64 kB / 389.7 MB, free: 6.27 MB / 362.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.000102/0.01625, allocations: 107.2 kB / 389.8 MB, free: 6.152 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002805/0.01653, allocations: 180.9 kB / 389.9 MB, free: 5.973 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.01653, allocations: 0 / 389.9 MB, free: 5.973 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001002/0.01663, allocations: 87.52 kB / 390 MB, free: 5.883 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004517/0.01708, allocations: 49.11 kB / 390.1 MB, free: 5.836 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001141/0.01822, allocations: 0.7552 MB / 390.8 MB, free: 5.027 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.272e-05/0.0183, allocations: 92.92 kB / 390.9 MB, free: 4.914 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.901e-05/0.01839, allocations: 38.94 kB / 391 MB, free: 4.879 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.382e-05/0.01845, allocations: 28.5 kB / 391 MB, free: 4.852 MB / 362.7 MB Notification: Performance of SimCode: time 7.41e-07/0.01845, allocations: 0 / 391 MB, free: 4.852 MB / 362.7 MB Notification: Performance of Templates: time 0.004632/0.02308, allocations: 2.406 MB / 393.4 MB, free: 2.48 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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.234304526820779]