Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001617/0.001617, 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.001502/0.001502, allocations: 212.2 kB / 23.73 MB, free: 4.387 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.514/1.514, allocations: 230.6 MB / 257.5 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2737/0.2737, allocations: 44.93 MB / 358.8 MB, free: 6.012 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_Directions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_Directions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 63.89 kB / 0.493 GB, free: 10.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3531/0.3551, allocations: 65.47 MB / 0.557 GB, free: 7.324 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.004414/0.3595, allocations: 2.654 MB / 0.5595 GB, free: 4.859 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001724/0.3613, allocations: 0.775 MB / 0.5603 GB, free: 4.078 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001829/0.3614, allocations: 11.94 kB / 0.5603 GB, free: 4.066 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002092/0.3617, allocations: 59.33 kB / 0.5604 GB, free: 4.008 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002676/0.3619, allocations: 130.9 kB / 0.5605 GB, free: 3.879 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003451/0.3623, allocations: 123.8 kB / 0.5606 GB, free: 3.758 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004969/0.3628, allocations: 450.3 kB / 0.561 GB, free: 3.312 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002564/0.363, allocations: 128.6 kB / 0.5612 GB, free: 3.184 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002865/0.3633, allocations: 183.3 kB / 0.5613 GB, free: 3.004 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002573/0.3636, allocations: 163.2 kB / 0.5615 GB, free: 2.844 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.515e-05/0.3636, allocations: 39.94 kB / 0.5615 GB, free: 2.805 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.866e-05/0.3637, allocations: 40 kB / 0.5616 GB, free: 2.766 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.915e-05/0.3638, allocations: 83.75 kB / 0.5617 GB, free: 2.684 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001848/0.364, allocations: 179.1 kB / 0.5618 GB, free: 2.508 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005375/0.3645, allocations: 458 kB / 0.5623 GB, free: 2.059 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.3645, allocations: 0 / 0.5623 GB, free: 2.059 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3645, allocations: 0 / 0.5623 GB, free: 2.059 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.3645, allocations: 0 / 0.5623 GB, free: 2.059 MB / 398.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.001143/0.3657, allocations: 0.6183 MB / 0.5629 GB, free: 1.406 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.447e-05/0.3657, allocations: 12.03 kB / 0.5629 GB, free: 1.395 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001148/0.3659, allocations: 78.72 kB / 0.563 GB, free: 1.309 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003722/0.3662, allocations: 72.62 kB / 0.563 GB, free: 1.238 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004846/0.3667, allocations: 234.7 kB / 0.5632 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.539e-05/0.3667, allocations: 29.38 kB / 0.5633 GB, free: 0.957 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.645e-05/0.3668, allocations: 40.38 kB / 0.5633 GB, free: 0.918 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007062/0.3675, allocations: 389.1 kB / 0.5637 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.84e-05/0.3675, allocations: 7.953 kB / 0.5637 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.55e-05/0.3676, allocations: 20 kB / 0.5637 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.435e-05/0.3676, allocations: 8 kB / 0.5637 GB, free: 500 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005313/0.3681, allocations: 243.8 kB / 0.564 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001677/0.3698, allocations: 0.9886 MB / 0.5649 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005788/0.3704, allocations: 319.5 kB / 0.5652 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003103/0.3707, allocations: 162.4 kB / 0.5654 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.093e-05/0.3707, allocations: 7.984 kB / 0.5654 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.41e-05/0.3708, allocations: 42.5 kB / 0.5654 GB, free: 14.64 MB / 414.1 MB Notification: Performance of pre-optimization done (n=39): time 1.853e-06/0.3708, allocations: 4 kB / 0.5654 GB, free: 14.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=57): time 0.003993/0.3748, allocations: 2.013 MB / 0.5674 GB, free: 12.47 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.567e-05/0.3749, allocations: 106.8 kB / 0.5675 GB, free: 12.34 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002919/0.3752, allocations: 245.9 kB / 0.5677 GB, free: 12.1 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.734e-05/0.3752, allocations: 37.7 kB / 0.5678 GB, free: 12.05 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001531/0.3753, allocations: 184.9 kB / 0.5679 GB, free: 11.87 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001991/0.3755, allocations: 214.2 kB / 0.5681 GB, free: 11.66 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001333/0.3757, allocations: 86.34 kB / 0.5682 GB, free: 11.57 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002009/0.3759, allocations: 350.7 kB / 0.5686 GB, free: 11.22 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002723/0.3761, allocations: 133.2 kB / 0.5687 GB, free: 11.09 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003718/0.3765, allocations: 228.8 kB / 0.5689 GB, free: 10.83 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006716/0.3772, allocations: 398 kB / 0.5693 GB, free: 10.4 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3772, allocations: 0 / 0.5693 GB, free: 10.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001076/0.3783, allocations: 0.5579 MB / 0.5698 GB, free: 9.828 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.3783, allocations: 4.094 kB / 0.5698 GB, free: 9.824 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.3783, allocations: 8 kB / 0.5698 GB, free: 9.816 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003929/0.3787, allocations: 118.5 kB / 0.57 GB, free: 9.691 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003988/0.3791, allocations: 99.81 kB / 0.5701 GB, free: 9.594 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004871/0.384, allocations: 4.884 MB / 0.5748 GB, free: 4.371 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002275/0.3842, allocations: 16 kB / 0.5748 GB, free: 4.355 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.633e-05/0.3842, allocations: 23.98 kB / 0.5749 GB, free: 4.332 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.0002175/0.3844, allocations: 169.8 kB / 0.575 GB, free: 4.156 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.922e-05/0.3845, allocations: 39.77 kB / 0.5751 GB, free: 4.117 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.635e-05/0.3846, allocations: 46.11 kB / 0.5751 GB, free: 4.07 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.3846, allocations: 8 kB / 0.5751 GB, free: 4.062 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.269e-05/0.3847, allocations: 3.938 kB / 0.5751 GB, free: 4.059 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.3847, allocations: 7.984 kB / 0.5751 GB, free: 4.051 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002095/0.3868, allocations: 1.241 MB / 0.5763 GB, free: 2.742 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.3868, allocations: 4 kB / 0.5763 GB, free: 2.738 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004003/0.3872, allocations: 91.88 kB / 0.5764 GB, free: 2.648 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003132/0.3875, allocations: 98.55 kB / 0.5765 GB, free: 2.543 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.944e-05/0.3875, allocations: 16 kB / 0.5765 GB, free: 2.527 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00373/0.3912, allocations: 4.102 MB / 0.5805 GB, free: 14.08 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.474e-06/0.3912, allocations: 4.031 kB / 0.5805 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001459/0.3927, allocations: 0.9143 MB / 0.5814 GB, free: 13.12 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.923e-05/0.3928, allocations: 39.8 kB / 0.5815 GB, free: 13.09 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.386e-05/0.3928, allocations: 16.06 kB / 0.5815 GB, free: 13.07 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002623/0.3931, allocations: 19.98 kB / 0.5815 GB, free: 13.05 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/0.3932, allocations: 51.8 kB / 0.5816 GB, free: 13 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.28e-05/0.3932, allocations: 16 kB / 0.5816 GB, free: 12.98 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001835/0.3934, allocations: 173.2 kB / 0.5817 GB, free: 12.81 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3934, allocations: 0 / 0.5817 GB, free: 12.81 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007093/0.3941, allocations: 124 kB / 0.5819 GB, free: 12.69 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.001789/0.3959, allocations: 1.467 MB / 0.5833 GB, free: 11.18 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001386/0.3973, allocations: 0.7634 MB / 0.584 GB, free: 10.38 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.3973, allocations: 0 / 0.584 GB, free: 10.38 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008358/0.3981, allocations: 0.5585 MB / 0.5846 GB, free: 9.785 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006581/0.3988, allocations: 68.41 kB / 0.5846 GB, free: 9.723 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006102/0.4049, allocations: 4.186 MB / 0.5887 GB, free: 5.348 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002673/0.4052, allocations: 220.9 kB / 0.5889 GB, free: 5.105 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001488/0.4053, allocations: 35.27 kB / 0.589 GB, free: 5.07 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001897/0.4055, allocations: 127.4 kB / 0.5891 GB, free: 4.949 MB / 430.1 MB Notification: Performance of SimCode: time 9.02e-07/0.4055, allocations: 8 kB / 0.5891 GB, free: 4.941 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0496/0.4551, allocations: 9.18 MB / 0.5981 GB, free: 11.94 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.85/12.31, allocations: 0 / 0.5981 GB, free: 11.94 MB / 446.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_Directions_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_Directions.fmu > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 15.501143307890743]