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.0007947/0.0007947, allocations: 80.45 kB / 20.69 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.0007687/0.0007687, allocations: 166.3 kB / 23.96 MB, free: 0.6055 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.7947/0.7947, allocations: 158.6 MB / 185.7 MB, free: 3.039 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.1262/0.1262, allocations: 32.38 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.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.773e-06/1.773e-06, allocations: 0 / 408.1 MB, free: 1.738 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.715e-05/2.892e-05, allocations: 6.281 kB / 408.1 MB, free: 1.73 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.002741/0.002769, allocations: 1.604 MB / 409.7 MB, free: 124 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.000291/0.003061, allocations: 103.6 kB / 409.8 MB, free: 20 kB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.389e-05/0.003134, allocations: 0 / 409.8 MB, free: 20 kB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 6.238e-05/0.003197, allocations: 15.86 kB / 409.8 MB, free: 4 kB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001438/0.003341, allocations: 47.56 kB / 409.9 MB, free: 15.96 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001305/0.003471, allocations: 27.91 kB / 409.9 MB, free: 15.93 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001545/0.003626, allocations: 131.3 kB / 410 MB, free: 15.8 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001483/0.003774, allocations: 25.3 kB / 410 MB, free: 15.77 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001168/0.003891, allocations: 71.86 kB / 410.1 MB, free: 15.7 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.547e-05/0.003966, allocations: 39.89 kB / 410.1 MB, free: 15.66 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.497e-05/0.004001, allocations: 12 kB / 410.2 MB, free: 15.65 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.804e-05/0.004019, allocations: 8 kB / 410.2 MB, free: 15.64 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 2.863e-05/0.004048, allocations: 23.91 kB / 410.2 MB, free: 15.62 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 4.693e-05/0.004095, allocations: 35.94 kB / 410.2 MB, free: 15.59 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001886/0.004283, allocations: 123.6 kB / 410.3 MB, free: 15.46 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.004286, allocations: 0 / 410.3 MB, free: 15.46 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.004287, allocations: 3.938 kB / 410.4 MB, free: 15.46 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.01e-06/0.004292, allocations: 0 / 410.4 MB, free: 15.46 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.00048/0.004772, allocations: 338.1 kB / 410.7 MB, free: 15.09 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.00481, allocations: 12.03 kB / 410.7 MB, free: 15.08 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.519e-05/0.004855, allocations: 12.84 kB / 410.7 MB, free: 15.07 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001877/0.005043, allocations: 141.6 kB / 410.8 MB, free: 14.91 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.005058, allocations: 12.53 kB / 410.9 MB, free: 14.89 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.126e-05/0.005099, allocations: 24.31 kB / 410.9 MB, free: 14.87 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002337/0.005333, allocations: 129.5 kB / 411 MB, free: 14.73 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.00535, allocations: 4.188 kB / 411 MB, free: 14.73 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.005365, allocations: 4.375 kB / 411 MB, free: 14.73 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.005374, allocations: 4.375 kB / 411 MB, free: 14.72 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001208/0.005494, allocations: 59.84 kB / 411.1 MB, free: 14.66 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009062/0.006401, allocations: 444.2 kB / 411.5 MB, free: 14.2 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001372/0.006538, allocations: 81.08 kB / 411.6 MB, free: 14.1 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.048e-05/0.006578, allocations: 25.89 kB / 411.6 MB, free: 14.07 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.408e-05/0.006592, allocations: 4 kB / 411.6 MB, free: 14.06 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/0.006616, allocations: 34.56 kB / 411.7 MB, free: 14.02 MB / 394.7 MB Notification: Performance of pre-optimization done (n=8): time 1.593e-06/0.006618, allocations: 0 / 411.7 MB, free: 14.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.000471/0.007089, allocations: 147.2 kB / 411.8 MB, free: 13.86 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.801e-05/0.007137, allocations: 85.09 kB / 411.9 MB, free: 13.76 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.283e-05/0.007229, allocations: 121.8 kB / 412 MB, free: 13.63 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.007244, allocations: 29.7 kB / 412 MB, free: 13.6 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.718e-05/0.007311, allocations: 127.7 kB / 412.2 MB, free: 13.47 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.535e-05/0.007336, allocations: 31.73 kB / 412.2 MB, free: 13.44 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.46e-05/0.007381, allocations: 29.72 kB / 412.2 MB, free: 13.4 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.775e-05/0.007479, allocations: 322.8 kB / 412.5 MB, free: 13.08 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.359e-05/0.007522, allocations: 19.98 kB / 412.5 MB, free: 13.06 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.627e-05/0.007599, allocations: 88.58 kB / 412.6 MB, free: 12.94 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001311/0.00773, allocations: 124.8 kB / 412.8 MB, free: 12.79 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.007734, allocations: 4 kB / 412.8 MB, free: 12.79 MB / 394.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002811/0.008015, allocations: 179.1 kB / 412.9 MB, free: 12.6 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.008034, allocations: 8 kB / 412.9 MB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.393e-06/0.008041, allocations: 0 / 412.9 MB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001819/0.008223, allocations: 41.64 kB / 413 MB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.595e-05/0.008309, allocations: 19.98 kB / 413 MB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001627/0.009936, allocations: 2.473 MB / 415.5 MB, free: 9.848 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.704e-05/0.01, allocations: 15.92 kB / 415.5 MB, free: 9.832 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.01001, allocations: 8 kB / 415.5 MB, free: 9.824 MB / 394.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.0001047/0.01012, allocations: 129.7 kB / 415.6 MB, free: 9.688 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.198e-05/0.01016, allocations: 8.172 kB / 415.6 MB, free: 9.68 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.225e-05/0.01018, allocations: 12 kB / 415.6 MB, free: 9.664 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.01019, allocations: 0 / 415.6 MB, free: 9.664 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.01019, allocations: 4.094 kB / 415.6 MB, free: 9.66 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.01019, allocations: 3.984 kB / 415.7 MB, free: 9.656 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001993/0.01039, allocations: 141.2 kB / 415.8 MB, free: 9.488 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.0104, allocations: 4 kB / 415.8 MB, free: 9.484 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.455e-05/0.01048, allocations: 19.92 kB / 415.8 MB, free: 9.465 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001027/0.01058, allocations: 37.7 kB / 415.9 MB, free: 9.422 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.01059, allocations: 0 / 415.9 MB, free: 9.422 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001826/0.01242, allocations: 2.473 MB / 418.3 MB, free: 6.746 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.01242, allocations: 0 / 418.3 MB, free: 6.746 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002752/0.0127, allocations: 308.3 kB / 418.6 MB, free: 6.422 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.115e-05/0.01271, allocations: 4.312 kB / 418.6 MB, free: 6.418 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.493e-05/0.01272, allocations: 12.03 kB / 418.6 MB, free: 6.406 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.948e-05/0.01281, allocations: 0 / 418.6 MB, free: 6.406 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.712e-05/0.01284, allocations: 8.078 kB / 418.6 MB, free: 6.398 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.01285, allocations: 11.94 kB / 418.7 MB, free: 6.387 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.967e-05/0.01291, allocations: 95.64 kB / 418.8 MB, free: 6.293 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01291, allocations: 0 / 418.8 MB, free: 6.293 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003631/0.01327, allocations: 39.89 kB / 418.8 MB, free: 6.254 MB / 394.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.0001031/0.01337, allocations: 107.2 kB / 418.9 MB, free: 6.141 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000423/0.0138, allocations: 297.2 kB / 419.2 MB, free: 5.824 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/0.0138, allocations: 7.938 kB / 419.2 MB, free: 5.816 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001956/0.014, allocations: 249.4 kB / 419.4 MB, free: 5.547 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004547/0.01445, allocations: 32.48 kB / 419.5 MB, free: 5.516 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006977/0.01515, allocations: 400.2 kB / 419.9 MB, free: 5.09 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.472e-05/0.01524, allocations: 101.8 kB / 420 MB, free: 4.969 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.674e-05/0.01526, allocations: 12.5 kB / 420 MB, free: 4.957 MB / 394.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01526, allocations: 0 / 420 MB, free: 4.957 MB / 394.7 MB Notification: Performance of Templates: time 0.004324/0.01959, allocations: 2.51 MB / 422.5 MB, free: 2.441 MB / 394.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: 5.28078858088702]