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.00203/0.00203, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002457/0.002457, allocations: 208 kB / 23.72 MB, free: 4.391 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.561/1.561, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.2749/0.2749, allocations: 46.96 MB / 360.9 MB, free: 4.02 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.002411/0.002411, allocations: 71.89 kB / 0.4966 GB, free: 7.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3437/0.3461, allocations: 66.03 MB / 0.5611 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.004803/0.351, allocations: 2.655 MB / 0.5637 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00155/0.3525, allocations: 0.7712 MB / 0.5644 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001681/0.3527, allocations: 15.88 kB / 0.5644 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002152/0.3529, allocations: 67.31 kB / 0.5645 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002551/0.3531, allocations: 118.9 kB / 0.5646 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003668/0.3535, allocations: 119.8 kB / 0.5647 GB, free: 396 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005134/0.354, allocations: 458.3 kB / 0.5652 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002793/0.3543, allocations: 126.8 kB / 0.5653 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004116/0.3547, allocations: 187.3 kB / 0.5655 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003404/0.3551, allocations: 159.2 kB / 0.5656 GB, free: 15.46 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.836e-05/0.3551, allocations: 39.94 kB / 0.5657 GB, free: 15.43 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000101/0.3552, allocations: 40 kB / 0.5657 GB, free: 15.39 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.324e-05/0.3553, allocations: 87.62 kB / 0.5658 GB, free: 15.3 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001782/0.3555, allocations: 167.2 kB / 0.5659 GB, free: 15.14 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000583/0.3561, allocations: 468.4 kB / 0.5664 GB, free: 14.68 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.3561, allocations: 0 / 0.5664 GB, free: 14.68 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3561, allocations: 0 / 0.5664 GB, free: 14.68 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.34e-05/0.3561, 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.001066/0.3571, allocations: 0.6105 MB / 0.567 GB, free: 14.04 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.3572, allocations: 12.03 kB / 0.567 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003309/0.3575, allocations: 68.62 kB / 0.5671 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000441/0.358, allocations: 241.6 kB / 0.5673 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.558e-05/0.358, allocations: 29.38 kB / 0.5673 GB, free: 13.67 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001634/0.3582, allocations: 44.38 kB / 0.5674 GB, free: 13.63 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007951/0.3589, allocations: 385.3 kB / 0.5677 GB, free: 13.24 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.78e-05/0.359, allocations: 7.938 kB / 0.5677 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.705e-05/0.359, allocations: 16 kB / 0.5677 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.897e-05/0.359, allocations: 12 kB / 0.5678 GB, free: 13.2 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005269/0.3596, allocations: 247.8 kB / 0.568 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001595/0.3612, allocations: 0.9074 MB / 0.5689 GB, free: 12.01 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005953/0.3618, allocations: 327.5 kB / 0.5692 GB, free: 11.66 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003048/0.3621, allocations: 162.4 kB / 0.5693 GB, free: 11.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.179e-05/0.3621, allocations: 8 kB / 0.5694 GB, free: 11.49 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.368e-05/0.3621, allocations: 34.56 kB / 0.5694 GB, free: 11.45 MB / 414.1 MB Notification: Performance of pre-optimization done (n=39): time 1.823e-06/0.3621, allocations: 0 / 0.5694 GB, free: 11.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=57): time 0.003944/0.3661, allocations: 2.006 MB / 0.5713 GB, free: 9.285 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.073e-05/0.3661, allocations: 110.8 kB / 0.5715 GB, free: 9.152 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002212/0.3664, allocations: 204.1 kB / 0.5716 GB, free: 8.941 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.584e-05/0.3664, allocations: 33.7 kB / 0.5717 GB, free: 8.902 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001471/0.3665, allocations: 201.3 kB / 0.5719 GB, free: 8.699 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001669/0.3667, allocations: 202.2 kB / 0.5721 GB, free: 8.5 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001272/0.3668, allocations: 86.34 kB / 0.5721 GB, free: 8.41 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001743/0.367, allocations: 346.7 kB / 0.5725 GB, free: 8.062 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000266/0.3673, allocations: 129.2 kB / 0.5726 GB, free: 7.938 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003522/0.3676, allocations: 236.7 kB / 0.5728 GB, free: 7.668 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006717/0.3683, allocations: 402.1 kB / 0.5732 GB, free: 7.238 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3683, allocations: 0 / 0.5732 GB, free: 7.238 MB / 414.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001067/0.3694, allocations: 0.5539 MB / 0.5737 GB, free: 6.668 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.3694, allocations: 4 kB / 0.5738 GB, free: 6.664 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.3694, allocations: 4 kB / 0.5738 GB, free: 6.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003766/0.3698, allocations: 122.5 kB / 0.5739 GB, free: 6.531 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003892/0.3702, allocations: 99.81 kB / 0.574 GB, free: 6.434 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004733/0.3749, allocations: 4.8 MB / 0.5787 GB, free: 1.332 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002089/0.3751, allocations: 24.19 kB / 0.5787 GB, free: 1.309 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.908e-05/0.3751, allocations: 23.98 kB / 0.5787 GB, free: 1.285 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.0002126/0.3754, allocations: 170.2 kB / 0.5789 GB, free: 1.109 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001021/0.3755, allocations: 35.77 kB / 0.5789 GB, free: 1.074 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.042e-05/0.3755, allocations: 41.8 kB / 0.5789 GB, free: 1.039 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.706e-06/0.3756, allocations: 11.98 kB / 0.5789 GB, free: 1.027 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.616e-05/0.3756, allocations: 4 kB / 0.579 GB, free: 1.023 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.3756, allocations: 4 kB / 0.579 GB, free: 1.02 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002014/0.3776, allocations: 1.171 MB / 0.5801 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/0.3776, allocations: 8.031 kB / 0.5801 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004208/0.378, allocations: 100.1 kB / 0.5802 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002813/0.3783, allocations: 98.45 kB / 0.5803 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.291e-05/0.3783, allocations: 16 kB / 0.5803 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0039/0.3822, allocations: 4.049 MB / 0.5843 GB, free: 11.21 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.3822, allocations: 7.938 kB / 0.5843 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001454/0.3837, allocations: 0.9127 MB / 0.5852 GB, free: 10.26 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.362e-05/0.3837, allocations: 27.81 kB / 0.5852 GB, free: 10.23 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.513e-05/0.3838, allocations: 19.98 kB / 0.5852 GB, free: 10.21 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000254/0.3841, allocations: 16 kB / 0.5852 GB, free: 10.2 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/0.3842, allocations: 51.84 kB / 0.5853 GB, free: 10.14 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.584e-05/0.3842, allocations: 16 kB / 0.5853 GB, free: 10.13 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001384/0.3844, allocations: 137.9 kB / 0.5854 GB, free: 9.996 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3844, allocations: 0 / 0.5854 GB, free: 9.996 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007691/0.3851, allocations: 120 kB / 0.5855 GB, free: 9.879 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.0002155/0.3853, allocations: 111.2 kB / 0.5856 GB, free: 9.762 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00158/0.3869, allocations: 0.7611 MB / 0.5864 GB, free: 8.965 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.3869, allocations: 0 / 0.5864 GB, free: 8.965 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008306/0.3878, allocations: 0.5582 MB / 0.5869 GB, free: 8.367 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006578/0.3884, allocations: 64.39 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.002016/0.3904, allocations: 1.088 MB / 0.5881 GB, free: 7.172 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002665/0.3907, allocations: 224.8 kB / 0.5883 GB, free: 6.93 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001272/0.3908, allocations: 31.28 kB / 0.5883 GB, free: 6.902 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.346e-05/0.3909, allocations: 23.44 kB / 0.5883 GB, free: 6.879 MB / 430.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3909, allocations: 4 kB / 0.5883 GB, free: 6.875 MB / 430.1 MB Notification: Performance of Templates: time 0.01093/0.4018, allocations: 4.865 MB / 0.5931 GB, free: 2.051 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.599284663796425]