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.000837/0.000837, allocations: 84.44 kB / 20.7 MB, free: 3.875 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.0009412/0.0009412, allocations: 169.9 kB / 23.96 MB, free: 0.6094 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.847/0.847, allocations: 158.6 MB / 185.7 MB, free: 3.047 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.1302/0.1302, allocations: 32.37 MB / 270.4 MB, free: 14.96 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.725e-06/2.725e-06, allocations: 0 / 408.1 MB, free: 1.773 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.629e-05/3.901e-05, allocations: 6.078 kB / 408.1 MB, free: 1.77 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.002999/0.003038, allocations: 2.455 MB / 410.5 MB, free: 15.3 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.00126/0.004298, allocations: 0.6631 MB / 411.2 MB, free: 14.62 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001941/0.004492, allocations: 11.94 kB / 411.2 MB, free: 14.61 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001533/0.004645, allocations: 43.52 kB / 411.3 MB, free: 14.57 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001644/0.004809, allocations: 95.14 kB / 411.3 MB, free: 14.48 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003114/0.005121, allocations: 87.75 kB / 411.4 MB, free: 14.39 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003472/0.005468, allocations: 350.3 kB / 411.8 MB, free: 14.05 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001913/0.005659, allocations: 54.14 kB / 411.8 MB, free: 14 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002783/0.005938, allocations: 187.6 kB / 412 MB, free: 13.81 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001237/0.006061, allocations: 99.69 kB / 412.1 MB, free: 13.71 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 4.422e-05/0.006105, allocations: 24 kB / 412.1 MB, free: 13.69 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.486e-05/0.00613, allocations: 20 kB / 412.2 MB, free: 13.67 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 3.873e-05/0.006169, allocations: 59.75 kB / 412.2 MB, free: 13.61 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 7.243e-05/0.006241, allocations: 99.75 kB / 412.3 MB, free: 13.52 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003194/0.006561, allocations: 298.9 kB / 412.6 MB, free: 13.22 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.006566, allocations: 0 / 412.6 MB, free: 13.22 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.006568, allocations: 0 / 412.6 MB, free: 13.22 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.006575, allocations: 0 / 412.6 MB, free: 13.22 MB / 394.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.0007344/0.007309, allocations: 0.5168 MB / 413.1 MB, free: 12.68 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.007354, allocations: 12.03 kB / 413.1 MB, free: 12.66 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.187e-05/0.007416, allocations: 32.75 kB / 413.2 MB, free: 12.63 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003222/0.007738, allocations: 208.9 kB / 413.4 MB, free: 12.4 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.007756, allocations: 16.88 kB / 413.4 MB, free: 12.39 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.272e-05/0.007799, allocations: 32.38 kB / 413.4 MB, free: 12.36 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003354/0.008134, allocations: 273.7 kB / 413.7 MB, free: 12.06 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.775e-05/0.008152, allocations: 12.06 kB / 413.7 MB, free: 12.05 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.00817, allocations: 16.38 kB / 413.7 MB, free: 12.04 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.338e-06/0.00818, allocations: 11.94 kB / 413.7 MB, free: 12.02 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002462/0.008426, allocations: 171.8 kB / 413.9 MB, free: 11.86 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001084/0.00951, allocations: 1.158 MB / 415 MB, free: 10.62 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002732/0.009783, allocations: 238.4 kB / 415.3 MB, free: 10.35 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001112/0.009894, allocations: 91.58 kB / 415.4 MB, free: 10.25 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.009915, allocations: 7.938 kB / 415.4 MB, free: 10.24 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.009938, allocations: 42.55 kB / 415.4 MB, free: 10.19 MB / 394.7 MB Notification: Performance of pre-optimization done (n=26): time 1.603e-06/0.00994, allocations: 0 / 415.4 MB, free: 10.19 MB / 394.7 MB Notification: Performance of matching and sorting (n=32): time 0.001475/0.01141, allocations: 1.206 MB / 416.6 MB, free: 8.867 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.863e-05/0.01147, allocations: 132.5 kB / 416.8 MB, free: 8.707 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001623/0.01164, allocations: 229.8 kB / 417 MB, free: 8.477 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.01166, allocations: 33.7 kB / 417 MB, free: 8.438 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.509e-05/0.01174, allocations: 180.5 kB / 417.2 MB, free: 8.254 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.365e-05/0.0118, allocations: 119 kB / 417.3 MB, free: 8.137 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.059e-05/0.01187, allocations: 74.14 kB / 417.4 MB, free: 8.059 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.028e-05/0.01196, allocations: 338.8 kB / 417.7 MB, free: 7.719 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001472/0.01211, allocations: 104.9 kB / 417.8 MB, free: 7.613 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001934/0.01231, allocations: 234 kB / 418 MB, free: 7.324 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003708/0.01268, allocations: 372.8 kB / 418.4 MB, free: 6.898 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.01268, allocations: 4 kB / 418.4 MB, free: 6.895 MB / 394.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0004529/0.01313, allocations: 393.5 kB / 418.8 MB, free: 6.504 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.01315, allocations: 11.98 kB / 418.8 MB, free: 6.492 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.01316, allocations: 8.031 kB / 418.8 MB, free: 6.484 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.026e-05/0.01318, allocations: 15.92 kB / 418.8 MB, free: 6.469 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002303/0.01341, allocations: 95.88 kB / 418.9 MB, free: 6.375 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.01342, allocations: 7.938 kB / 418.9 MB, free: 6.367 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001102/0.01353, allocations: 27.98 kB / 419 MB, free: 6.34 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.671e-05/0.01355, allocations: 16 kB / 419 MB, free: 6.324 MB / 394.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.0001114/0.01366, allocations: 161.8 kB / 419.1 MB, free: 6.156 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.092e-05/0.01372, allocations: 27.81 kB / 419.2 MB, free: 6.129 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.975e-05/0.01377, allocations: 37.77 kB / 419.2 MB, free: 6.09 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.01378, allocations: 7.938 kB / 419.2 MB, free: 6.082 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.01378, allocations: 0 / 419.2 MB, free: 6.082 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.01379, allocations: 4 kB / 419.2 MB, free: 6.078 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008713/0.01466, allocations: 0.8727 MB / 420.1 MB, free: 5.16 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.01466, allocations: 4.094 kB / 420.1 MB, free: 5.156 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000193/0.01486, allocations: 87.88 kB / 420.2 MB, free: 5.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.229e-06/0.01486, allocations: 4 kB / 420.2 MB, free: 5.066 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.651e-05/0.01488, allocations: 8 kB / 420.2 MB, free: 5.059 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.01488, allocations: 0 / 420.2 MB, free: 5.059 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-06/0.01489, allocations: 8 kB / 420.2 MB, free: 5.051 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006494/0.01554, allocations: 0.7289 MB / 420.9 MB, free: 4.297 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.431e-05/0.01557, allocations: 27.88 kB / 420.9 MB, free: 4.27 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.5e-05/0.0156, allocations: 8 kB / 420.9 MB, free: 4.262 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001451/0.01574, allocations: 23.97 kB / 421 MB, free: 4.238 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.786e-05/0.01581, allocations: 35.83 kB / 421 MB, free: 4.203 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.055e-05/0.01582, allocations: 8 kB / 421 MB, free: 4.195 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.292e-05/0.01591, allocations: 161.2 kB / 421.2 MB, free: 4.039 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01591, allocations: 0 / 421.2 MB, free: 4.039 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003146/0.01623, allocations: 64 kB / 421.2 MB, free: 3.977 MB / 394.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.0001073/0.01634, allocations: 99.19 kB / 421.3 MB, free: 3.871 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003884/0.01672, allocations: 263.6 kB / 421.6 MB, free: 3.613 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.01673, allocations: 0 / 421.6 MB, free: 3.613 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001554/0.01688, allocations: 128.7 kB / 421.7 MB, free: 3.488 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004678/0.01735, allocations: 40.42 kB / 421.8 MB, free: 3.449 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009287/0.01828, allocations: 0.7605 MB / 422.5 MB, free: 2.641 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000119/0.0184, allocations: 164.1 kB / 422.7 MB, free: 2.461 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.736e-05/0.01846, allocations: 36.42 kB / 422.7 MB, free: 2.426 MB / 394.7 MB Notification: Performance of SimCode: time 1.262e-06/0.01847, allocations: 0 / 422.7 MB, free: 2.426 MB / 394.7 MB Notification: Performance of Templates: time 0.004929/0.02339, allocations: 3.503 MB / 426.2 MB, free: 14.92 MB / 410.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: 4.541830386035144]