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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007924/0.0007924, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001321/0.002113, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007523/0.0007523, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001197/0.001949, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.908/0.908, allocations: 173.4 MB / 186 MB, free: 7.527 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1577/1.066, allocations: 52.49 MB / 238.5 MB, free: 7.633 MB / 234.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.1555/0.1555, allocations: 32.8 MB / 272 MB, free: 6.301 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01927/0.1748, allocations: 12.53 MB / 284.5 MB, free: 9.723 MB / 282.7 MB " [Timeout remaining time 180] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.295e-06/2.295e-06, allocations: 0 / 285.8 MB, free: 8.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.626e-05/2.855e-05, allocations: 5.406 kB / 285.8 MB, free: 8.438 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.003209/0.003237, allocations: 1.732 MB / 287.6 MB, free: 6.695 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002354/0.003473, allocations: 115.5 kB / 287.7 MB, free: 6.582 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.797e-05/0.003531, allocations: 0 / 287.7 MB, free: 6.582 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 5.729e-05/0.003588, allocations: 19.8 kB / 287.7 MB, free: 6.562 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 9.739e-05/0.003685, allocations: 39.64 kB / 287.7 MB, free: 6.523 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.252e-05/0.003758, allocations: 23.97 kB / 287.8 MB, free: 6.5 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001549/0.003913, allocations: 135.3 kB / 287.9 MB, free: 6.367 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.00403, allocations: 25.94 kB / 287.9 MB, free: 6.344 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001307/0.00416, allocations: 75.88 kB / 288 MB, free: 6.27 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.641e-05/0.004257, allocations: 35.89 kB / 288 MB, free: 6.234 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.068e-05/0.004287, allocations: 12 kB / 288 MB, free: 6.223 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.098e-05/0.004308, allocations: 11.94 kB / 288 MB, free: 6.211 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.731e-05/0.004336, allocations: 15.94 kB / 288.1 MB, free: 6.195 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.07e-05/0.004386, allocations: 39.88 kB / 288.1 MB, free: 6.156 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001539/0.00454, allocations: 79.69 kB / 288.2 MB, free: 6.078 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.151e-05/0.004552, allocations: 0 / 288.2 MB, free: 6.078 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.004552, allocations: 0 / 288.2 MB, free: 6.078 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.004562, allocations: 0 / 288.2 MB, free: 6.078 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.0004642/0.005027, allocations: 328.5 kB / 288.5 MB, free: 5.727 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.005063, allocations: 8.031 kB / 288.5 MB, free: 5.719 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.315e-05/0.005116, allocations: 20.92 kB / 288.5 MB, free: 5.699 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001571/0.005273, allocations: 125.6 kB / 288.6 MB, free: 5.551 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.005288, allocations: 12.61 kB / 288.7 MB, free: 5.539 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.887e-05/0.005327, allocations: 12.38 kB / 288.7 MB, free: 5.527 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001501/0.005477, allocations: 115.3 kB / 288.8 MB, free: 5.406 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/0.005496, allocations: 12.12 kB / 288.8 MB, free: 5.395 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.005508, allocations: 4.375 kB / 288.8 MB, free: 5.391 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.005516, allocations: 4.375 kB / 288.8 MB, free: 5.387 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.446e-05/0.005581, allocations: 35.53 kB / 288.8 MB, free: 5.355 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004879/0.006069, allocations: 375.8 kB / 289.2 MB, free: 4.969 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.209e-05/0.006161, allocations: 57.14 kB / 289.3 MB, free: 4.895 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.852e-05/0.006189, allocations: 21.89 kB / 289.3 MB, free: 4.867 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.072e-05/0.0062, allocations: 15.92 kB / 289.3 MB, free: 4.852 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/0.006225, allocations: 34.5 kB / 289.3 MB, free: 4.809 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 1.292e-06/0.006226, allocations: 0 / 289.3 MB, free: 4.809 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003866/0.006613, allocations: 119.2 kB / 289.5 MB, free: 4.68 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.168e-05/0.006655, allocations: 81.11 kB / 289.5 MB, free: 4.582 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.406e-05/0.006729, allocations: 126.6 kB / 289.7 MB, free: 4.445 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.24e-05/0.006741, allocations: 29.7 kB / 289.7 MB, free: 4.41 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.602e-05/0.006797, allocations: 111.9 kB / 289.8 MB, free: 4.297 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.229e-05/0.006819, allocations: 39.72 kB / 289.8 MB, free: 4.258 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.534e-05/0.006855, allocations: 33.66 kB / 289.9 MB, free: 4.219 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.975e-05/0.006944, allocations: 322.8 kB / 290.2 MB, free: 3.895 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.49e-05/0.006959, allocations: 11.94 kB / 290.2 MB, free: 3.883 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.048e-05/0.00701, allocations: 72.52 kB / 290.3 MB, free: 3.781 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.954e-05/0.007089, allocations: 108.4 kB / 290.4 MB, free: 3.645 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.007093, allocations: 0 / 290.4 MB, free: 3.645 MB / 282.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001404/0.007233, allocations: 127 kB / 290.5 MB, free: 3.508 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.007245, allocations: 8 kB / 290.5 MB, free: 3.5 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.007251, allocations: 4 kB / 290.5 MB, free: 3.496 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001394/0.00739, allocations: 41.94 kB / 290.5 MB, free: 3.449 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.884e-05/0.007449, allocations: 27.92 kB / 290.6 MB, free: 3.422 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001175/0.008624, allocations: 2.324 MB / 292.9 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.406e-05/0.008658, allocations: 15.89 kB / 292.9 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.06e-06/0.008663, allocations: 4 kB / 292.9 MB, free: 0.9062 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 6.097e-05/0.008724, allocations: 121.8 kB / 293 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.41e-05/0.008748, allocations: 11.94 kB / 293 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.655e-05/0.008765, allocations: 8 kB / 293.1 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.72e-07/0.008766, allocations: 0 / 293.1 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.008772, allocations: 12.05 kB / 293.1 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.008775, allocations: 0 / 293.1 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001146/0.00889, allocations: 89.88 kB / 293.2 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.008891, allocations: 0 / 293.2 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.184e-05/0.008943, allocations: 15.98 kB / 293.2 MB, free: 0.625 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.495e-06/0.008951, allocations: 19.81 kB / 293.2 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.008e-05/0.009021, allocations: 29.64 kB / 293.2 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.009031, allocations: 12 kB / 293.2 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008347/0.009866, allocations: 2.305 MB / 295.5 MB, free: 14.08 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.009867, allocations: 4.188 kB / 295.5 MB, free: 14.07 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001289/0.009996, allocations: 276.4 kB / 295.8 MB, free: 13.78 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.013e-06/0.01, allocations: 3.938 kB / 295.8 MB, free: 13.78 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.968e-05/0.01005, allocations: 4 kB / 295.8 MB, free: 13.77 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.489e-05/0.01007, allocations: 7.984 kB / 295.8 MB, free: 13.77 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.007e-06/0.01007, allocations: 4 kB / 295.8 MB, free: 13.76 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.069e-05/0.01009, allocations: 16.84 kB / 295.8 MB, free: 13.74 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01009, allocations: 0 / 295.8 MB, free: 13.74 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000186/0.01028, allocations: 35.95 kB / 295.9 MB, free: 13.71 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 7.849e-05/0.01036, allocations: 84.36 kB / 296 MB, free: 13.62 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002338/0.01059, allocations: 296.9 kB / 296.3 MB, free: 13.3 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.167e-06/0.01059, allocations: 0 / 296.3 MB, free: 13.3 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001155/0.01071, allocations: 262.8 kB / 296.5 MB, free: 13.02 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002732/0.01098, allocations: 249.6 kB / 296.8 MB, free: 12.72 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001707/0.01269, allocations: 313.7 kB / 297.1 MB, free: 12.39 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.783e-05/0.01273, allocations: 75.83 kB / 297.1 MB, free: 12.29 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.758e-05/0.01276, allocations: 12.62 kB / 297.1 MB, free: 12.28 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.963e-05/0.01282, allocations: 67.36 kB / 297.2 MB, free: 12.21 MB / 298.7 MB Notification: Performance of SimCode: time 1.022e-06/0.01282, allocations: 0 / 297.2 MB, free: 12.21 MB / 298.7 MB Notification: Performance of Templates: time 0.003119/0.01594, allocations: 1.817 MB / 299 MB, free: 10.42 MB / 298.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6632099905982614]