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.00133/0.00133, allocations: 111 kB / 21.18 MB, free: 0.6758 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.001569/0.001569, allocations: 210.7 kB / 24.48 MB, free: 3.977 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.432/1.432, allocations: 230.6 MB / 258.2 MB, free: 7.789 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.2257/0.2257, allocations: 46.96 MB / 361.6 MB, free: 4.039 MB / 286.1 MB " [Timeout remaining time 180] 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.002056/0.002056, allocations: 71.89 kB / 0.4973 GB, free: 7.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3321/0.3342, allocations: 66.04 MB / 0.5618 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.004336/0.3385, allocations: 2.653 MB / 0.5644 GB, free: 1.516 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001611/0.3401, allocations: 0.7634 MB / 0.5651 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001604/0.3403, allocations: 11.94 kB / 0.5652 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002192/0.3405, allocations: 67.31 kB / 0.5652 GB, free: 0.668 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002622/0.3407, allocations: 130.9 kB / 0.5653 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003614/0.3411, allocations: 119.8 kB / 0.5655 GB, free: 432 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005445/0.3416, allocations: 446.4 kB / 0.5659 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002891/0.3419, allocations: 142.7 kB / 0.566 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002843/0.3422, allocations: 179.4 kB / 0.5662 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002533/0.3425, allocations: 199 kB / 0.5664 GB, free: 15.46 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.579e-05/0.3425, allocations: 36 kB / 0.5664 GB, free: 15.43 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001093/0.3426, allocations: 36 kB / 0.5664 GB, free: 15.39 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.091e-05/0.3427, allocations: 83.69 kB / 0.5665 GB, free: 15.31 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000273/0.343, allocations: 175.2 kB / 0.5667 GB, free: 15.14 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005491/0.3435, allocations: 464.4 kB / 0.5671 GB, free: 14.69 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3435, allocations: 0 / 0.5671 GB, free: 14.69 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3435, allocations: 0 / 0.5671 GB, free: 14.69 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.624e-06/0.3436, allocations: 0 / 0.5671 GB, free: 14.69 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.001045/0.3446, allocations: 0.6105 MB / 0.5677 GB, free: 14.05 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.3446, allocations: 8.031 kB / 0.5677 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003504/0.345, allocations: 76.56 kB / 0.5678 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004524/0.3454, allocations: 245.6 kB / 0.568 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.1e-05/0.3455, allocations: 29.38 kB / 0.5681 GB, free: 13.67 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.837e-05/0.3455, allocations: 36.38 kB / 0.5681 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006999/0.3462, allocations: 381.3 kB / 0.5685 GB, free: 13.25 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.866e-05/0.3463, allocations: 19.89 kB / 0.5685 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.522e-05/0.3463, allocations: 15.94 kB / 0.5685 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.448e-05/0.3463, allocations: 15.98 kB / 0.5685 GB, free: 13.2 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005249/0.3468, allocations: 243.8 kB / 0.5688 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001682/0.3485, allocations: 0.9074 MB / 0.5696 GB, free: 12.01 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006515/0.3492, allocations: 331.5 kB / 0.57 GB, free: 11.66 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003002/0.3495, allocations: 154.5 kB / 0.5701 GB, free: 11.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.711e-05/0.3495, allocations: 4 kB / 0.5701 GB, free: 11.49 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.019e-05/0.3495, allocations: 42.5 kB / 0.5701 GB, free: 11.44 MB / 414.1 MB Notification: Performance of pre-optimization done (n=39): time 1.984e-06/0.3495, allocations: 0 / 0.5701 GB, free: 11.44 MB / 414.1 MB Notification: Performance of matching and sorting (n=57): time 0.004221/0.3538, allocations: 2.015 MB / 0.5721 GB, free: 9.277 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.989e-05/0.3539, allocations: 110.8 kB / 0.5722 GB, free: 9.145 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000247/0.3541, allocations: 196.1 kB / 0.5724 GB, free: 8.941 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.734e-05/0.3542, allocations: 41.64 kB / 0.5724 GB, free: 8.895 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001533/0.3543, allocations: 201.3 kB / 0.5726 GB, free: 8.691 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001745/0.3545, allocations: 202.2 kB / 0.5728 GB, free: 8.492 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001372/0.3546, allocations: 86.34 kB / 0.5729 GB, free: 8.402 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001895/0.3548, allocations: 350.7 kB / 0.5733 GB, free: 8.051 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002537/0.3551, allocations: 125.2 kB / 0.5734 GB, free: 7.93 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003317/0.3554, allocations: 232.8 kB / 0.5736 GB, free: 7.664 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006242/0.356, allocations: 401.9 kB / 0.574 GB, free: 7.234 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.356, allocations: 4 kB / 0.574 GB, free: 7.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001108/0.3571, allocations: 0.5463 MB / 0.5745 GB, free: 6.668 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/0.3572, allocations: 4 kB / 0.5745 GB, free: 6.664 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.3572, allocations: 4 kB / 0.5745 GB, free: 6.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004121/0.3576, allocations: 130.6 kB / 0.5746 GB, free: 6.523 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000403/0.358, allocations: 95.88 kB / 0.5747 GB, free: 6.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004435/0.3624, allocations: 4.815 MB / 0.5794 GB, free: 1.312 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002555/0.3627, allocations: 16 kB / 0.5795 GB, free: 1.297 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.378e-05/0.3627, allocations: 19.98 kB / 0.5795 GB, free: 1.277 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.0002268/0.3629, allocations: 170.4 kB / 0.5796 GB, free: 1.102 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.815e-05/0.363, allocations: 35.77 kB / 0.5797 GB, free: 1.066 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.912e-05/0.3631, allocations: 49.8 kB / 0.5797 GB, free: 1.023 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.3631, allocations: 4 kB / 0.5797 GB, free: 1.02 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.425e-05/0.3631, allocations: 7.938 kB / 0.5797 GB, free: 1.012 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.3632, allocations: 3.984 kB / 0.5797 GB, free: 1.008 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001998/0.3652, allocations: 1.171 MB / 0.5809 GB, free: 15.78 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/0.3652, allocations: 7.984 kB / 0.5809 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004242/0.3656, allocations: 95.83 kB / 0.581 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003012/0.3659, allocations: 94.52 kB / 0.5811 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.026e-05/0.3659, allocations: 16.09 kB / 0.5811 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003443/0.3694, allocations: 4.037 MB / 0.585 GB, free: 11.22 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.3694, allocations: 3.938 kB / 0.585 GB, free: 11.21 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001363/0.3707, allocations: 0.9201 MB / 0.5859 GB, free: 10.26 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.639e-05/0.3708, allocations: 27.8 kB / 0.586 GB, free: 10.23 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.385e-05/0.3708, allocations: 16 kB / 0.586 GB, free: 10.22 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000253/0.3711, allocations: 20 kB / 0.586 GB, free: 10.2 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/0.3712, allocations: 47.91 kB / 0.586 GB, free: 10.15 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.676e-05/0.3712, allocations: 16 kB / 0.586 GB, free: 10.14 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001237/0.3713, allocations: 137.9 kB / 0.5862 GB, free: 10 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3713, allocations: 0 / 0.5862 GB, free: 10 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006956/0.372, allocations: 124 kB / 0.5863 GB, free: 9.883 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.0001324/0.3722, allocations: 111.1 kB / 0.5864 GB, free: 9.766 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001353/0.3735, allocations: 0.7656 MB / 0.5872 GB, free: 8.965 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3735, allocations: 0 / 0.5872 GB, free: 8.965 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008049/0.3743, allocations: 0.5688 MB / 0.5877 GB, free: 8.359 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006306/0.375, allocations: 65.08 kB / 0.5878 GB, free: 8.293 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001828/0.3768, allocations: 1.088 MB / 0.5888 GB, free: 7.156 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002239/0.377, allocations: 216.9 kB / 0.589 GB, free: 6.922 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001186/0.3771, allocations: 31.28 kB / 0.5891 GB, free: 6.895 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.127e-05/0.3772, allocations: 27.44 kB / 0.5891 GB, free: 6.867 MB / 430.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3772, allocations: 0 / 0.5891 GB, free: 6.867 MB / 430.1 MB Notification: Performance of Templates: time 0.01017/0.3874, allocations: 5.005 MB / 0.594 GB, free: 1.91 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.csv","/var/lib/jenkins1/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.1273746530059725]