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.001365/0.001365, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001512/0.001512, allocations: 212 kB / 23.73 MB, free: 4.523 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.501/1.501, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.2405/0.2405, allocations: 46.95 MB / 360.9 MB, free: 4.047 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.00217/0.00217, allocations: 71.89 kB / 0.4966 GB, free: 7.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3619/0.364, allocations: 66.03 MB / 0.5611 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.004182/0.3682, allocations: 2.66 MB / 0.5637 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00137/0.3696, allocations: 0.7634 MB / 0.5644 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001682/0.3698, allocations: 11.94 kB / 0.5644 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002121/0.37, allocations: 67.25 kB / 0.5645 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002358/0.3702, allocations: 126.9 kB / 0.5646 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003794/0.3706, allocations: 123.8 kB / 0.5647 GB, free: 424 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005381/0.3711, allocations: 450.4 kB / 0.5652 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002823/0.3714, allocations: 134.7 kB / 0.5653 GB, free: 15.83 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003059/0.3717, allocations: 183.3 kB / 0.5655 GB, free: 15.65 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002772/0.372, allocations: 199.1 kB / 0.5656 GB, free: 15.46 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.298e-05/0.372, allocations: 32 kB / 0.5657 GB, free: 15.43 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.557e-05/0.3721, allocations: 40 kB / 0.5657 GB, free: 15.39 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.749e-05/0.3722, allocations: 79.69 kB / 0.5658 GB, free: 15.31 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001745/0.3724, allocations: 171.2 kB / 0.566 GB, free: 15.14 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005418/0.3729, allocations: 468.4 kB / 0.5664 GB, free: 14.69 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.373, allocations: 0 / 0.5664 GB, free: 14.69 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.373, allocations: 4 kB / 0.5664 GB, free: 14.68 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.202e-05/0.373, allocations: 0 / 0.5664 GB, free: 14.68 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.001074/0.374, allocations: 0.6067 MB / 0.567 GB, free: 14.04 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.3741, allocations: 8.031 kB / 0.567 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003382/0.3744, allocations: 72.62 kB / 0.5671 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004959/0.3749, allocations: 253.5 kB / 0.5673 GB, free: 13.69 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.293e-05/0.3749, allocations: 29.38 kB / 0.5673 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.121e-05/0.375, allocations: 36.38 kB / 0.5674 GB, free: 13.63 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007491/0.3758, allocations: 385.3 kB / 0.5677 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.023e-05/0.3758, allocations: 15.88 kB / 0.5678 GB, free: 13.22 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.027e-05/0.3758, allocations: 16 kB / 0.5678 GB, free: 13.2 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.327e-05/0.3759, allocations: 8 kB / 0.5678 GB, free: 13.2 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005139/0.3764, allocations: 247.8 kB / 0.568 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001582/0.378, allocations: 0.9074 MB / 0.5689 GB, free: 12 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000585/0.3785, allocations: 331 kB / 0.5692 GB, free: 11.66 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002992/0.3788, allocations: 158.5 kB / 0.5694 GB, free: 11.49 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.026e-05/0.3789, allocations: 4 kB / 0.5694 GB, free: 11.49 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.803e-05/0.3789, allocations: 46.44 kB / 0.5694 GB, free: 11.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=39): time 1.734e-06/0.3789, allocations: 0 / 0.5694 GB, free: 11.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=57): time 0.004172/0.3831, allocations: 2.005 MB / 0.5714 GB, free: 9.277 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.531e-05/0.3832, allocations: 114.8 kB / 0.5715 GB, free: 9.141 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002732/0.3834, allocations: 192.1 kB / 0.5717 GB, free: 8.941 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.596e-05/0.3835, allocations: 37.7 kB / 0.5717 GB, free: 8.898 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001419/0.3836, allocations: 197.3 kB / 0.5719 GB, free: 8.699 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001699/0.3838, allocations: 214.2 kB / 0.5721 GB, free: 8.488 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001362/0.3839, allocations: 82.36 kB / 0.5722 GB, free: 8.402 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.3841, allocations: 346.7 kB / 0.5725 GB, free: 8.055 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002664/0.3844, allocations: 129.2 kB / 0.5726 GB, free: 7.93 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003656/0.3847, allocations: 236.7 kB / 0.5729 GB, free: 7.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000645/0.3854, allocations: 398 kB / 0.5732 GB, free: 7.234 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.3854, allocations: 4 kB / 0.5732 GB, free: 7.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001047/0.3864, allocations: 0.55 MB / 0.5738 GB, free: 6.664 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/0.3864, allocations: 8 kB / 0.5738 GB, free: 6.656 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.3864, allocations: 4 kB / 0.5738 GB, free: 6.652 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003932/0.3868, allocations: 118.5 kB / 0.5739 GB, free: 6.527 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004032/0.3872, allocations: 99.88 kB / 0.574 GB, free: 6.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004745/0.392, allocations: 4.815 MB / 0.5787 GB, free: 1.312 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002542/0.3922, allocations: 19.98 kB / 0.5787 GB, free: 1.293 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.309e-05/0.3923, allocations: 20 kB / 0.5787 GB, free: 1.273 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.0002344/0.3925, allocations: 166.2 kB / 0.5789 GB, free: 1.102 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.3926, allocations: 35.77 kB / 0.5789 GB, free: 1.066 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.134e-05/0.3927, allocations: 45.8 kB / 0.579 GB, free: 1.027 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/0.3927, allocations: 16.05 kB / 0.579 GB, free: 1.012 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.466e-05/0.3927, allocations: 4 kB / 0.579 GB, free: 1.008 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.246e-06/0.3927, allocations: 7.922 kB / 0.579 GB, free: 1 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00209/0.3948, allocations: 1.171 MB / 0.5801 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.698e-06/0.3948, allocations: 0 / 0.5801 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004661/0.3953, allocations: 99.83 kB / 0.5802 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003416/0.3956, allocations: 94.45 kB / 0.5803 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.451e-05/0.3957, allocations: 11.98 kB / 0.5803 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003657/0.3993, allocations: 4.041 MB / 0.5843 GB, free: 11.21 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/0.3993, allocations: 7.969 kB / 0.5843 GB, free: 11.21 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001434/0.4008, allocations: 0.917 MB / 0.5852 GB, free: 10.26 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.1e-05/0.4008, allocations: 31.8 kB / 0.5852 GB, free: 10.23 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.777e-05/0.4009, allocations: 16 kB / 0.5852 GB, free: 10.21 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002776/0.4012, allocations: 8 kB / 0.5852 GB, free: 10.2 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/0.4013, allocations: 48.03 kB / 0.5853 GB, free: 10.16 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.054e-05/0.4013, allocations: 20 kB / 0.5853 GB, free: 10.14 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000148/0.4015, allocations: 141.9 kB / 0.5854 GB, free: 10 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4015, allocations: 7.938 kB / 0.5855 GB, free: 9.992 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007471/0.4022, allocations: 120 kB / 0.5856 GB, free: 9.875 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.0001587/0.4024, allocations: 115.1 kB / 0.5857 GB, free: 9.754 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001422/0.4038, allocations: 0.7572 MB / 0.5864 GB, free: 8.961 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.4038, allocations: 0 / 0.5864 GB, free: 8.961 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008156/0.4046, allocations: 0.5623 MB / 0.587 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.0006665/0.4053, allocations: 54.92 kB / 0.587 GB, free: 8.305 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002039/0.4073, allocations: 1.097 MB / 0.5881 GB, free: 7.16 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003071/0.4076, allocations: 216.9 kB / 0.5883 GB, free: 6.926 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001376/0.4077, allocations: 31.22 kB / 0.5883 GB, free: 6.898 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.396e-05/0.4078, allocations: 31.44 kB / 0.5884 GB, free: 6.867 MB / 430.1 MB Notification: Performance of SimCode: time 9.32e-07/0.4078, allocations: 0 / 0.5884 GB, free: 6.867 MB / 430.1 MB Notification: Performance of Templates: time 0.01133/0.4192, allocations: 5.008 MB / 0.5932 GB, free: 1.906 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.4737663408741355]