Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001947/0.001947, allocations: 119.6 kB / 20.44 MB, free: 1.301 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.0023/0.0023, allocations: 214.5 kB / 23.74 MB, free: 4.527 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.567/1.567, allocations: 230.6 MB / 257.5 MB, free: 7.992 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.2341/0.2341, allocations: 44.92 MB / 358.8 MB, free: 6.285 MB / 286.1 MB " [Timeout remaining time 180] 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.Directions3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_Directions3",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.002079/0.002079, allocations: 63.91 kB / 0.4931 GB, free: 10.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3692/0.3713, allocations: 65.47 MB / 0.557 GB, free: 7.531 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.00336/0.3746, allocations: 1.685 MB / 0.5587 GB, free: 6.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003102/0.375, allocations: 99.61 kB / 0.5588 GB, free: 5.992 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.229e-05/0.375, allocations: 11.94 kB / 0.5588 GB, free: 5.98 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.177e-05/0.3751, allocations: 11.86 kB / 0.5588 GB, free: 5.969 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00013/0.3752, allocations: 39.64 kB / 0.5588 GB, free: 5.93 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001395/0.3753, allocations: 23.97 kB / 0.5588 GB, free: 5.906 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001958/0.3755, allocations: 139.4 kB / 0.559 GB, free: 5.77 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000149/0.3757, allocations: 25.3 kB / 0.559 GB, free: 5.742 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.19e-05/0.3758, allocations: 43.86 kB / 0.559 GB, free: 5.699 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.376e-05/0.3759, allocations: 51.77 kB / 0.5591 GB, free: 5.648 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.324e-05/0.3759, allocations: 12 kB / 0.5591 GB, free: 5.637 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.25e-05/0.3759, allocations: 8 kB / 0.5591 GB, free: 5.629 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.022e-05/0.376, allocations: 23.94 kB / 0.5591 GB, free: 5.605 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.892e-05/0.376, allocations: 55.73 kB / 0.5592 GB, free: 5.551 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002089/0.3762, allocations: 129.3 kB / 0.5593 GB, free: 5.426 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.3762, allocations: 3.938 kB / 0.5593 GB, free: 5.422 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3762, allocations: 0 / 0.5593 GB, free: 5.422 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.3762, allocations: 3.938 kB / 0.5593 GB, free: 5.418 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.0005745/0.3768, allocations: 330.1 kB / 0.5596 GB, free: 5.059 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.3769, allocations: 12.03 kB / 0.5596 GB, free: 5.047 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.837e-05/0.3769, allocations: 50.73 kB / 0.5597 GB, free: 4.988 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.529e-05/0.377, allocations: 8.891 kB / 0.5597 GB, free: 4.98 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002044/0.3772, allocations: 138.3 kB / 0.5598 GB, free: 4.82 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.3772, allocations: 12.61 kB / 0.5598 GB, free: 4.809 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.514e-05/0.3772, allocations: 12.38 kB / 0.5598 GB, free: 4.797 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002351/0.3775, allocations: 125.6 kB / 0.56 GB, free: 4.664 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.05e-05/0.3775, allocations: 7.891 kB / 0.56 GB, free: 4.656 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.627e-05/0.3775, allocations: 8 kB / 0.56 GB, free: 4.648 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.3775, allocations: 0 / 0.56 GB, free: 4.648 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001127/0.3776, allocations: 63.89 kB / 0.56 GB, free: 4.586 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008062/0.3784, allocations: 483.7 kB / 0.5605 GB, free: 4.066 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001441/0.3786, allocations: 85.08 kB / 0.5606 GB, free: 3.965 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.876e-05/0.3786, allocations: 29.83 kB / 0.5606 GB, free: 3.93 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.998e-06/0.3786, allocations: 3.938 kB / 0.5606 GB, free: 3.926 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/0.3787, allocations: 42.5 kB / 0.5607 GB, free: 3.875 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.3787, allocations: 0 / 0.5607 GB, free: 3.875 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005455/0.3792, allocations: 143.6 kB / 0.5608 GB, free: 3.723 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.211e-05/0.3793, allocations: 85.09 kB / 0.5609 GB, free: 3.621 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.3794, allocations: 117.8 kB / 0.561 GB, free: 3.496 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.297e-05/0.3794, allocations: 33.7 kB / 0.561 GB, free: 3.457 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.299e-05/0.3795, allocations: 115.8 kB / 0.5611 GB, free: 3.34 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.917e-05/0.3795, allocations: 35.72 kB / 0.5612 GB, free: 3.305 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.822e-05/0.3796, allocations: 33.7 kB / 0.5612 GB, free: 3.266 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.3797, allocations: 322.8 kB / 0.5615 GB, free: 2.941 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.674e-05/0.3798, allocations: 23.98 kB / 0.5615 GB, free: 2.918 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.737e-05/0.3799, allocations: 84.52 kB / 0.5616 GB, free: 2.805 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001623/0.38, allocations: 128.4 kB / 0.5617 GB, free: 2.648 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.38, allocations: 0 / 0.5617 GB, free: 2.648 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003079/0.3804, allocations: 167.1 kB / 0.5619 GB, free: 2.473 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.3804, allocations: 11.98 kB / 0.5619 GB, free: 2.461 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.3804, allocations: 3.938 kB / 0.5619 GB, free: 2.457 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002126/0.3806, allocations: 37.95 kB / 0.5619 GB, free: 2.414 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.3807, allocations: 23.94 kB / 0.562 GB, free: 2.391 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002237/0.3829, allocations: 2.539 MB / 0.5644 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.757e-05/0.383, allocations: 11.92 kB / 0.5645 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.383, allocations: 8 kB / 0.5645 GB, free: 15.61 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.0001194/0.3831, allocations: 129.7 kB / 0.5646 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.472e-05/0.3832, allocations: 7.938 kB / 0.5646 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.459e-05/0.3832, allocations: 12.06 kB / 0.5646 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.3832, allocations: 4 kB / 0.5646 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.3832, allocations: 4 kB / 0.5646 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.181e-06/0.3832, allocations: 3.984 kB / 0.5646 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002759/0.3835, allocations: 172.6 kB / 0.5648 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.3835, allocations: 4 kB / 0.5648 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001068/0.3836, allocations: 11.98 kB / 0.5648 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001297/0.3838, allocations: 41.58 kB / 0.5648 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.3838, allocations: 7.938 kB / 0.5648 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002218/0.386, allocations: 2.523 MB / 0.5673 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.386, allocations: 0 / 0.5673 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003502/0.3863, allocations: 308.4 kB / 0.5676 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.488e-05/0.3864, allocations: 4.203 kB / 0.5676 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.3864, allocations: 4.047 kB / 0.5676 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.578e-05/0.3865, allocations: 7.984 kB / 0.5676 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.339e-05/0.3865, allocations: 15.98 kB / 0.5676 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.3865, allocations: 0 / 0.5676 GB, free: 12.04 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.665e-05/0.3866, allocations: 95.27 kB / 0.5677 GB, free: 11.95 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3866, allocations: 0 / 0.5677 GB, free: 11.95 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003946/0.387, allocations: 39.89 kB / 0.5678 GB, free: 11.91 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.0007178/0.3877, allocations: 0.8321 MB / 0.5686 GB, free: 11.05 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006062/0.3883, allocations: 297.7 kB / 0.5689 GB, free: 10.73 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.211e-06/0.3883, allocations: 4.062 kB / 0.5689 GB, free: 10.73 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003447/0.3886, allocations: 257.3 kB / 0.5691 GB, free: 10.45 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005678/0.3892, allocations: 24.69 kB / 0.5691 GB, free: 10.43 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003418/0.3926, allocations: 1.99 MB / 0.5711 GB, free: 8.289 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000543/0.3932, allocations: 0.7045 MB / 0.5718 GB, free: 7.559 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.016e-05/0.3933, allocations: 16.95 kB / 0.5718 GB, free: 7.535 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.271e-05/0.3933, allocations: 31.42 kB / 0.5718 GB, free: 7.504 MB / 414.1 MB Notification: Performance of SimCode: time 2.234e-06/0.3934, allocations: 0 / 0.5718 GB, free: 7.504 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04164/0.435, allocations: 3.125 MB / 0.5749 GB, free: 4.512 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/12.19, allocations: 10.86 kB / 0.5749 GB, free: 4.504 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039984 ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_Directions3.fmu > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable J1.phi in file ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.csv. Warning: Get data of variable J1.phi from file ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.csv failed! Error: Could not read variable J3.phi in file ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.csv. Warning: Get data of variable J3.phi from file ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.415213874002802]