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.00199/0.00199, allocations: 88.23 kB / 20.2 MB, free: 4.223 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.002307/0.002307, allocations: 165.7 kB / 23.52 MB, free: 0.9141 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.535/1.535, allocations: 158.6 MB / 185.3 MB, free: 2.898 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.2225/0.2225, allocations: 32.37 MB / 270 MB, free: 14.77 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 2.404e-06/2.404e-06, allocations: 0 / 346.9 MB, free: 9.836 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.773e-05/3.014e-05, allocations: 6.312 kB / 346.9 MB, free: 9.828 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.003106/0.003136, allocations: 1.609 MB / 348.5 MB, free: 8.211 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003236/0.00346, allocations: 103.7 kB / 348.6 MB, free: 8.109 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.493e-05/0.003535, allocations: 3.938 kB / 348.6 MB, free: 8.105 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 6.774e-05/0.003602, allocations: 19.86 kB / 348.6 MB, free: 8.086 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001469/0.003749, allocations: 35.64 kB / 348.7 MB, free: 8.051 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001431/0.003892, allocations: 31.89 kB / 348.7 MB, free: 8.02 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001642/0.004057, allocations: 135.3 kB / 348.8 MB, free: 7.887 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001388/0.004195, allocations: 29.23 kB / 348.9 MB, free: 7.859 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001389/0.004334, allocations: 71.86 kB / 348.9 MB, free: 7.789 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.259e-05/0.004427, allocations: 35.89 kB / 349 MB, free: 7.754 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.871e-05/0.004456, allocations: 12 kB / 349 MB, free: 7.742 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.542e-05/0.004481, allocations: 8 kB / 349 MB, free: 7.734 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.58e-05/0.004507, allocations: 19.92 kB / 349 MB, free: 7.715 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.479e-05/0.004572, allocations: 39.92 kB / 349.1 MB, free: 7.676 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001959/0.004767, allocations: 119.6 kB / 349.2 MB, free: 7.559 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.004771, allocations: 4 kB / 349.2 MB, free: 7.555 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.004772, allocations: 0 / 349.2 MB, free: 7.555 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.179e-06/0.004777, allocations: 4 kB / 349.2 MB, free: 7.551 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.0004981/0.005275, allocations: 338.1 kB / 349.5 MB, free: 7.184 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.471e-05/0.00533, allocations: 8.031 kB / 349.5 MB, free: 7.176 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.599e-05/0.005406, allocations: 20.89 kB / 349.5 MB, free: 7.156 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001801/0.005586, allocations: 137.5 kB / 349.7 MB, free: 6.996 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.005604, allocations: 12.61 kB / 349.7 MB, free: 6.984 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.779e-05/0.005652, allocations: 12.38 kB / 349.7 MB, free: 6.973 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002615/0.005914, allocations: 122.5 kB / 349.8 MB, free: 6.844 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.923e-05/0.005933, allocations: 4.172 kB / 349.8 MB, free: 6.84 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.919e-05/0.005952, allocations: 8.375 kB / 349.8 MB, free: 6.832 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.005958, allocations: 8.312 kB / 349.8 MB, free: 6.824 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001422/0.0061, allocations: 63.84 kB / 349.9 MB, free: 6.762 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007811/0.006881, allocations: 452.3 kB / 350.3 MB, free: 6.285 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001595/0.007041, allocations: 85.17 kB / 350.4 MB, free: 6.184 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.342e-05/0.007094, allocations: 29.8 kB / 350.5 MB, free: 6.148 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.495e-05/0.007109, allocations: 0 / 350.5 MB, free: 6.148 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.007133, allocations: 34.56 kB / 350.5 MB, free: 6.105 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 2.134e-06/0.007135, allocations: 4 kB / 350.5 MB, free: 6.102 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.000692/0.007827, allocations: 159.4 kB / 350.7 MB, free: 5.934 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.376e-05/0.00786, allocations: 77.11 kB / 350.7 MB, free: 5.84 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.561e-05/0.007956, allocations: 125.8 kB / 350.8 MB, free: 5.707 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.547e-06/0.007966, allocations: 25.7 kB / 350.9 MB, free: 5.676 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.076e-05/0.008016, allocations: 123.8 kB / 351 MB, free: 5.551 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.865e-05/0.008045, allocations: 35.69 kB / 351 MB, free: 5.516 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.592e-05/0.008101, allocations: 29.72 kB / 351.1 MB, free: 5.48 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.965e-05/0.008161, allocations: 322.8 kB / 351.4 MB, free: 5.156 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.359e-05/0.008214, allocations: 27.98 kB / 351.4 MB, free: 5.129 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.256e-05/0.008297, allocations: 90.62 kB / 351.5 MB, free: 5.012 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001558/0.008453, allocations: 120.5 kB / 351.6 MB, free: 4.863 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.008456, allocations: 0 / 351.6 MB, free: 4.863 MB / 282.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.00035/0.008806, allocations: 175 kB / 351.8 MB, free: 4.68 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.008822, allocations: 8 kB / 351.8 MB, free: 4.672 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/0.00883, allocations: 0 / 351.8 MB, free: 4.672 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002638/0.009094, allocations: 37.7 kB / 351.8 MB, free: 4.629 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.009211, allocations: 24.17 kB / 351.8 MB, free: 4.605 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001601/0.01081, allocations: 2.477 MB / 354.3 MB, free: 1.922 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.901e-05/0.01091, allocations: 15.92 kB / 354.3 MB, free: 1.906 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/0.01092, allocations: 12.31 kB / 354.4 MB, free: 1.895 MB / 282.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 9.115e-05/0.01102, allocations: 129.8 kB / 354.5 MB, free: 1.758 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.249e-05/0.01109, allocations: 7.953 kB / 354.5 MB, free: 1.75 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.769e-05/0.01112, allocations: 12 kB / 354.5 MB, free: 1.738 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.01112, allocations: 7.938 kB / 354.5 MB, free: 1.73 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.01112, allocations: 4 kB / 354.5 MB, free: 1.727 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.01113, allocations: 0 / 354.5 MB, free: 1.727 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000271/0.0114, allocations: 149.1 kB / 354.7 MB, free: 1.551 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.0114, allocations: 0 / 354.7 MB, free: 1.551 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001255/0.01152, allocations: 23.92 kB / 354.7 MB, free: 1.527 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001369/0.01166, allocations: 33.7 kB / 354.7 MB, free: 1.488 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.01167, allocations: 4 kB / 354.7 MB, free: 1.484 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002368/0.01404, allocations: 2.477 MB / 357.2 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.664e-06/0.01405, allocations: 4.031 kB / 357.2 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004959/0.01455, allocations: 300.3 kB / 357.5 MB, free: 14.48 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.27e-05/0.01457, allocations: 11.95 kB / 357.5 MB, free: 14.47 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.924e-05/0.01459, allocations: 0 / 357.5 MB, free: 14.47 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001747/0.01476, allocations: 4.031 kB / 357.5 MB, free: 14.46 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.925e-05/0.0148, allocations: 11.98 kB / 357.5 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.446e-05/0.01482, allocations: 8.094 kB / 357.5 MB, free: 14.45 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001025/0.01492, allocations: 95.27 kB / 357.6 MB, free: 14.35 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01492, allocations: 0 / 357.6 MB, free: 14.35 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006324/0.01555, allocations: 39.89 kB / 357.7 MB, free: 14.31 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 0.0001653/0.01572, allocations: 95.25 kB / 357.8 MB, free: 14.21 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000683/0.0164, allocations: 301.5 kB / 358 MB, free: 13.89 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.531e-06/0.01641, allocations: 4 kB / 358 MB, free: 13.89 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000433/0.01684, allocations: 257.2 kB / 358.3 MB, free: 13.61 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007847/0.01762, allocations: 28.05 kB / 358.3 MB, free: 13.58 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/0.01871, allocations: 381.4 kB / 358.7 MB, free: 13.18 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001737/0.01889, allocations: 93.8 kB / 358.8 MB, free: 13.07 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.898e-05/0.01895, allocations: 12.97 kB / 358.8 MB, free: 13.05 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.834e-05/0.019, allocations: 16.44 kB / 358.8 MB, free: 13.04 MB / 298.7 MB Notification: Performance of SimCode: time 4.8e-07/0.019, allocations: 0 / 358.8 MB, free: 13.04 MB / 298.7 MB Notification: Performance of Templates: time 0.007683/0.02668, allocations: 1.667 MB / 360.5 MB, free: 11.4 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.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.991530511993915]