Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0014/0.0014, allocations: 108.3 kB / 20.48 MB, free: 0.9805 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00152/0.00152, allocations: 218.7 kB / 23.78 MB, free: 4.215 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.485/1.485, allocations: 230.5 MB / 257.5 MB, free: 7.711 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2509/0.2509, allocations: 46.95 MB / 360.9 MB, free: 3.883 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002364/0.002364, allocations: 83.88 kB / 0.4962 GB, free: 7.508 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3598/0.3622, allocations: 66.08 MB / 0.5608 GB, free: 3.992 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.003256/0.3655, allocations: 1.611 MB / 0.5623 GB, free: 2.371 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003083/0.3658, allocations: 111.5 kB / 0.5624 GB, free: 2.262 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.171e-05/0.3658, allocations: 4 kB / 0.5624 GB, free: 2.258 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.961e-05/0.3659, allocations: 15.8 kB / 0.5625 GB, free: 2.242 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000123/0.366, allocations: 35.7 kB / 0.5625 GB, free: 2.207 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001286/0.3661, allocations: 23.97 kB / 0.5625 GB, free: 2.184 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001802/0.3663, allocations: 135.4 kB / 0.5626 GB, free: 2.051 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001504/0.3665, allocations: 21.28 kB / 0.5627 GB, free: 2.027 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.661e-05/0.3666, allocations: 51.8 kB / 0.5627 GB, free: 1.977 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.848e-05/0.3667, allocations: 43.78 kB / 0.5628 GB, free: 1.934 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.007e-05/0.3667, allocations: 12 kB / 0.5628 GB, free: 1.922 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.384e-05/0.3667, allocations: 12 kB / 0.5628 GB, free: 1.91 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.419e-05/0.3667, allocations: 27.91 kB / 0.5628 GB, free: 1.883 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.442e-05/0.3668, allocations: 39.81 kB / 0.5628 GB, free: 1.844 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000209/0.367, allocations: 125.3 kB / 0.563 GB, free: 1.723 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.367, allocations: 0 / 0.563 GB, free: 1.723 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.367, allocations: 0 / 0.563 GB, free: 1.723 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.125e-06/0.367, allocations: 0 / 0.563 GB, free: 1.723 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.0005902/0.3676, allocations: 338.1 kB / 0.5633 GB, free: 1.355 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.3677, allocations: 12.03 kB / 0.5633 GB, free: 1.344 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.953e-05/0.3677, allocations: 46.75 kB / 0.5633 GB, free: 1.289 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.582e-05/0.3678, allocations: 12.88 kB / 0.5634 GB, free: 1.277 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001924/0.368, allocations: 138.3 kB / 0.5635 GB, free: 1.117 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.368, allocations: 8.609 kB / 0.5635 GB, free: 1.109 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.299e-05/0.368, allocations: 16.38 kB / 0.5635 GB, free: 1.094 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002375/0.3683, allocations: 125.5 kB / 0.5636 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.193e-05/0.3683, allocations: 15.83 kB / 0.5636 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.578e-05/0.3683, allocations: 4 kB / 0.5637 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.3683, allocations: 4 kB / 0.5637 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001191/0.3684, allocations: 59.33 kB / 0.5637 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007959/0.3692, allocations: 475.6 kB / 0.5642 GB, free: 380 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001463/0.3694, allocations: 85.16 kB / 0.5642 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.7e-05/0.3694, allocations: 29.59 kB / 0.5643 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.88e-05/0.3694, allocations: 4 kB / 0.5643 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.532e-05/0.3695, allocations: 34.56 kB / 0.5643 GB, free: 192 kB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/0.3695, allocations: 0 / 0.5643 GB, free: 192 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005878/0.3701, allocations: 147.3 kB / 0.5645 GB, free: 32 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/0.3702, allocations: 81.16 kB / 0.5645 GB, free: 15.93 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.3703, allocations: 121.7 kB / 0.5646 GB, free: 15.8 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.625e-05/0.3703, allocations: 29.7 kB / 0.5647 GB, free: 15.77 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.242e-05/0.3704, allocations: 119.8 kB / 0.5648 GB, free: 15.65 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.013e-05/0.3704, allocations: 31.73 kB / 0.5648 GB, free: 15.62 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.477e-05/0.3705, allocations: 33.7 kB / 0.5648 GB, free: 15.58 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.3706, allocations: 326.7 kB / 0.5652 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.422e-05/0.3707, allocations: 19.98 kB / 0.5652 GB, free: 15.23 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001018/0.3708, allocations: 86.83 kB / 0.5653 GB, free: 15.12 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001567/0.3709, allocations: 120.8 kB / 0.5654 GB, free: 14.97 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.3709, allocations: 4 kB / 0.5654 GB, free: 14.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000297/0.3712, allocations: 175.2 kB / 0.5655 GB, free: 14.78 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.3713, allocations: 8 kB / 0.5656 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.765e-05/0.3713, allocations: 7.938 kB / 0.5656 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001998/0.3715, allocations: 37.7 kB / 0.5656 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.101e-05/0.3716, allocations: 19.94 kB / 0.5656 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00209/0.3737, allocations: 2.527 MB / 0.5681 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.032e-05/0.3737, allocations: 15.98 kB / 0.5681 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-05/0.3737, allocations: 4 kB / 0.5681 GB, free: 11.93 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.000125/0.3739, allocations: 129.2 kB / 0.5682 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.746e-05/0.3739, allocations: 16.14 kB / 0.5682 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.199e-05/0.3739, allocations: 12.08 kB / 0.5683 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.239e-06/0.3739, allocations: 7.984 kB / 0.5683 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.3739, allocations: 0 / 0.5683 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.3739, allocations: 0 / 0.5683 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002669/0.3742, allocations: 164.7 kB / 0.5684 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.3742, allocations: 3.938 kB / 0.5684 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.836e-05/0.3743, allocations: 19.92 kB / 0.5684 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001003/0.3744, allocations: 37.64 kB / 0.5685 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.3744, allocations: 4 kB / 0.5685 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001907/0.3763, allocations: 2.52 MB / 0.5709 GB, free: 8.734 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.3763, allocations: 0 / 0.5709 GB, free: 8.734 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003288/0.3767, allocations: 312.6 kB / 0.5712 GB, free: 8.406 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.357e-06/0.3767, allocations: 4 kB / 0.5712 GB, free: 8.402 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.613e-05/0.3767, allocations: 4.094 kB / 0.5713 GB, free: 8.398 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.864e-05/0.3768, allocations: 0 / 0.5713 GB, free: 8.398 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.791e-05/0.3768, allocations: 15.97 kB / 0.5713 GB, free: 8.383 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.3768, allocations: 0 / 0.5713 GB, free: 8.383 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.894e-05/0.3769, allocations: 95.27 kB / 0.5714 GB, free: 8.289 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3769, allocations: 0 / 0.5714 GB, free: 8.289 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003488/0.3772, allocations: 39.89 kB / 0.5714 GB, free: 8.25 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.0006585/0.3779, allocations: 0.8383 MB / 0.5722 GB, free: 7.379 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004964/0.3784, allocations: 305.2 kB / 0.5725 GB, free: 7.055 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3784, allocations: 0 / 0.5725 GB, free: 7.055 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002666/0.3786, allocations: 257.3 kB / 0.5727 GB, free: 6.777 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005023/0.3791, allocations: 28.42 kB / 0.5728 GB, free: 6.75 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00215/0.3813, allocations: 1.971 MB / 0.5747 GB, free: 4.629 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001031/0.3814, allocations: 93.8 kB / 0.5748 GB, free: 4.516 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.727e-05/0.3814, allocations: 4.984 kB / 0.5748 GB, free: 4.504 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.076e-05/0.3815, allocations: 28.48 kB / 0.5748 GB, free: 4.477 MB / 414.1 MB Notification: Performance of SimCode: time 6.32e-07/0.3815, allocations: 4 kB / 0.5748 GB, free: 4.473 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04276/0.4242, allocations: 3.719 MB / 0.5785 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.89/12.31, allocations: 7.312 kB / 0.5785 GB, free: 0.8672 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Rotational_ForUsersGuide_Directions3.fmu > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.csv. Warning: Get data of variable J1.phi from file ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.csv failed! Error: Could not read variable J3.phi in file ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.csv. Warning: Get data of variable J3.phi from file ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.420269344002008]