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.001822/0.001822, 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.00227/0.00227, allocations: 210.4 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.525/1.525, 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.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.321/0.321, allocations: 46.97 MB / 360.9 MB, free: 4.004 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00234/0.00234, allocations: 63.91 kB / 0.4961 GB, free: 7.711 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3515/0.3538, allocations: 66.04 MB / 0.5606 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.003048/0.3568, allocations: 1.615 MB / 0.5622 GB, free: 2.57 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003507/0.3572, allocations: 107.6 kB / 0.5623 GB, free: 2.465 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.378e-05/0.3573, allocations: 3.938 kB / 0.5623 GB, free: 2.461 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.74e-05/0.3573, allocations: 15.86 kB / 0.5623 GB, free: 2.445 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001209/0.3575, allocations: 35.69 kB / 0.5623 GB, free: 2.41 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001328/0.3576, allocations: 31.91 kB / 0.5623 GB, free: 2.379 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001688/0.3578, allocations: 131.3 kB / 0.5625 GB, free: 2.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001424/0.3579, allocations: 33.23 kB / 0.5625 GB, free: 2.215 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001018/0.358, allocations: 51.78 kB / 0.5625 GB, free: 2.164 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.07e-05/0.3581, allocations: 39.78 kB / 0.5626 GB, free: 2.125 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.552e-05/0.3581, allocations: 12 kB / 0.5626 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.844e-05/0.3581, allocations: 8 kB / 0.5626 GB, free: 2.105 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.863e-05/0.3582, allocations: 23.92 kB / 0.5626 GB, free: 2.082 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.359e-05/0.3582, allocations: 51.78 kB / 0.5627 GB, free: 2.031 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001824/0.3584, allocations: 125.3 kB / 0.5628 GB, free: 1.91 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.3584, allocations: 0 / 0.5628 GB, free: 1.91 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3584, allocations: 0 / 0.5628 GB, free: 1.91 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.168e-05/0.3584, allocations: 0 / 0.5628 GB, free: 1.91 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.0005211/0.359, allocations: 342 kB / 0.5631 GB, free: 1.539 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.359, allocations: 8.031 kB / 0.5631 GB, free: 1.531 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.831e-05/0.359, allocations: 46.73 kB / 0.5632 GB, free: 1.477 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.455e-05/0.3591, allocations: 12.89 kB / 0.5632 GB, free: 1.465 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001869/0.3593, allocations: 130.4 kB / 0.5633 GB, free: 1.312 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.3593, allocations: 8.609 kB / 0.5633 GB, free: 1.305 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.762e-05/0.3593, allocations: 16.31 kB / 0.5633 GB, free: 1.289 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002296/0.3595, allocations: 125.6 kB / 0.5635 GB, free: 1.156 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.229e-05/0.3596, allocations: 15.88 kB / 0.5635 GB, free: 1.141 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.3596, allocations: 0 / 0.5635 GB, free: 1.141 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.3596, allocations: 8 kB / 0.5635 GB, free: 1.133 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001157/0.3597, allocations: 59.95 kB / 0.5635 GB, free: 1.074 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008017/0.3605, allocations: 467.6 kB / 0.564 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001515/0.3607, allocations: 85.16 kB / 0.5641 GB, free: 480 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.724e-05/0.3607, allocations: 29.66 kB / 0.5641 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.302e-05/0.3607, allocations: 0 / 0.5641 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/0.3607, allocations: 38.64 kB / 0.5641 GB, free: 396 kB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.3607, allocations: 3.938 kB / 0.5641 GB, free: 392 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005404/0.3613, allocations: 147.2 kB / 0.5643 GB, free: 232 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.828e-05/0.3613, allocations: 81.05 kB / 0.5643 GB, free: 132 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.3615, allocations: 121.8 kB / 0.5645 GB, free: 0 / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.504e-05/0.3615, allocations: 29.7 kB / 0.5645 GB, free: 15.96 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.405e-05/0.3616, allocations: 127.8 kB / 0.5646 GB, free: 15.84 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.795e-05/0.3616, allocations: 27.75 kB / 0.5646 GB, free: 15.81 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.788e-05/0.3617, allocations: 29.7 kB / 0.5647 GB, free: 15.77 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.3618, allocations: 326.8 kB / 0.565 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.832e-05/0.3619, allocations: 24 kB / 0.565 GB, free: 15.42 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.359e-05/0.3619, allocations: 87.39 kB / 0.5651 GB, free: 15.31 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001606/0.3621, allocations: 120.5 kB / 0.5652 GB, free: 15.16 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.3621, allocations: 3.938 kB / 0.5652 GB, free: 15.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002948/0.3624, allocations: 171.1 kB / 0.5654 GB, free: 14.98 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.3624, allocations: 4 kB / 0.5654 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.3624, allocations: 8.406 kB / 0.5654 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001838/0.3626, allocations: 41.64 kB / 0.5654 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.349e-05/0.3627, allocations: 19.98 kB / 0.5654 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002204/0.3649, allocations: 2.535 MB / 0.5679 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.306e-05/0.365, allocations: 7.953 kB / 0.5679 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.869e-06/0.365, allocations: 4 kB / 0.5679 GB, free: 12.12 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.0001205/0.3651, allocations: 137.2 kB / 0.5681 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.976e-05/0.3652, allocations: 15.88 kB / 0.5681 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.762e-05/0.3652, allocations: 16 kB / 0.5681 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.3652, allocations: 0 / 0.5681 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.3652, allocations: 0 / 0.5681 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.3652, allocations: 4 kB / 0.5681 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003396/0.3655, allocations: 160.7 kB / 0.5682 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.3656, allocations: 0 / 0.5682 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.749e-05/0.3656, allocations: 12 kB / 0.5683 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00011/0.3658, allocations: 41.64 kB / 0.5683 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.3658, allocations: 0 / 0.5683 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002048/0.3678, allocations: 2.519 MB / 0.5708 GB, free: 8.938 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.3678, allocations: 8.031 kB / 0.5708 GB, free: 8.93 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000333/0.3682, allocations: 312.3 kB / 0.5711 GB, free: 8.602 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.42e-05/0.3682, allocations: 4.25 kB / 0.5711 GB, free: 8.598 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.484e-05/0.3682, allocations: 4 kB / 0.5711 GB, free: 8.594 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.284e-05/0.3683, allocations: 0 / 0.5711 GB, free: 8.594 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.462e-05/0.3683, allocations: 8.031 kB / 0.5711 GB, free: 8.586 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-06/0.3683, allocations: 4 kB / 0.5711 GB, free: 8.582 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.616e-05/0.3684, allocations: 95.27 kB / 0.5712 GB, free: 8.488 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3684, allocations: 0 / 0.5712 GB, free: 8.488 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003588/0.3687, allocations: 39.89 kB / 0.5712 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.0006263/0.3694, allocations: 0.8344 MB / 0.572 GB, free: 7.582 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004763/0.3698, allocations: 305.5 kB / 0.5723 GB, free: 7.258 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3698, allocations: 0 / 0.5723 GB, free: 7.258 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002852/0.3701, allocations: 262 kB / 0.5726 GB, free: 6.977 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000526/0.3706, allocations: 39.98 kB / 0.5726 GB, free: 6.938 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002382/0.373, allocations: 1.971 MB / 0.5745 GB, free: 4.82 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001044/0.3731, allocations: 97.59 kB / 0.5746 GB, free: 4.707 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.113e-05/0.3732, allocations: 4.984 kB / 0.5746 GB, free: 4.695 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.536e-05/0.3732, allocations: 31.42 kB / 0.5747 GB, free: 4.664 MB / 414.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3732, allocations: 0 / 0.5747 GB, free: 4.664 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03713/0.4104, allocations: 3.631 MB / 0.5782 GB, free: 1.18 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/12.14, allocations: 7.969 kB / 0.5782 GB, free: 1.172 MB / 414.1 MB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.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_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.csv","/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] "Error: Could not read variable J1.phi in file ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.csv. Warning: Get data of variable J1.phi from file ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.csv failed! Error: Could not read variable J3.phi in file ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.csv. Warning: Get data of variable J3.phi from file ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.529937942046672]