Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00153/0.00153, allocations: 96.25 kB / 20.96 MB, free: 3.469 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001605/0.001605, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.487/1.487, allocations: 177 MB / 204.4 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3431/0.3431, allocations: 34.24 MB / 295.2 MB, free: 0.6523 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Rotational.TestSpeed") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 377.2 MB, free: 2.922 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.746e-05/3.929e-05, allocations: 7.094 kB / 377.2 MB, free: 2.914 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.004725/0.004765, allocations: 2.485 MB / 379.7 MB, free: 424 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001929/0.006694, allocations: 0.6971 MB / 380.4 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003214/0.007015, allocations: 11.94 kB / 380.4 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002229/0.007238, allocations: 39.53 kB / 380.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003068/0.007545, allocations: 91.14 kB / 380.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004574/0.008002, allocations: 99.84 kB / 380.6 MB, free: 15.47 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006195/0.008622, allocations: 362.2 kB / 381 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001993/0.008821, allocations: 50.09 kB / 381 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000472/0.009293, allocations: 199.6 kB / 381.2 MB, free: 14.87 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002435/0.009537, allocations: 95.64 kB / 381.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.726e-05/0.009614, allocations: 24 kB / 381.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.262e-05/0.009706, allocations: 24 kB / 381.3 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.679e-05/0.009783, allocations: 63.73 kB / 381.4 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001471/0.00993, allocations: 91.77 kB / 381.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005498/0.01048, allocations: 314.8 kB / 381.8 MB, free: 14.27 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.371e-05/0.01049, allocations: 4 kB / 381.8 MB, free: 14.26 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.0105, allocations: 0 / 381.8 MB, free: 14.26 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.452e-05/0.01053, allocations: 0 / 381.8 MB, free: 14.26 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.001256/0.01179, allocations: 0.509 MB / 382.3 MB, free: 13.72 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.01183, allocations: 12.03 kB / 382.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003467/0.01218, allocations: 72.67 kB / 382.4 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005455/0.01272, allocations: 225.2 kB / 382.6 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.426e-05/0.01276, allocations: 20.88 kB / 382.6 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.798e-05/0.01283, allocations: 28.33 kB / 382.7 MB, free: 13.35 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005913/0.01342, allocations: 285.6 kB / 382.9 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.361e-05/0.01345, allocations: 4.188 kB / 382.9 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.418e-05/0.01349, allocations: 12.38 kB / 383 MB, free: 13.03 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.323e-05/0.0135, allocations: 11.92 kB / 383 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005156/0.01401, allocations: 179.8 kB / 383.1 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002011/0.01603, allocations: 1.166 MB / 384.3 MB, free: 11.59 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005387/0.01656, allocations: 246.4 kB / 384.6 MB, free: 11.32 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002379/0.0168, allocations: 95.52 kB / 384.6 MB, free: 11.21 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.354e-05/0.01684, allocations: 7.938 kB / 384.7 MB, free: 11.2 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.722e-05/0.01688, allocations: 42.55 kB / 384.7 MB, free: 11.15 MB / 362.7 MB Notification: Performance of pre-optimization done (n=26): time 2.034e-06/0.01689, allocations: 0 / 384.7 MB, free: 11.15 MB / 362.7 MB Notification: Performance of matching and sorting (n=32): time 0.0029/0.01979, allocations: 1.206 MB / 385.9 MB, free: 9.832 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001049/0.01989, allocations: 140.5 kB / 386 MB, free: 9.664 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002903/0.02018, allocations: 237.8 kB / 386.3 MB, free: 9.422 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.352e-05/0.02021, allocations: 29.7 kB / 386.3 MB, free: 9.387 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001641/0.02038, allocations: 176.5 kB / 386.5 MB, free: 9.211 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001173/0.0205, allocations: 119.2 kB / 386.6 MB, free: 9.094 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001228/0.02062, allocations: 70.19 kB / 386.7 MB, free: 9.02 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001947/0.02081, allocations: 338.8 kB / 387 MB, free: 8.68 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002849/0.0211, allocations: 100.9 kB / 387.1 MB, free: 8.582 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000423/0.02152, allocations: 246 kB / 387.3 MB, free: 8.281 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007148/0.02224, allocations: 360.8 kB / 387.7 MB, free: 7.867 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.189e-06/0.02224, allocations: 4 kB / 387.7 MB, free: 7.863 MB / 362.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009247/0.02317, allocations: 421.1 kB / 388.1 MB, free: 7.445 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.02319, allocations: 8 kB / 388.1 MB, free: 7.438 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.0232, allocations: 4.406 kB / 388.1 MB, free: 7.434 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.207e-05/0.02323, allocations: 15.94 kB / 388.1 MB, free: 7.418 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004142/0.02365, allocations: 99.88 kB / 388.2 MB, free: 7.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.66e-05/0.02366, allocations: 7.938 kB / 388.2 MB, free: 7.312 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002609/0.02392, allocations: 27.92 kB / 388.3 MB, free: 7.285 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.347e-05/0.02396, allocations: 19.98 kB / 388.3 MB, free: 7.266 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.0001911/0.02415, allocations: 149.7 kB / 388.4 MB, free: 7.109 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001464/0.02429, allocations: 39.81 kB / 388.5 MB, free: 7.07 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.446e-05/0.02438, allocations: 37.77 kB / 388.5 MB, free: 7.039 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/0.02439, allocations: 11.94 kB / 388.5 MB, free: 7.027 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.976e-06/0.0244, allocations: 0 / 388.5 MB, free: 7.027 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.0244, allocations: 0 / 388.5 MB, free: 7.027 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001694/0.0261, allocations: 0.8803 MB / 389.4 MB, free: 6.102 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.461e-05/0.02611, allocations: 8.062 kB / 389.4 MB, free: 6.094 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000379/0.02649, allocations: 75.88 kB / 389.5 MB, free: 6.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.705e-06/0.0265, allocations: 4 kB / 389.5 MB, free: 6.016 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.662e-05/0.02652, allocations: 8 kB / 389.5 MB, free: 6.008 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.02653, allocations: 3.938 kB / 389.5 MB, free: 6.004 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.02653, allocations: 4 kB / 389.5 MB, free: 6 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00118/0.02771, allocations: 0.737 MB / 390.2 MB, free: 5.238 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.089e-05/0.02777, allocations: 31.8 kB / 390.3 MB, free: 5.207 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.974e-05/0.02781, allocations: 4.062 kB / 390.3 MB, free: 5.203 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002974/0.02811, allocations: 19.98 kB / 390.3 MB, free: 5.184 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/0.02822, allocations: 31.89 kB / 390.3 MB, free: 5.152 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.928e-05/0.02824, allocations: 8 kB / 390.3 MB, free: 5.145 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001795/0.02842, allocations: 165.2 kB / 390.5 MB, free: 4.984 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02842, allocations: 0 / 390.5 MB, free: 4.984 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005244/0.02894, allocations: 71.94 kB / 390.6 MB, free: 4.914 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.0001447/0.02909, allocations: 103.1 kB / 390.7 MB, free: 4.801 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007257/0.02981, allocations: 272.9 kB / 390.9 MB, free: 4.535 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.02981, allocations: 0 / 390.9 MB, free: 4.535 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003209/0.03014, allocations: 120.2 kB / 391 MB, free: 4.418 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006929/0.03083, allocations: 51.98 kB / 391.1 MB, free: 4.367 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001518/0.03235, allocations: 0.7517 MB / 391.8 MB, free: 3.57 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002277/0.03257, allocations: 168.1 kB / 392 MB, free: 3.383 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000145/0.03272, allocations: 34.95 kB / 392 MB, free: 3.352 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.194e-05/0.03281, allocations: 28.48 kB / 392.1 MB, free: 3.324 MB / 362.7 MB Notification: Performance of SimCode: time 4.51e-07/0.03281, allocations: 3.938 kB / 392.1 MB, free: 3.32 MB / 362.7 MB Notification: Performance of Templates: time 0.00711/0.03992, allocations: 2.395 MB / 394.5 MB, free: 0.957 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/TestSpeed/TestSpeed.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.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.760672492906451]