Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.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.002557/0.002557, allocations: 92.97 kB / 20.21 MB, free: 4.211 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.003297/0.003297, allocations: 165.2 kB / 23.53 MB, free: 0.8984 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.38/1.38, allocations: 158.6 MB / 185.3 MB, free: 2.906 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.2044/0.2044, allocations: 32.37 MB / 270 MB, free: 14.64 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.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 346.9 MB, free: 9.809 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.1e-05/3.275e-05, allocations: 6.25 kB / 346.9 MB, free: 9.801 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.003476/0.003509, allocations: 2.814 MB / 349.7 MB, free: 6.973 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001247/0.004756, allocations: 0.7447 MB / 350.5 MB, free: 6.219 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001664/0.004922, allocations: 15.88 kB / 350.5 MB, free: 6.203 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001967/0.005119, allocations: 59.39 kB / 350.6 MB, free: 6.145 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000222/0.005341, allocations: 134.8 kB / 350.7 MB, free: 6.012 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002879/0.005629, allocations: 91.86 kB / 350.8 MB, free: 5.922 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003189/0.005948, allocations: 470.1 kB / 351.2 MB, free: 5.461 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002195/0.006167, allocations: 130.7 kB / 351.4 MB, free: 5.332 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002846/0.006452, allocations: 255.5 kB / 351.6 MB, free: 5.082 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001871/0.006639, allocations: 139.6 kB / 351.8 MB, free: 4.945 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.11e-05/0.00669, allocations: 36 kB / 351.8 MB, free: 4.91 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.723e-05/0.006747, allocations: 32 kB / 351.8 MB, free: 4.879 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.714e-05/0.006804, allocations: 87.66 kB / 351.9 MB, free: 4.793 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001124/0.006917, allocations: 143.7 kB / 352 MB, free: 4.652 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003918/0.007309, allocations: 462.4 kB / 352.5 MB, free: 4.199 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.007312, allocations: 3.938 kB / 352.5 MB, free: 4.195 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.007313, allocations: 0 / 352.5 MB, free: 4.195 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.764e-06/0.007321, allocations: 0 / 352.5 MB, free: 4.195 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0008644/0.008185, allocations: 0.7141 MB / 353.2 MB, free: 3.441 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.008225, allocations: 8.031 kB / 353.2 MB, free: 3.434 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001189/0.008344, allocations: 76.66 kB / 353.3 MB, free: 3.359 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002839/0.008628, allocations: 244.8 kB / 353.5 MB, free: 3.09 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.66e-05/0.008655, allocations: 29.38 kB / 353.6 MB, free: 3.062 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.335e-05/0.008718, allocations: 40.36 kB / 353.6 MB, free: 3.023 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005365/0.009254, allocations: 394.1 kB / 354 MB, free: 2.617 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.633e-05/0.009291, allocations: 12.08 kB / 354 MB, free: 2.605 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.972e-05/0.00932, allocations: 16.38 kB / 354 MB, free: 2.59 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/0.00933, allocations: 15.94 kB / 354 MB, free: 2.574 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003755/0.009706, allocations: 223.9 kB / 354.3 MB, free: 2.355 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001315/0.01102, allocations: 1.119 MB / 355.4 MB, free: 1.191 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004427/0.01146, allocations: 365.2 kB / 355.7 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002139/0.01168, allocations: 170.9 kB / 355.9 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.536e-05/0.01171, allocations: 4 kB / 355.9 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.937e-05/0.01173, allocations: 49.33 kB / 356 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of pre-optimization done (n=39): time 1.734e-06/0.01173, allocations: 0 / 356 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of matching and sorting (n=57): time 0.003958/0.01569, allocations: 2.076 MB / 358 MB, free: 14.3 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.048e-05/0.01578, allocations: 106.8 kB / 358.1 MB, free: 14.18 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002943/0.01608, allocations: 270.8 kB / 358.4 MB, free: 13.89 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.824e-05/0.01611, allocations: 33.7 kB / 358.4 MB, free: 13.86 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002094/0.01632, allocations: 248.1 kB / 358.7 MB, free: 13.61 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002291/0.01655, allocations: 218.2 kB / 358.9 MB, free: 13.39 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001692/0.01672, allocations: 108 kB / 359 MB, free: 13.28 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0003292/0.01705, allocations: 0.5313 MB / 359.5 MB, free: 12.73 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002829/0.01733, allocations: 121.2 kB / 359.6 MB, free: 12.61 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004295/0.01776, allocations: 274.6 kB / 359.9 MB, free: 12.3 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007444/0.01851, allocations: 432 kB / 360.3 MB, free: 11.82 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.01851, allocations: 3.938 kB / 360.3 MB, free: 11.82 MB / 298.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001196/0.01971, allocations: 0.5779 MB / 360.9 MB, free: 11.22 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.435e-05/0.01974, allocations: 11.94 kB / 360.9 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.01975, allocations: 192 / 360.9 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005021/0.02025, allocations: 151 kB / 361.1 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004026/0.02066, allocations: 95.88 kB / 361.2 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006627/0.02728, allocations: 6.675 MB / 367.8 MB, free: 3.922 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002879/0.02757, allocations: 15.98 kB / 367.9 MB, free: 3.906 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.6e-05/0.02761, allocations: 20 kB / 367.9 MB, free: 3.887 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (51): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004524/0.02806, allocations: 216.5 kB / 368.1 MB, free: 3.664 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001395/0.0282, allocations: 55.75 kB / 368.1 MB, free: 3.609 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001083/0.02831, allocations: 45.73 kB / 368.2 MB, free: 3.566 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.306e-06/0.02832, allocations: 4 kB / 368.2 MB, free: 3.562 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.291e-05/0.02833, allocations: 4 kB / 368.2 MB, free: 3.559 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/0.02834, allocations: 7.984 kB / 368.2 MB, free: 3.551 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002364/0.0307, allocations: 1.398 MB / 369.6 MB, free: 2.082 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.03071, allocations: 4 kB / 369.6 MB, free: 2.078 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004418/0.03115, allocations: 99.81 kB / 369.7 MB, free: 1.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003635/0.03151, allocations: 107.1 kB / 369.8 MB, free: 1.863 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.118e-05/0.03155, allocations: 8 kB / 369.8 MB, free: 1.855 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005491/0.03704, allocations: 5.639 MB / 375.5 MB, free: 11.84 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.03704, allocations: 0 / 375.5 MB, free: 11.84 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001806/0.03885, allocations: 1.082 MB / 376.5 MB, free: 10.71 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.649e-05/0.03893, allocations: 27.77 kB / 376.6 MB, free: 10.69 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.747e-05/0.03898, allocations: 16 kB / 376.6 MB, free: 10.67 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002414/0.03922, allocations: 12 kB / 376.6 MB, free: 10.66 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001432/0.03936, allocations: 51.78 kB / 376.6 MB, free: 10.61 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.199e-05/0.0394, allocations: 16 kB / 376.7 MB, free: 10.59 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001965/0.03959, allocations: 192.1 kB / 376.8 MB, free: 10.41 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03959, allocations: 4 kB / 376.8 MB, free: 10.4 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007791/0.04037, allocations: 120 kB / 377 MB, free: 10.29 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (J5.phi,J5.w,J3.phi,J3.w,J1.phi,J1.w) * 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 (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001838/0.04056, allocations: 111.2 kB / 377.1 MB, free: 10.16 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001722/0.04228, allocations: 0.9497 MB / 378 MB, free: 9.164 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.04228, allocations: 8.188 kB / 378 MB, free: 9.156 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001097/0.04338, allocations: 0.7574 MB / 378.8 MB, free: 8.344 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006888/0.04407, allocations: 57.78 kB / 378.8 MB, free: 8.289 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002042/0.04611, allocations: 1 MB / 379.8 MB, free: 7.234 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002758/0.04638, allocations: 216.9 kB / 380.1 MB, free: 7.008 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001434/0.04653, allocations: 27.28 kB / 380.1 MB, free: 6.98 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.472e-05/0.04662, allocations: 36.44 kB / 380.1 MB, free: 6.941 MB / 314.7 MB Notification: Performance of SimCode: time 2.214e-06/0.04663, allocations: 0 / 380.1 MB, free: 6.941 MB / 314.7 MB Notification: Performance of Templates: time 0.01202/0.05864, allocations: 4.44 MB / 384.6 MB, free: 2.547 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.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.101413670927286]