Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001393/0.001393, allocations: 95.2 kB / 20.43 MB, free: 4.145 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.00147/0.00147, allocations: 165 kB / 23.79 MB, free: 0.7812 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.871/0.871, allocations: 158.6 MB / 185.7 MB, free: 2.91 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.1335/0.1335, allocations: 32.38 MB / 270.4 MB, free: 14.71 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.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 3.984 kB / 347.6 MB, free: 9.473 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.522e-05/2.715e-05, allocations: 12.22 kB / 347.7 MB, free: 9.461 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.001865/0.001893, allocations: 1.693 MB / 349.3 MB, free: 7.758 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002563/0.002149, allocations: 107.6 kB / 349.4 MB, free: 7.652 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.47e-05/0.002204, allocations: 3.938 kB / 349.5 MB, free: 7.648 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.825e-05/0.002252, allocations: 15.86 kB / 349.5 MB, free: 7.633 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 9.648e-05/0.002348, allocations: 35.64 kB / 349.5 MB, free: 7.598 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001219/0.00247, allocations: 27.95 kB / 349.5 MB, free: 7.57 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 9.738e-05/0.002568, allocations: 131.3 kB / 349.7 MB, free: 7.441 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.002681, allocations: 29.25 kB / 349.7 MB, free: 7.414 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.675e-05/0.002768, allocations: 75.86 kB / 349.8 MB, free: 7.34 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.345e-05/0.002831, allocations: 35.89 kB / 349.8 MB, free: 7.305 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.097e-05/0.002852, allocations: 8 kB / 349.8 MB, free: 7.297 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.553e-05/0.002868, allocations: 12 kB / 349.8 MB, free: 7.285 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.092e-05/0.002889, allocations: 23.91 kB / 349.8 MB, free: 7.262 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.644e-05/0.002925, allocations: 39.92 kB / 349.9 MB, free: 7.223 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000126/0.003051, allocations: 79.73 kB / 350 MB, free: 7.145 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.564e-06/0.003054, allocations: 0 / 350 MB, free: 7.145 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.003055, allocations: 0 / 350 MB, free: 7.145 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.00306, allocations: 0 / 350 MB, free: 7.145 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0003359/0.003396, allocations: 444.3 kB / 350.4 MB, free: 6.668 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.003435, allocations: 12.03 kB / 350.4 MB, free: 6.656 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.067e-05/0.003476, allocations: 20.89 kB / 350.4 MB, free: 6.637 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.003598, allocations: 136.4 kB / 350.6 MB, free: 6.477 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.003609, allocations: 8.609 kB / 350.6 MB, free: 6.469 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.066e-05/0.00364, allocations: 16.31 kB / 350.6 MB, free: 6.453 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000144/0.003784, allocations: 113.3 kB / 350.7 MB, free: 6.332 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.003795, allocations: 8.125 kB / 350.7 MB, free: 6.324 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.003808, allocations: 8.375 kB / 350.7 MB, free: 6.316 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.003816, allocations: 4.375 kB / 350.7 MB, free: 6.312 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.62e-05/0.003873, allocations: 43.91 kB / 350.8 MB, free: 6.27 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004322/0.004305, allocations: 0.5333 MB / 351.3 MB, free: 5.695 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.494e-05/0.00439, allocations: 86.05 kB / 351.4 MB, free: 5.586 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.759e-05/0.004417, allocations: 27.55 kB / 351.4 MB, free: 5.551 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.406e-06/0.004426, allocations: 4 kB / 351.4 MB, free: 5.547 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.553e-05/0.004441, allocations: 37.39 kB / 351.4 MB, free: 5.5 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 1.262e-06/0.004443, allocations: 0 / 351.4 MB, free: 5.5 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003321/0.004775, allocations: 149.1 kB / 351.6 MB, free: 5.34 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.195e-05/0.004797, allocations: 81.05 kB / 351.7 MB, free: 5.242 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.119e-05/0.004858, allocations: 189.8 kB / 351.8 MB, free: 5.039 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.074e-06/0.004865, allocations: 25.7 kB / 351.9 MB, free: 5.008 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.047e-05/0.004905, allocations: 162.6 kB / 352 MB, free: 4.844 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.574e-05/0.004921, allocations: 31.73 kB / 352.1 MB, free: 4.812 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.016e-05/0.004951, allocations: 35.38 kB / 352.1 MB, free: 4.77 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.012e-05/0.004991, allocations: 0.4884 MB / 352.6 MB, free: 4.27 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.203e-05/0.005013, allocations: 11.98 kB / 352.6 MB, free: 4.258 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.376e-05/0.005057, allocations: 115 kB / 352.7 MB, free: 4.105 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.591e-05/0.005133, allocations: 128.7 kB / 352.8 MB, free: 3.938 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.005135, allocations: 0 / 352.8 MB, free: 3.938 MB / 282.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001673/0.005303, allocations: 156.7 kB / 353 MB, free: 3.77 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.005317, allocations: 11.94 kB / 353 MB, free: 3.758 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.005322, allocations: 0 / 353 MB, free: 3.758 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001528/0.005474, allocations: 43.36 kB / 353 MB, free: 3.707 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.605e-05/0.00554, allocations: 19.98 kB / 353.1 MB, free: 3.688 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009534/0.006494, allocations: 3.475 MB / 356.5 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.073e-05/0.006535, allocations: 11.95 kB / 356.5 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.006541, allocations: 4.25 kB / 356.6 MB, free: 15.95 MB / 298.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 8.21e-05/0.006623, allocations: 180.4 kB / 356.7 MB, free: 15.76 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.823e-05/0.006651, allocations: 4 kB / 356.7 MB, free: 15.76 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.63e-05/0.006668, allocations: 12 kB / 356.7 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.006669, allocations: 0 / 356.7 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.006673, allocations: 4 kB / 356.7 MB, free: 15.74 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.006677, allocations: 3.984 kB / 356.8 MB, free: 15.74 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001476/0.006825, allocations: 152.5 kB / 356.9 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.006827, allocations: 0 / 356.9 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.847e-05/0.006885, allocations: 16 kB / 356.9 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.657e-05/0.006982, allocations: 39.3 kB / 357 MB, free: 15.49 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.006993, allocations: 4 kB / 357 MB, free: 15.49 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001328/0.008321, allocations: 3.456 MB / 360.4 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.008323, allocations: 0 / 360.4 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002153/0.008538, allocations: 386.3 kB / 360.8 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.03e-05/0.008549, allocations: 15.83 kB / 360.8 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.947e-06/0.008558, allocations: 0 / 360.8 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.2e-05/0.00861, allocations: 8 kB / 360.8 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.304e-05/0.008633, allocations: 3.984 kB / 360.8 MB, free: 11.35 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.668e-06/0.008637, allocations: 8.062 kB / 360.8 MB, free: 11.34 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.449e-05/0.008682, allocations: 139.2 kB / 361 MB, free: 11.21 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008682, allocations: 0 / 361 MB, free: 11.21 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002442/0.008926, allocations: 35.95 kB / 361 MB, free: 11.17 MB / 298.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 9.211e-05/0.009018, allocations: 91.25 kB / 361.1 MB, free: 11.07 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003594/0.009378, allocations: 415.6 kB / 361.5 MB, free: 10.63 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.00938, allocations: 0 / 361.5 MB, free: 10.63 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001587/0.009539, allocations: 371.4 kB / 361.9 MB, free: 10.23 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003059/0.009845, allocations: 30.47 kB / 361.9 MB, free: 10.2 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008047/0.01065, allocations: 394.8 kB / 362.3 MB, free: 9.781 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.614e-05/0.01072, allocations: 75.69 kB / 362.3 MB, free: 9.688 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.622e-05/0.01076, allocations: 16.95 kB / 362.4 MB, free: 9.668 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.902e-05/0.01079, allocations: 12.5 kB / 362.4 MB, free: 9.656 MB / 298.7 MB Notification: Performance of SimCode: time 1.102e-06/0.01079, allocations: 0 / 362.4 MB, free: 9.656 MB / 298.7 MB Notification: Performance of Templates: time 0.003864/0.01466, allocations: 1.685 MB / 364.1 MB, free: 8 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.189593968912959]