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.001977/0.001977, allocations: 110.8 kB / 21.19 MB, free: 0.6641 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.002357/0.002357, allocations: 209.3 kB / 24.49 MB, free: 3.965 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.504/1.504, allocations: 230.6 MB / 258.3 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.2275/0.2275, allocations: 46.96 MB / 361.6 MB, free: 4.023 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.002991/0.002991, allocations: 63.91 kB / 0.4973 GB, free: 7.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3309/0.3339, allocations: 66.04 MB / 0.5618 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.004784/0.3387, allocations: 2.657 MB / 0.5644 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001733/0.3404, allocations: 0.7634 MB / 0.5652 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002397/0.3407, allocations: 11.94 kB / 0.5652 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001933/0.3409, allocations: 67.31 kB / 0.5652 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002647/0.3411, allocations: 122.9 kB / 0.5653 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003332/0.3415, allocations: 123.8 kB / 0.5655 GB, free: 400 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004802/0.342, allocations: 450.3 kB / 0.5659 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002618/0.3422, allocations: 134.8 kB / 0.566 GB, free: 15.81 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002579/0.3425, allocations: 183.3 kB / 0.5662 GB, free: 15.63 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000261/0.3427, allocations: 199.1 kB / 0.5664 GB, free: 15.43 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.553e-05/0.3428, allocations: 36 kB / 0.5664 GB, free: 15.4 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/0.3429, allocations: 40 kB / 0.5665 GB, free: 15.36 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.033e-05/0.343, allocations: 79.7 kB / 0.5665 GB, free: 15.28 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001724/0.3431, allocations: 171.2 kB / 0.5667 GB, free: 15.11 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005166/0.3437, allocations: 468.4 kB / 0.5671 GB, free: 14.66 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.3437, allocations: 0 / 0.5671 GB, free: 14.66 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3437, allocations: 0 / 0.5671 GB, free: 14.66 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.377e-05/0.3437, allocations: 4 kB / 0.5672 GB, free: 14.66 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.001026/0.3447, allocations: 0.6106 MB / 0.5677 GB, free: 14.01 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.3447, allocations: 8.031 kB / 0.5678 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003523/0.3451, allocations: 76.56 kB / 0.5678 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004222/0.3455, allocations: 241.6 kB / 0.5681 GB, free: 13.67 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.827e-05/0.3455, allocations: 29.38 kB / 0.5681 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.423e-05/0.3456, allocations: 40.38 kB / 0.5681 GB, free: 13.6 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007376/0.3464, allocations: 385.3 kB / 0.5685 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.882e-05/0.3464, allocations: 15.89 kB / 0.5685 GB, free: 13.19 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.954e-05/0.3464, allocations: 16 kB / 0.5685 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/0.3464, allocations: 8 kB / 0.5685 GB, free: 13.17 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005544/0.347, allocations: 247.8 kB / 0.5688 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001539/0.3485, allocations: 0.9035 MB / 0.5697 GB, free: 11.98 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005671/0.3491, allocations: 327.5 kB / 0.57 GB, free: 11.63 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000287/0.3494, allocations: 154.5 kB / 0.5701 GB, free: 11.47 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.808e-05/0.3494, allocations: 8 kB / 0.5701 GB, free: 11.46 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.059e-05/0.3495, allocations: 42.5 kB / 0.5702 GB, free: 11.41 MB / 414.1 MB Notification: Performance of pre-optimization done (n=39): time 1.914e-06/0.3495, allocations: 4 kB / 0.5702 GB, free: 11.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=57): time 0.003822/0.3533, allocations: 2 MB / 0.5721 GB, free: 9.258 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.157e-05/0.3534, allocations: 114.8 kB / 0.5722 GB, free: 9.121 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002221/0.3536, allocations: 196 kB / 0.5724 GB, free: 8.918 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.668e-05/0.3536, allocations: 37.7 kB / 0.5724 GB, free: 8.875 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001475/0.3538, allocations: 205.3 kB / 0.5726 GB, free: 8.668 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001695/0.3539, allocations: 210.2 kB / 0.5728 GB, free: 8.461 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001308/0.3541, allocations: 86.34 kB / 0.5729 GB, free: 8.371 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.3542, allocations: 346.7 kB / 0.5733 GB, free: 8.023 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000285/0.3545, allocations: 129.2 kB / 0.5734 GB, free: 7.898 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003466/0.3549, allocations: 228.8 kB / 0.5736 GB, free: 7.637 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006507/0.3555, allocations: 409.9 kB / 0.574 GB, free: 7.199 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3555, allocations: 0 / 0.574 GB, free: 7.199 MB / 414.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001056/0.3566, allocations: 0.5423 MB / 0.5745 GB, free: 6.641 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.3566, allocations: 12.09 kB / 0.5745 GB, free: 6.629 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.3566, allocations: 0 / 0.5745 GB, free: 6.629 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003853/0.357, allocations: 122.6 kB / 0.5746 GB, free: 6.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004053/0.3574, allocations: 95.88 kB / 0.5747 GB, free: 6.406 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004489/0.3619, allocations: 4.811 MB / 0.5794 GB, free: 1.293 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002225/0.3621, allocations: 16 kB / 0.5795 GB, free: 1.277 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.216e-05/0.3621, allocations: 19.98 kB / 0.5795 GB, free: 1.258 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.0002226/0.3624, allocations: 170.4 kB / 0.5796 GB, free: 1.082 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.845e-05/0.3625, allocations: 39.77 kB / 0.5797 GB, free: 1.043 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.02e-05/0.3625, allocations: 53.72 kB / 0.5797 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.289e-06/0.3626, allocations: 0 / 0.5797 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.3626, allocations: 0 / 0.5797 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.94e-05/0.3626, allocations: 31.8 kB / 0.5798 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.031e-05/0.3626, allocations: 12 kB / 0.5798 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002433/0.3629, allocations: 16.12 kB / 0.5798 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001146/0.363, allocations: 59.83 kB / 0.5798 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001557/0.3645, allocations: 0.8091 MB / 0.5806 GB, free: 56 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001322/0.3659, allocations: 0.9331 MB / 0.5815 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003426/0.3662, allocations: 159.9 kB / 0.5817 GB, free: 14.95 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001383/0.3664, allocations: 145.8 kB / 0.5818 GB, free: 14.81 MB / 430.1 MB Notification: Performance of Backend: time 3.01e-07/0.3664, allocations: 0 / 0.5818 GB, free: 14.81 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001612/0.368, allocations: 0.7121 MB / 0.5825 GB, free: 14.05 MB / 430.1 MB Notification: Performance of SimCode: time 0.002024/0.37, allocations: 1.585 MB / 0.5841 GB, free: 12.41 MB / 430.1 MB Notification: Performance of Templates: time 0.01132/0.3813, allocations: 5.673 MB / 0.5896 GB, free: 6.789 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/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.187596413001302]