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.001738/0.001738, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 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.002425/0.002425, allocations: 209 kB / 24.48 MB, free: 3.938 MB / 14.72 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.593/1.593, allocations: 230.6 MB / 258.2 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] 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.2197/0.2197, allocations: 44.94 MB / 359.6 MB, free: 6.031 MB / 286.1 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.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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002594/0.002594, allocations: 63.91 kB / 0.4942 GB, free: 10.03 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3671/0.3696, allocations: 65.49 MB / 0.5582 GB, free: 7.461 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.00334/0.373, allocations: 1.603 MB / 0.5597 GB, free: 5.844 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003384/0.3733, allocations: 107.6 kB / 0.5598 GB, free: 5.738 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.98e-05/0.3734, allocations: 7.938 kB / 0.5599 GB, free: 5.73 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.752e-05/0.3735, allocations: 11.86 kB / 0.5599 GB, free: 5.719 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001097/0.3736, allocations: 39.7 kB / 0.5599 GB, free: 5.68 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001303/0.3737, allocations: 23.97 kB / 0.5599 GB, free: 5.656 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000201/0.3739, allocations: 135.4 kB / 0.5601 GB, free: 5.523 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001631/0.3741, allocations: 25.23 kB / 0.5601 GB, free: 5.496 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/0.3742, allocations: 51.8 kB / 0.5601 GB, free: 5.445 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001075/0.3743, allocations: 47.77 kB / 0.5602 GB, free: 5.398 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.263e-05/0.3743, allocations: 8 kB / 0.5602 GB, free: 5.391 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.544e-05/0.3743, allocations: 12 kB / 0.5602 GB, free: 5.379 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.974e-05/0.3744, allocations: 19.92 kB / 0.5602 GB, free: 5.359 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.674e-05/0.3744, allocations: 43.81 kB / 0.5603 GB, free: 5.316 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002089/0.3746, allocations: 133.9 kB / 0.5604 GB, free: 5.191 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.3747, allocations: 0 / 0.5604 GB, free: 5.191 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3747, allocations: 0 / 0.5604 GB, free: 5.191 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.002e-05/0.3747, allocations: 0 / 0.5604 GB, free: 5.191 MB / 398.1 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.0005512/0.3752, allocations: 334.1 kB / 0.5607 GB, free: 4.828 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.3753, allocations: 12.03 kB / 0.5607 GB, free: 4.816 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.797e-05/0.3753, allocations: 8.891 kB / 0.5607 GB, free: 4.809 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002168/0.3755, allocations: 138.3 kB / 0.5609 GB, free: 4.648 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.3755, allocations: 8.609 kB / 0.5609 GB, free: 4.641 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.548e-05/0.3756, allocations: 12.38 kB / 0.5609 GB, free: 4.629 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002478/0.3758, allocations: 133.5 kB / 0.561 GB, free: 4.488 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.77e-05/0.3758, allocations: 12.12 kB / 0.561 GB, free: 4.477 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.152e-05/0.3759, allocations: 11.92 kB / 0.561 GB, free: 4.465 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/0.3759, allocations: 8 kB / 0.561 GB, free: 4.457 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001284/0.376, allocations: 51.97 kB / 0.5611 GB, free: 4.406 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007451/0.3767, allocations: 444.1 kB / 0.5615 GB, free: 3.938 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001496/0.3769, allocations: 77.23 kB / 0.5616 GB, free: 3.844 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.646e-05/0.3769, allocations: 29.73 kB / 0.5616 GB, free: 3.809 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.344e-05/0.377, allocations: 4 kB / 0.5616 GB, free: 3.805 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.344e-05/0.377, allocations: 42.5 kB / 0.5617 GB, free: 3.754 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.543e-06/0.377, allocations: 0 / 0.5617 GB, free: 3.754 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005519/0.3775, allocations: 139.2 kB / 0.5618 GB, free: 3.605 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.129e-05/0.3776, allocations: 85.05 kB / 0.5619 GB, free: 3.504 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.3777, allocations: 125.8 kB / 0.562 GB, free: 3.371 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/0.3777, allocations: 29.7 kB / 0.562 GB, free: 3.336 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.598e-05/0.3778, allocations: 115.8 kB / 0.5621 GB, free: 3.219 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.336e-05/0.3779, allocations: 39.72 kB / 0.5622 GB, free: 3.18 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.121e-05/0.3779, allocations: 33.72 kB / 0.5622 GB, free: 3.141 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001811/0.3781, allocations: 326.7 kB / 0.5625 GB, free: 2.812 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.534e-05/0.3782, allocations: 23.98 kB / 0.5625 GB, free: 2.789 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.68e-05/0.3783, allocations: 87.39 kB / 0.5626 GB, free: 2.676 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001618/0.3784, allocations: 120.5 kB / 0.5627 GB, free: 2.527 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.3784, allocations: 0 / 0.5627 GB, free: 2.527 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003013/0.3787, allocations: 167.5 kB / 0.5629 GB, free: 2.352 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.3787, allocations: 10.66 kB / 0.5629 GB, free: 2.344 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.391e-06/0.3787, allocations: 0 / 0.5629 GB, free: 2.344 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002087/0.379, allocations: 37.95 kB / 0.5629 GB, free: 2.301 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.907e-05/0.3791, allocations: 31.86 kB / 0.563 GB, free: 2.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002215/0.3813, allocations: 2.481 MB / 0.5654 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.466e-05/0.3813, allocations: 23.92 kB / 0.5654 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.324e-05/0.3814, allocations: 8 kB / 0.5654 GB, free: 15.55 MB / 414.1 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.0001212/0.3815, allocations: 121.8 kB / 0.5655 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.714e-05/0.3815, allocations: 7.953 kB / 0.5655 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.605e-05/0.3816, allocations: 16 kB / 0.5656 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.562e-06/0.3816, allocations: 0 / 0.5656 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.3816, allocations: 4 kB / 0.5656 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.3816, allocations: 3.938 kB / 0.5656 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002358/0.3818, allocations: 137.2 kB / 0.5657 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.3818, allocations: 0 / 0.5657 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001037/0.3819, allocations: 19.92 kB / 0.5657 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001063/0.382, allocations: 37.7 kB / 0.5658 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.382, allocations: 0 / 0.5658 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002075/0.3841, allocations: 2.477 MB / 0.5682 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3841, allocations: 0 / 0.5682 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003434/0.3844, allocations: 312.2 kB / 0.5685 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.06e-05/0.3845, allocations: 4.25 kB / 0.5685 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.828e-05/0.3845, allocations: 7.938 kB / 0.5685 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.3846, allocations: 3.938 kB / 0.5685 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.857e-05/0.3846, allocations: 8.031 kB / 0.5685 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.027e-05/0.3846, allocations: 12 kB / 0.5685 GB, free: 12.12 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.451e-05/0.3847, allocations: 99.8 kB / 0.5686 GB, free: 12.02 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3847, allocations: 0 / 0.5686 GB, free: 12.02 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003725/0.3851, allocations: 39.89 kB / 0.5686 GB, free: 11.98 MB / 414.1 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.0001548/0.3852, allocations: 95.23 kB / 0.5687 GB, free: 11.88 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005612/0.3858, allocations: 305.8 kB / 0.569 GB, free: 11.55 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.3858, allocations: 0 / 0.569 GB, free: 11.55 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003137/0.3861, allocations: 261.3 kB / 0.5693 GB, free: 11.27 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005176/0.3866, allocations: 31.92 kB / 0.5693 GB, free: 11.25 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009174/0.3875, allocations: 0.4911 MB / 0.5698 GB, free: 10.72 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001008/0.3876, allocations: 89.62 kB / 0.5699 GB, free: 10.61 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.886e-05/0.3877, allocations: 11.44 kB / 0.5699 GB, free: 10.6 MB / 414.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3877, allocations: 4 kB / 0.5699 GB, free: 10.6 MB / 414.1 MB Notification: Performance of Templates: time 0.005026/0.3927, allocations: 2.5 MB / 0.5723 GB, free: 8.098 MB / 414.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 8.700679774861783]