Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.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.002044/0.002044, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.002282/0.002282, allocations: 214.9 kB / 23.74 MB, free: 4.656 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.576/1.576, allocations: 230.6 MB / 257.5 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2779/0.2779, allocations: 46.94 MB / 360.9 MB, free: 4.27 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002127/0.002127, allocations: 59.91 kB / 0.4966 GB, free: 7.422 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3485/0.3506, allocations: 66.04 MB / 0.5611 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.004196/0.3548, allocations: 2.878 MB / 0.5639 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001442/0.3562, allocations: 0.8062 MB / 0.5647 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001679/0.3564, allocations: 11.94 kB / 0.5647 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001974/0.3566, allocations: 67.31 kB / 0.5648 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002474/0.3568, allocations: 126.9 kB / 0.5649 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003402/0.3572, allocations: 123.7 kB / 0.565 GB, free: 400 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005203/0.3577, allocations: 454.4 kB / 0.5655 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002553/0.358, allocations: 134.7 kB / 0.5656 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002878/0.3582, allocations: 183.4 kB / 0.5658 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002804/0.3585, allocations: 195.1 kB / 0.566 GB, free: 15.43 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.346e-05/0.3586, allocations: 32 kB / 0.566 GB, free: 15.4 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001066/0.3587, allocations: 40 kB / 0.566 GB, free: 15.36 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.658e-05/0.3588, allocations: 87.67 kB / 0.5661 GB, free: 15.28 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002044/0.359, allocations: 203 kB / 0.5663 GB, free: 15.08 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005416/0.3595, allocations: 460.4 kB / 0.5667 GB, free: 14.63 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3595, allocations: 0 / 0.5667 GB, free: 14.63 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.3595, allocations: 4 kB / 0.5668 GB, free: 14.63 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.3595, allocations: 4 kB / 0.5668 GB, free: 14.62 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001063/0.3606, allocations: 0.6067 MB / 0.5673 GB, free: 13.98 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.3606, allocations: 8.031 kB / 0.5674 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003417/0.361, allocations: 76.62 kB / 0.5674 GB, free: 13.9 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004266/0.3614, allocations: 241.5 kB / 0.5677 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.977e-05/0.3614, allocations: 29.38 kB / 0.5677 GB, free: 13.61 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.464e-05/0.3615, allocations: 40.38 kB / 0.5677 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006861/0.3622, allocations: 385.3 kB / 0.5681 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.355e-05/0.3622, allocations: 7.953 kB / 0.5681 GB, free: 13.17 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.303e-05/0.3622, allocations: 16 kB / 0.5681 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.3622, allocations: 8 kB / 0.5681 GB, free: 13.15 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005416/0.3628, allocations: 248.3 kB / 0.5684 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001688/0.3645, allocations: 1.063 MB / 0.5694 GB, free: 11.79 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005774/0.365, allocations: 327.4 kB / 0.5697 GB, free: 11.44 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003049/0.3654, allocations: 162.5 kB / 0.5699 GB, free: 11.27 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.646e-05/0.3654, allocations: 4 kB / 0.5699 GB, free: 11.27 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.091e-05/0.3654, allocations: 50.5 kB / 0.5699 GB, free: 11.21 MB / 414.1 MB Notification: Performance of pre-optimization done (n=39): time 1.563e-06/0.3654, allocations: 0 / 0.5699 GB, free: 11.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=57): time 0.003982/0.3694, allocations: 2.006 MB / 0.5719 GB, free: 9.051 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.65e-05/0.3695, allocations: 106.8 kB / 0.572 GB, free: 8.922 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003299/0.3698, allocations: 245.9 kB / 0.5722 GB, free: 8.676 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.043e-05/0.3699, allocations: 37.7 kB / 0.5722 GB, free: 8.633 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001587/0.37, allocations: 180.9 kB / 0.5724 GB, free: 8.453 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001938/0.3702, allocations: 214.1 kB / 0.5726 GB, free: 8.242 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001463/0.3704, allocations: 86.34 kB / 0.5727 GB, free: 8.152 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002256/0.3706, allocations: 354.7 kB / 0.573 GB, free: 7.797 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002836/0.3709, allocations: 133.2 kB / 0.5732 GB, free: 7.668 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003754/0.3712, allocations: 232.8 kB / 0.5734 GB, free: 7.402 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007135/0.372, allocations: 401.9 kB / 0.5738 GB, free: 6.973 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.372, allocations: 0 / 0.5738 GB, free: 6.973 MB / 414.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00111/0.3731, allocations: 0.5462 MB / 0.5743 GB, free: 6.41 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.3731, allocations: 4 kB / 0.5743 GB, free: 6.406 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.3731, allocations: 4 kB / 0.5743 GB, free: 6.402 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00041/0.3735, allocations: 130.6 kB / 0.5744 GB, free: 6.266 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004074/0.3739, allocations: 91.97 kB / 0.5745 GB, free: 6.176 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005032/0.3789, allocations: 4.907 MB / 0.5793 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002557/0.3792, allocations: 23.98 kB / 0.5793 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.683e-05/0.3792, allocations: 24 kB / 0.5794 GB, free: 0.8828 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (51): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002351/0.3795, allocations: 170.3 kB / 0.5795 GB, free: 0.707 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001156/0.3796, allocations: 43.77 kB / 0.5796 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001009/0.3797, allocations: 38.12 kB / 0.5796 GB, free: 0.625 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.8e-05/0.3797, allocations: 11.98 kB / 0.5796 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.731e-05/0.3797, allocations: 7.938 kB / 0.5796 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.3797, allocations: 0 / 0.5796 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002409/0.3821, allocations: 1.288 MB / 0.5809 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/0.3822, allocations: 4 kB / 0.5809 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004601/0.3826, allocations: 95.97 kB / 0.581 GB, free: 15.15 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003142/0.3829, allocations: 102.4 kB / 0.5811 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.134e-05/0.383, allocations: 15.94 kB / 0.5811 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004/0.387, allocations: 4.11 MB / 0.5851 GB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.387, allocations: 7.969 kB / 0.5851 GB, free: 10.56 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001478/0.3884, allocations: 0.9206 MB / 0.586 GB, free: 9.609 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.695e-05/0.3885, allocations: 35.83 kB / 0.586 GB, free: 9.574 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.944e-05/0.3886, allocations: 12 kB / 0.5861 GB, free: 9.562 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002975/0.3889, allocations: 15.98 kB / 0.5861 GB, free: 9.547 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001481/0.3891, allocations: 51.84 kB / 0.5861 GB, free: 9.496 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.295e-05/0.3891, allocations: 16 kB / 0.5861 GB, free: 9.48 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000276/0.3894, allocations: 173.2 kB / 0.5863 GB, free: 9.309 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3894, allocations: 8 kB / 0.5863 GB, free: 9.301 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009059/0.3903, allocations: 116 kB / 0.5864 GB, free: 9.188 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (J5.phi,J5.w,J3.phi,J3.w,J1.phi,J1.w) * 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 (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001793/0.3904, allocations: 115.1 kB / 0.5865 GB, free: 9.066 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001598/0.392, allocations: 0.7619 MB / 0.5873 GB, free: 8.27 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.392, allocations: 0 / 0.5873 GB, free: 8.27 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009639/0.393, allocations: 0.5608 MB / 0.5878 GB, free: 7.672 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006883/0.3937, allocations: 64.56 kB / 0.5879 GB, free: 7.613 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002258/0.396, allocations: 1.117 MB / 0.589 GB, free: 6.453 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006485/0.3966, allocations: 0.8202 MB / 0.5898 GB, free: 5.605 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001496/0.3968, allocations: 39.27 kB / 0.5898 GB, free: 5.566 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.558e-05/0.3968, allocations: 31.42 kB / 0.5898 GB, free: 5.535 MB / 430.1 MB Notification: Performance of SimCode: time 8.42e-07/0.3968, allocations: 0 / 0.5898 GB, free: 5.535 MB / 430.1 MB Notification: Performance of Templates: time 0.01246/0.4093, allocations: 4.857 MB / 0.5946 GB, free: 0.6875 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.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.787310230080038]