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.001511/0.001511, allocations: 76.27 kB / 22.21 MB, free: 2.297 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.001474/0.001474, allocations: 168.9 kB / 25.61 MB, free: 8.902 MB / 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 0.908/0.908, allocations: 177 MB / 205.9 MB, free: 4.453 MB / 186.7 MB " [Timeout remaining time 179] 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.1786/0.1786, allocations: 34.88 MB / 297.4 MB, free: 13.2 MB / 282.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.252e-06/1.252e-06, allocations: 0 / 380 MB, free: 22.76 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.054e-05/1.179e-05, allocations: 3.438 kB / 380 MB, free: 22.76 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.00755/0.007561, allocations: 2.605 MB / 382.6 MB, free: 20.14 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008556/0.008417, allocations: 0.7088 MB / 383.3 MB, free: 19.43 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001289/0.008546, allocations: 15.88 kB / 383.3 MB, free: 19.41 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000125/0.008671, allocations: 39.58 kB / 383.3 MB, free: 19.38 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001329/0.008804, allocations: 91.14 kB / 383.4 MB, free: 19.29 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002296/0.009033, allocations: 111.7 kB / 383.5 MB, free: 19.18 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002422/0.009276, allocations: 350.4 kB / 383.9 MB, free: 18.83 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.009393, allocations: 62.11 kB / 383.9 MB, free: 18.77 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001931/0.009586, allocations: 195.4 kB / 384.1 MB, free: 18.58 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001125/0.009699, allocations: 103.7 kB / 384.2 MB, free: 18.48 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.755e-05/0.009726, allocations: 24 kB / 384.3 MB, free: 18.45 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.096e-05/0.009777, allocations: 24 kB / 384.3 MB, free: 18.43 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003036/0.01281, allocations: 67.73 kB / 384.4 MB, free: 18.36 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 7.091e-05/0.01288, allocations: 87.77 kB / 384.4 MB, free: 18.28 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002087/0.01309, allocations: 211.2 kB / 384.6 MB, free: 18.07 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.01309, allocations: 0 / 384.6 MB, free: 18.07 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.0131, allocations: 0 / 384.6 MB, free: 18.07 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.499e-06/0.0131, allocations: 0 / 384.6 MB, free: 18.07 MB / 314.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.0005148/0.01361, allocations: 0.6244 MB / 385.3 MB, free: 17.41 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.931e-05/0.01364, allocations: 8.031 kB / 385.3 MB, free: 17.4 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001647/0.01381, allocations: 72.69 kB / 385.3 MB, free: 17.33 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001942/0.014, allocations: 216.1 kB / 385.6 MB, free: 17.09 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.01402, allocations: 20.81 kB / 385.6 MB, free: 17.07 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.485e-05/0.01405, allocations: 36.36 kB / 385.6 MB, free: 17.04 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002222/0.01428, allocations: 239.4 kB / 385.8 MB, free: 16.77 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.01429, allocations: 12.08 kB / 385.9 MB, free: 16.76 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.624e-05/0.01431, allocations: 8.375 kB / 385.9 MB, free: 16.75 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.136e-06/0.01432, allocations: 15.88 kB / 385.9 MB, free: 16.73 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001115/0.01443, allocations: 85.11 kB / 386 MB, free: 16.66 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007724/0.0152, allocations: 1.382 MB / 387.3 MB, free: 15.19 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001678/0.01537, allocations: 212.2 kB / 387.6 MB, free: 14.93 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.409e-05/0.01542, allocations: 62.73 kB / 387.6 MB, free: 14.86 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.646e-05/0.01544, allocations: 11.98 kB / 387.6 MB, free: 14.84 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.712e-05/0.01546, allocations: 45.52 kB / 387.7 MB, free: 14.79 MB / 314.7 MB Notification: Performance of pre-optimization done (n=26): time 1.392e-06/0.01546, allocations: 0 / 387.7 MB, free: 14.79 MB / 314.7 MB Notification: Performance of matching and sorting (n=32): time 0.0039/0.01936, allocations: 0.8414 MB / 388.5 MB, free: 13.82 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.029e-05/0.01939, allocations: 144.4 kB / 388.7 MB, free: 13.65 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.0195, allocations: 276.1 kB / 388.9 MB, free: 13.36 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.242e-05/0.01951, allocations: 33.7 kB / 389 MB, free: 13.32 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.217e-05/0.01957, allocations: 227.2 kB / 389.2 MB, free: 13.1 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.831e-05/0.01962, allocations: 119 kB / 389.3 MB, free: 12.98 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.021e-05/0.01969, allocations: 75.81 kB / 389.4 MB, free: 12.9 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.839e-05/0.01975, allocations: 0.5117 MB / 389.9 MB, free: 12.38 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.146e-05/0.0198, allocations: 32.97 kB / 389.9 MB, free: 12.34 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001042/0.01991, allocations: 240.3 kB / 390.1 MB, free: 12.03 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001937/0.0201, allocations: 305.5 kB / 390.4 MB, free: 11.64 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.0201, allocations: 0 / 390.4 MB, free: 11.64 MB / 314.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000289/0.02039, allocations: 273 kB / 390.7 MB, free: 11.37 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.0204, allocations: 8.406 kB / 390.7 MB, free: 11.36 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.02041, allocations: 8 kB / 390.7 MB, free: 11.36 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.02042, allocations: 4 kB / 390.7 MB, free: 11.35 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002201/0.02064, allocations: 103.8 kB / 390.8 MB, free: 11.25 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.02065, allocations: 8 kB / 390.8 MB, free: 11.24 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001305/0.02078, allocations: 23.92 kB / 390.9 MB, free: 11.22 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.755e-05/0.0208, allocations: 12.23 kB / 390.9 MB, free: 11.21 MB / 314.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 7.266e-05/0.02087, allocations: 180.5 kB / 391.1 MB, free: 11.02 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.621e-05/0.02096, allocations: 39.81 kB / 391.1 MB, free: 10.98 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.147e-05/0.021, allocations: 41.75 kB / 391.1 MB, free: 10.93 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.021, allocations: 8 kB / 391.1 MB, free: 10.93 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.021, allocations: 3.938 kB / 391.1 MB, free: 10.92 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.02101, allocations: 4 kB / 391.1 MB, free: 10.92 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00367/0.02468, allocations: 0.9201 MB / 392.1 MB, free: 9.953 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.02468, allocations: 4.438 kB / 392.1 MB, free: 9.949 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002106/0.02489, allocations: 71.89 kB / 392.1 MB, free: 9.879 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.0249, allocations: 0 / 392.1 MB, free: 9.879 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.503e-05/0.02491, allocations: 16.06 kB / 392.2 MB, free: 9.863 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.02491, allocations: 4 kB / 392.2 MB, free: 9.859 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.02492, allocations: 0 / 392.2 MB, free: 9.859 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003165/0.02523, allocations: 0.7503 MB / 392.9 MB, free: 9.078 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.175e-05/0.02525, allocations: 23.84 kB / 392.9 MB, free: 9.055 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.74e-05/0.02528, allocations: 11.98 kB / 392.9 MB, free: 9.043 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001989/0.02548, allocations: 12 kB / 393 MB, free: 9.031 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.597e-05/0.02553, allocations: 23.95 kB / 393 MB, free: 9.008 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.218e-05/0.02554, allocations: 11.98 kB / 393 MB, free: 8.996 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.862e-05/0.0256, allocations: 193 kB / 393.2 MB, free: 8.809 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0256, allocations: 0 / 393.2 MB, free: 8.809 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004121/0.02601, allocations: 71.94 kB / 393.3 MB, free: 8.738 MB / 314.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 6.112e-05/0.02607, allocations: 99.97 kB / 393.4 MB, free: 8.633 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001988/0.02627, allocations: 161.1 kB / 393.5 MB, free: 8.473 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.02627, allocations: 0 / 393.5 MB, free: 8.473 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.006e-05/0.02635, allocations: 88.17 kB / 393.6 MB, free: 8.383 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000528/0.02688, allocations: 51.12 kB / 393.6 MB, free: 8.336 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005866/0.03275, allocations: 0.742 MB / 394.4 MB, free: 7.547 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.384e-05/0.03281, allocations: 92.92 kB / 394.5 MB, free: 7.434 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 9.946e-05/0.03291, allocations: 38.94 kB / 394.5 MB, free: 7.395 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001078/0.03302, allocations: 114.2 kB / 394.6 MB, free: 7.281 MB / 314.7 MB Notification: Performance of SimCode: time 6.62e-07/0.03302, allocations: 0 / 394.6 MB, free: 7.281 MB / 314.7 MB Notification: Performance of Templates: time 0.004486/0.0375, allocations: 2.675 MB / 397.3 MB, free: 4.648 MB / 314.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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) [Timeout 240] 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","",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.1557673048228025]