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.001852/0.001852, allocations: 88.23 kB / 20.21 MB, free: 4.227 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.002166/0.002166, allocations: 157.7 kB / 23.52 MB, free: 0.918 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 1.532/1.532, allocations: 158.6 MB / 185.3 MB, free: 2.91 MB / 170.7 MB " [Timeout remaining time 178] 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.248/0.248, allocations: 32.37 MB / 270 MB, free: 14.88 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.683e-06/1.683e-06, allocations: 0 / 346.9 MB, free: 9.848 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.313e-05/2.482e-05, allocations: 6.312 kB / 346.9 MB, free: 9.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.003835/0.00386, allocations: 2.463 MB / 349.4 MB, free: 7.363 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00118/0.00504, allocations: 0.6709 MB / 350 MB, free: 6.684 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001235/0.005163, allocations: 7.938 kB / 350 MB, free: 6.676 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001452/0.005308, allocations: 39.58 kB / 350.1 MB, free: 6.637 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001435/0.005452, allocations: 91.14 kB / 350.2 MB, free: 6.547 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002344/0.005686, allocations: 95.69 kB / 350.3 MB, free: 6.453 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002415/0.005928, allocations: 346.3 kB / 350.6 MB, free: 6.113 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000131/0.006059, allocations: 50.14 kB / 350.7 MB, free: 6.07 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001858/0.006245, allocations: 191.6 kB / 350.8 MB, free: 5.883 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001163/0.006361, allocations: 91.7 kB / 350.9 MB, free: 5.793 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.582e-05/0.006397, allocations: 24 kB / 351 MB, free: 5.77 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.559e-05/0.006432, allocations: 20 kB / 351 MB, free: 5.75 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.571e-05/0.006468, allocations: 59.75 kB / 351 MB, free: 5.691 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.737e-05/0.006555, allocations: 99.75 kB / 351.1 MB, free: 5.594 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002353/0.006791, allocations: 302.9 kB / 351.4 MB, free: 5.297 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.006793, allocations: 0 / 351.4 MB, free: 5.297 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.006794, allocations: 4 kB / 351.4 MB, free: 5.293 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.71e-06/0.0068, allocations: 3.984 kB / 351.4 MB, free: 5.289 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.0007052/0.007505, allocations: 0.509 MB / 351.9 MB, free: 4.75 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.007539, allocations: 19.97 kB / 352 MB, free: 4.73 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.429e-05/0.007624, allocations: 56.7 kB / 352 MB, free: 4.676 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000265/0.007889, allocations: 201.3 kB / 352.2 MB, free: 4.453 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/0.007907, allocations: 16.88 kB / 352.2 MB, free: 4.434 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.971e-05/0.007957, allocations: 36.33 kB / 352.3 MB, free: 4.398 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000402/0.008359, allocations: 281.7 kB / 352.5 MB, free: 4.102 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/0.008379, allocations: 4.141 kB / 352.5 MB, free: 4.098 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.593e-05/0.008405, allocations: 12.38 kB / 352.6 MB, free: 4.086 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.008413, allocations: 15.94 kB / 352.6 MB, free: 4.07 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000368/0.008781, allocations: 179.8 kB / 352.7 MB, free: 3.895 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00121/0.009991, allocations: 1.162 MB / 353.9 MB, free: 2.652 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003214/0.01031, allocations: 238.5 kB / 354.1 MB, free: 2.383 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001794/0.01049, allocations: 99.38 kB / 354.2 MB, free: 2.273 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.583e-05/0.01052, allocations: 8 kB / 354.2 MB, free: 2.266 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.878e-05/0.01054, allocations: 30.56 kB / 354.3 MB, free: 2.227 MB / 282.7 MB Notification: Performance of pre-optimization done (n=26): time 1.292e-06/0.01054, allocations: 0 / 354.3 MB, free: 2.227 MB / 282.7 MB Notification: Performance of matching and sorting (n=32): time 0.002067/0.0126, allocations: 1.21 MB / 355.5 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/0.01264, allocations: 140.5 kB / 355.6 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/0.01279, allocations: 225.9 kB / 355.8 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.01281, allocations: 29.7 kB / 355.9 MB, free: 472 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.577e-05/0.01288, allocations: 184.7 kB / 356.1 MB, free: 284 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.461e-05/0.01293, allocations: 118.9 kB / 356.2 MB, free: 164 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.579e-05/0.01301, allocations: 74.19 kB / 356.2 MB, free: 84 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001807/0.01319, allocations: 334.8 kB / 356.6 MB, free: 15.75 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002989/0.01349, allocations: 108.9 kB / 356.7 MB, free: 15.64 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003988/0.01389, allocations: 234 kB / 356.9 MB, free: 15.35 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007245/0.01461, allocations: 373.3 kB / 357.3 MB, free: 14.93 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.01461, allocations: 0 / 357.3 MB, free: 14.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008887/0.0155, allocations: 421.5 kB / 357.7 MB, free: 14.51 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.01552, allocations: 8.062 kB / 357.7 MB, free: 14.5 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.587e-05/0.01554, allocations: 8 kB / 357.7 MB, free: 14.49 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.747e-05/0.01556, allocations: 7.938 kB / 357.7 MB, free: 14.48 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004076/0.01597, allocations: 99.88 kB / 357.8 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.525e-05/0.01599, allocations: 11.94 kB / 357.8 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002224/0.01621, allocations: 23.94 kB / 357.8 MB, free: 14.35 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.678e-05/0.01624, allocations: 23.98 kB / 357.9 MB, free: 14.33 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.0001847/0.01643, allocations: 149.7 kB / 358 MB, free: 14.17 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001223/0.01655, allocations: 39.86 kB / 358 MB, free: 14.13 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.538e-05/0.01664, allocations: 37.77 kB / 358.1 MB, free: 14.09 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/0.01665, allocations: 11.88 kB / 358.1 MB, free: 14.08 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.01665, allocations: 0 / 358.1 MB, free: 14.08 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.01666, allocations: 4.312 kB / 358.1 MB, free: 14.08 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001633/0.01829, allocations: 0.8838 MB / 359 MB, free: 13.15 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/0.0183, allocations: 7.938 kB / 359 MB, free: 13.14 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003792/0.01868, allocations: 71.94 kB / 359.1 MB, free: 13.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.957e-06/0.01869, allocations: 4 kB / 359.1 MB, free: 13.07 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.434e-05/0.01871, allocations: 8 kB / 359.1 MB, free: 13.06 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.01872, allocations: 7.938 kB / 359.1 MB, free: 13.05 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.01872, allocations: 0 / 359.1 MB, free: 13.05 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00118/0.0199, allocations: 0.7406 MB / 359.8 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.517e-05/0.01994, allocations: 23.86 kB / 359.8 MB, free: 12.26 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.517e-05/0.01999, allocations: 8.047 kB / 359.9 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003138/0.0203, allocations: 19.98 kB / 359.9 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.7e-05/0.02039, allocations: 31.89 kB / 359.9 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.205e-05/0.02041, allocations: 12 kB / 359.9 MB, free: 12.19 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001578/0.02057, allocations: 157.2 kB / 360.1 MB, free: 12.04 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02057, allocations: 4 kB / 360.1 MB, free: 12.04 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005034/0.02107, allocations: 68 kB / 360.1 MB, free: 11.97 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.0001425/0.02122, allocations: 99.19 kB / 360.2 MB, free: 11.86 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006606/0.02188, allocations: 267.9 kB / 360.5 MB, free: 11.6 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.02188, allocations: 0 / 360.5 MB, free: 11.6 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003297/0.02221, allocations: 120.6 kB / 360.6 MB, free: 11.48 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006682/0.02288, allocations: 50.16 kB / 360.7 MB, free: 11.44 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001434/0.02431, allocations: 0.7471 MB / 361.4 MB, free: 10.65 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001934/0.0245, allocations: 164.1 kB / 361.6 MB, free: 10.47 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000144/0.02465, allocations: 38.94 kB / 361.6 MB, free: 10.43 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.69e-05/0.02473, allocations: 28.5 kB / 361.6 MB, free: 10.4 MB / 298.7 MB Notification: Performance of SimCode: time 9.12e-07/0.02473, allocations: 3.938 kB / 361.6 MB, free: 10.39 MB / 298.7 MB Notification: Performance of Templates: time 0.006736/0.03147, allocations: 2.393 MB / 364 MB, free: 8.035 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 5.075579624040984]