Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.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.001175/0.001175, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001016/0.001016, allocations: 165.8 kB / 24.82 MB, free: 9.266 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.164/1.164, allocations: 177.1 MB / 205.3 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3454/0.3454, allocations: 32.81 MB / 294.6 MB, free: 1.242 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 376.5 MB, free: 4.438 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.246e-05/4.464e-05, allocations: 6.25 kB / 376.5 MB, free: 4.43 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.004201/0.004246, allocations: 1.698 MB / 378.2 MB, free: 2.715 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005014/0.004747, allocations: 103.6 kB / 378.3 MB, free: 2.613 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001012/0.004849, allocations: 0 / 378.3 MB, free: 2.613 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 7.966e-05/0.004928, allocations: 27.8 kB / 378.3 MB, free: 2.586 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001653/0.005094, allocations: 31.7 kB / 378.3 MB, free: 2.555 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001756/0.005269, allocations: 27.95 kB / 378.3 MB, free: 2.527 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002264/0.005496, allocations: 131.3 kB / 378.5 MB, free: 2.398 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001874/0.005683, allocations: 29.16 kB / 378.5 MB, free: 2.371 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001821/0.005865, allocations: 79.8 kB / 378.6 MB, free: 2.293 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001177/0.005983, allocations: 35.89 kB / 378.6 MB, free: 2.258 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.413e-05/0.006017, allocations: 8 kB / 378.6 MB, free: 2.25 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.787e-05/0.006045, allocations: 12 kB / 378.6 MB, free: 2.238 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.667e-05/0.006082, allocations: 15.92 kB / 378.6 MB, free: 2.223 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.567e-05/0.006147, allocations: 47.92 kB / 378.7 MB, free: 2.176 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002089/0.006356, allocations: 83.66 kB / 378.8 MB, free: 2.094 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.006362, allocations: 0 / 378.8 MB, free: 2.094 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.006363, allocations: 0 / 378.8 MB, free: 2.094 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.006369, allocations: 0 / 378.8 MB, free: 2.094 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0006258/0.006995, allocations: 440.4 kB / 379.2 MB, free: 1.621 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.061e-05/0.007056, allocations: 12.03 kB / 379.2 MB, free: 1.609 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.473e-05/0.00712, allocations: 16.89 kB / 379.2 MB, free: 1.594 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002163/0.007337, allocations: 136.4 kB / 379.4 MB, free: 1.434 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.007355, allocations: 8.609 kB / 379.4 MB, free: 1.426 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.059e-05/0.007396, allocations: 24.34 kB / 379.4 MB, free: 1.402 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001992/0.007595, allocations: 115.1 kB / 379.5 MB, free: 1.277 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.185e-05/0.007617, allocations: 8.141 kB / 379.5 MB, free: 1.27 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.007631, allocations: 4.375 kB / 379.5 MB, free: 1.266 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.007641, allocations: 4.375 kB / 379.5 MB, free: 1.262 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.95e-05/0.007721, allocations: 35.89 kB / 379.6 MB, free: 1.227 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008168/0.008538, allocations: 0.5065 MB / 380.1 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001268/0.008665, allocations: 86.17 kB / 380.2 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.867e-05/0.008703, allocations: 31.31 kB / 380.2 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.191e-05/0.008715, allocations: 0 / 380.2 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.875e-05/0.008754, allocations: 45.47 kB / 380.2 MB, free: 496 kB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 1.522e-06/0.008755, allocations: 0 / 380.2 MB, free: 496 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005091/0.009264, allocations: 132.8 kB / 380.4 MB, free: 348 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.027e-05/0.009315, allocations: 77.11 kB / 380.4 MB, free: 252 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/0.009443, allocations: 189.8 kB / 380.6 MB, free: 44 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.009458, allocations: 25.7 kB / 380.6 MB, free: 12 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.009566, allocations: 162.6 kB / 380.8 MB, free: 15.85 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.531e-05/0.009601, allocations: 35.72 kB / 380.8 MB, free: 15.81 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.051e-05/0.009662, allocations: 43.3 kB / 380.9 MB, free: 15.76 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.009829, allocations: 0.4884 MB / 381.4 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.143e-05/0.00986, allocations: 8 kB / 381.4 MB, free: 15.25 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.016e-05/0.00995, allocations: 108.5 kB / 381.5 MB, free: 15.11 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001475/0.0101, allocations: 124.7 kB / 381.6 MB, free: 14.95 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.0101, allocations: 0 / 381.6 MB, free: 14.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002846/0.01039, allocations: 161.1 kB / 381.8 MB, free: 14.77 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.51e-05/0.01041, allocations: 8 kB / 381.8 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/0.01042, allocations: 0 / 381.8 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002099/0.01063, allocations: 47.53 kB / 381.8 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.5e-05/0.01072, allocations: 27.98 kB / 381.8 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002421/0.01314, allocations: 3.422 MB / 385.3 MB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.279e-05/0.01321, allocations: 7.953 kB / 385.3 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.01322, allocations: 4 kB / 385.3 MB, free: 11.02 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001343/0.01335, allocations: 168.5 kB / 385.4 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.978e-05/0.0134, allocations: 15.94 kB / 385.5 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.11e-05/0.01343, allocations: 8 kB / 385.5 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.01344, allocations: 4.094 kB / 385.5 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/0.01345, allocations: 4 kB / 385.5 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.01345, allocations: 7.922 kB / 385.5 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002257/0.01368, allocations: 121.2 kB / 385.6 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/0.01369, allocations: 7.984 kB / 385.6 MB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.014e-05/0.01378, allocations: 8 kB / 385.6 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001291/0.0139, allocations: 35.36 kB / 385.6 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.487e-05/0.01392, allocations: 7.938 kB / 385.7 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002072/0.01599, allocations: 3.407 MB / 389.1 MB, free: 6.957 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.01599, allocations: 0 / 389.1 MB, free: 6.957 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003319/0.01633, allocations: 386.5 kB / 389.4 MB, free: 6.551 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.466e-05/0.01634, allocations: 11.88 kB / 389.5 MB, free: 6.539 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.099e-05/0.01636, allocations: 11.94 kB / 389.5 MB, free: 6.527 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.393e-05/0.01646, allocations: 0 / 389.5 MB, free: 6.527 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.133e-05/0.01649, allocations: 11.92 kB / 389.5 MB, free: 6.516 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.653e-06/0.01649, allocations: 0 / 389.5 MB, free: 6.516 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.406e-05/0.01657, allocations: 139.2 kB / 389.6 MB, free: 6.379 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01657, allocations: 0 / 389.6 MB, free: 6.379 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003985/0.01697, allocations: 35.95 kB / 389.6 MB, free: 6.344 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (J1.w,J2.phi,J3.w,J4.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 (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001624/0.01713, allocations: 103.3 kB / 389.7 MB, free: 6.23 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005229/0.01765, allocations: 399.2 kB / 390.1 MB, free: 5.801 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.01765, allocations: 0 / 390.1 MB, free: 5.801 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002693/0.01792, allocations: 371.8 kB / 390.5 MB, free: 5.398 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004589/0.01838, allocations: 37.94 kB / 390.5 MB, free: 5.367 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001008/0.01939, allocations: 394.6 kB / 390.9 MB, free: 4.949 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.112e-05/0.01946, allocations: 71.83 kB / 391 MB, free: 4.859 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.431e-05/0.01952, allocations: 4.984 kB / 391 MB, free: 4.852 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001013/0.01962, allocations: 90.17 kB / 391.1 MB, free: 4.762 MB / 362.7 MB Notification: Performance of SimCode: time 8.41e-07/0.01962, allocations: 0 / 391.1 MB, free: 4.762 MB / 362.7 MB Notification: Performance of Templates: time 0.005708/0.02533, allocations: 1.816 MB / 392.9 MB, free: 2.965 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.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.6135674412362278]