Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.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.001373/0.001373, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001598/0.001598, allocations: 211.9 kB / 24.51 MB, free: 3.941 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.527/1.527, allocations: 230.6 MB / 258.3 MB, free: 7.777 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.2657/0.2657, allocations: 46.96 MB / 361.7 MB, free: 4.012 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: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002074/0.002074, allocations: 63.91 kB / 0.4969 GB, free: 7.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3432/0.3453, allocations: 66.03 MB / 0.5613 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.002931/0.3482, allocations: 1.607 MB / 0.5629 GB, free: 2.605 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002667/0.3485, allocations: 111.5 kB / 0.563 GB, free: 2.496 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.463e-05/0.3486, allocations: 7.938 kB / 0.563 GB, free: 2.488 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.4e-05/0.3486, allocations: 15.86 kB / 0.563 GB, free: 2.473 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001154/0.3487, allocations: 31.7 kB / 0.5631 GB, free: 2.441 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000131/0.3489, allocations: 27.95 kB / 0.5631 GB, free: 2.414 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001773/0.349, allocations: 131.4 kB / 0.5632 GB, free: 2.285 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001422/0.3492, allocations: 29.3 kB / 0.5632 GB, free: 2.254 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.105e-05/0.3493, allocations: 55.78 kB / 0.5633 GB, free: 2.199 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.782e-05/0.3494, allocations: 47.78 kB / 0.5633 GB, free: 2.152 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.216e-05/0.3494, allocations: 8 kB / 0.5634 GB, free: 2.145 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.647e-05/0.3494, allocations: 12 kB / 0.5634 GB, free: 2.133 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.531e-05/0.3494, allocations: 15.94 kB / 0.5634 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.718e-05/0.3495, allocations: 55.78 kB / 0.5634 GB, free: 2.062 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002119/0.3497, allocations: 129.3 kB / 0.5636 GB, free: 1.938 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3497, allocations: 0 / 0.5636 GB, free: 1.938 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3497, allocations: 0 / 0.5636 GB, free: 1.938 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.145e-05/0.3497, allocations: 0 / 0.5636 GB, free: 1.938 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0005074/0.3502, allocations: 334.1 kB / 0.5639 GB, free: 1.574 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.3503, allocations: 12.03 kB / 0.5639 GB, free: 1.562 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.613e-05/0.3503, allocations: 432 / 0.5639 GB, free: 1.562 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.615e-05/0.3503, allocations: 46.73 kB / 0.5639 GB, free: 1.508 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.712e-05/0.3504, allocations: 16.83 kB / 0.5639 GB, free: 1.492 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001976/0.3506, allocations: 134.4 kB / 0.5641 GB, free: 1.336 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.3506, allocations: 8.609 kB / 0.5641 GB, free: 1.328 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.335e-05/0.3506, allocations: 16.38 kB / 0.5641 GB, free: 1.312 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002287/0.3509, allocations: 129.2 kB / 0.5642 GB, free: 1.176 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.658e-05/0.3509, allocations: 7.953 kB / 0.5642 GB, free: 1.168 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.3509, allocations: 8 kB / 0.5642 GB, free: 1.16 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.3509, allocations: 0 / 0.5642 GB, free: 1.16 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001122/0.351, allocations: 63.89 kB / 0.5643 GB, free: 1.098 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007348/0.3517, allocations: 475.6 kB / 0.5648 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001575/0.3519, allocations: 88.94 kB / 0.5648 GB, free: 492 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.622e-05/0.3519, allocations: 29.89 kB / 0.5649 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.495e-05/0.352, allocations: 4 kB / 0.5649 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/0.352, allocations: 30.56 kB / 0.5649 GB, free: 412 kB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.222e-06/0.352, allocations: 4 kB / 0.5649 GB, free: 408 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005595/0.3525, allocations: 147.2 kB / 0.565 GB, free: 248 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.927e-05/0.3526, allocations: 77.11 kB / 0.5651 GB, free: 152 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.3527, allocations: 130 kB / 0.5652 GB, free: 12 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.267e-05/0.3528, allocations: 25.7 kB / 0.5653 GB, free: 15.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.701e-05/0.3528, allocations: 119.8 kB / 0.5654 GB, free: 15.86 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.457e-05/0.3529, allocations: 31.73 kB / 0.5654 GB, free: 15.83 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.842e-05/0.3529, allocations: 29.72 kB / 0.5654 GB, free: 15.79 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.353, allocations: 326.8 kB / 0.5658 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.75e-05/0.3531, allocations: 27.98 kB / 0.5658 GB, free: 15.44 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.298e-05/0.3532, allocations: 87.53 kB / 0.5659 GB, free: 15.32 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001614/0.3534, allocations: 116.5 kB / 0.566 GB, free: 15.18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.3534, allocations: 8 kB / 0.566 GB, free: 15.17 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002777/0.3536, allocations: 159.1 kB / 0.5661 GB, free: 15 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.3537, allocations: 11.94 kB / 0.5661 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.3537, allocations: 0 / 0.5661 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001872/0.3538, allocations: 33.7 kB / 0.5662 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.085e-05/0.3539, allocations: 31.92 kB / 0.5662 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001994/0.3559, allocations: 2.531 MB / 0.5687 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.848e-05/0.356, allocations: 11.92 kB / 0.5687 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.356, allocations: 8.312 kB / 0.5687 GB, free: 12.14 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001166/0.3561, allocations: 129.8 kB / 0.5688 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.643e-05/0.3562, allocations: 7.938 kB / 0.5688 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.041e-05/0.3562, allocations: 12 kB / 0.5688 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.3562, allocations: 0 / 0.5688 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.3562, allocations: 7.938 kB / 0.5688 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.3562, allocations: 3.984 kB / 0.5689 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002584/0.3565, allocations: 172.6 kB / 0.569 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.3565, allocations: 0 / 0.569 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.941e-05/0.3566, allocations: 19.98 kB / 0.569 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001061/0.3567, allocations: 33.64 kB / 0.5691 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.3567, allocations: 4 kB / 0.5691 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001937/0.3586, allocations: 2.519 MB / 0.5715 GB, free: 8.949 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3586, allocations: 4.031 kB / 0.5715 GB, free: 8.945 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003369/0.359, allocations: 304.3 kB / 0.5718 GB, free: 8.625 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.613e-05/0.359, allocations: 12.17 kB / 0.5718 GB, free: 8.613 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.647e-05/0.359, allocations: 8 kB / 0.5718 GB, free: 8.605 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.23e-05/0.3591, allocations: 0 / 0.5718 GB, free: 8.605 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.666e-05/0.3591, allocations: 7.984 kB / 0.5719 GB, free: 8.598 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-06/0.3591, allocations: 0 / 0.5719 GB, free: 8.598 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.58e-05/0.3592, allocations: 103.3 kB / 0.572 GB, free: 8.496 MB / 414.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3592, allocations: 0 / 0.572 GB, free: 8.496 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003878/0.3596, allocations: 47.92 kB / 0.572 GB, free: 8.449 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (J1.w,J2.phi,J3.w,J4.phi) * 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 (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006656/0.3602, allocations: 0.8188 MB / 0.5728 GB, free: 7.598 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005254/0.3608, allocations: 305.2 kB / 0.5731 GB, free: 7.273 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3608, allocations: 0.5 kB / 0.5731 GB, free: 7.273 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002918/0.3611, allocations: 265.2 kB / 0.5733 GB, free: 6.988 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005038/0.3616, allocations: 26.89 kB / 0.5734 GB, free: 6.965 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002336/0.3639, allocations: 1.982 MB / 0.5753 GB, free: 4.836 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.674e-05/0.364, allocations: 93.56 kB / 0.5754 GB, free: 4.727 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.744e-05/0.364, allocations: 8.969 kB / 0.5754 GB, free: 4.711 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.722e-05/0.3641, allocations: 35.42 kB / 0.5754 GB, free: 4.676 MB / 414.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3641, allocations: 0 / 0.5754 GB, free: 4.676 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02841/0.3925, allocations: 3.304 MB / 0.5787 GB, free: 1.527 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.24/12.63, allocations: 11.38 kB / 0.5787 GB, free: 1.52 MB / 414.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Rotational_ForUsersGuide_Directions3_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Rotational_ForUsersGuide_Directions3.fmu > ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.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.92982465797104]