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.001741/0.001741, allocations: 110.4 kB / 21.1 MB, free: 0.7891 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.002116/0.002116, allocations: 205.4 kB / 24.38 MB, free: 4.203 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.48/1.48, allocations: 230.2 MB / 257.7 MB, free: 8.273 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.2425/0.2425, allocations: 46.89 MB / 361 MB, free: 4.457 MB / 286.1 MB " [Timeout remaining time 180] 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.002401/0.002401, allocations: 75.88 kB / 0.4962 GB, free: 8.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3505/0.3529, allocations: 66.03 MB / 0.5606 GB, free: 4.555 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.003228/0.3561, allocations: 1.675 MB / 0.5623 GB, free: 2.871 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003362/0.3565, allocations: 111.6 kB / 0.5624 GB, free: 2.762 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.628e-05/0.3565, allocations: 4 kB / 0.5624 GB, free: 2.758 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.953e-05/0.3566, allocations: 11.86 kB / 0.5624 GB, free: 2.746 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001204/0.3567, allocations: 39.64 kB / 0.5624 GB, free: 2.707 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001324/0.3569, allocations: 23.97 kB / 0.5625 GB, free: 2.684 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001891/0.357, allocations: 135.4 kB / 0.5626 GB, free: 2.551 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001464/0.3572, allocations: 25.28 kB / 0.5626 GB, free: 2.523 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.2e-05/0.3573, allocations: 47.86 kB / 0.5627 GB, free: 2.477 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.115e-05/0.3574, allocations: 47.78 kB / 0.5627 GB, free: 2.43 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.321e-05/0.3574, allocations: 12 kB / 0.5627 GB, free: 2.418 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.131e-05/0.3574, allocations: 12 kB / 0.5627 GB, free: 2.406 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.465e-05/0.3575, allocations: 27.91 kB / 0.5627 GB, free: 2.379 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.866e-05/0.3575, allocations: 51.75 kB / 0.5628 GB, free: 2.328 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002063/0.3577, allocations: 125.3 kB / 0.5629 GB, free: 2.207 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3577, allocations: 0 / 0.5629 GB, free: 2.207 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3577, allocations: 0 / 0.5629 GB, free: 2.207 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.3578, allocations: 3.938 kB / 0.5629 GB, free: 2.203 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.0005541/0.3583, allocations: 415.2 kB / 0.5633 GB, free: 1.742 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.3583, allocations: 12.03 kB / 0.5633 GB, free: 1.73 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.704e-05/0.3584, allocations: 42.69 kB / 0.5634 GB, free: 1.68 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.328e-05/0.3584, allocations: 12.89 kB / 0.5634 GB, free: 1.668 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002146/0.3586, allocations: 200.2 kB / 0.5636 GB, free: 1.434 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.3587, allocations: 8.609 kB / 0.5636 GB, free: 1.426 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.392e-05/0.3587, allocations: 12.38 kB / 0.5636 GB, free: 1.414 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002318/0.3589, allocations: 141.5 kB / 0.5637 GB, free: 1.266 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/0.3589, allocations: 7.891 kB / 0.5637 GB, free: 1.258 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.301e-05/0.359, allocations: 4 kB / 0.5637 GB, free: 1.254 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.359, allocations: 11.94 kB / 0.5638 GB, free: 1.242 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001136/0.3591, allocations: 55.91 kB / 0.5638 GB, free: 1.188 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007614/0.3598, allocations: 0.5334 MB / 0.5643 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001485/0.36, allocations: 85.17 kB / 0.5644 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.433e-05/0.36, allocations: 29.73 kB / 0.5644 GB, free: 468 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.319e-05/0.36, allocations: 0 / 0.5644 GB, free: 468 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.492e-05/0.3601, allocations: 42.5 kB / 0.5645 GB, free: 416 kB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 9.92e-07/0.3601, allocations: 0 / 0.5645 GB, free: 416 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006283/0.3607, allocations: 297.5 kB / 0.5648 GB, free: 68 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.4e-05/0.3608, allocations: 77.11 kB / 0.5648 GB, free: 15.97 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.3609, allocations: 125.8 kB / 0.565 GB, free: 15.84 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/0.3609, allocations: 25.7 kB / 0.565 GB, free: 15.81 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.553e-05/0.361, allocations: 123.8 kB / 0.5651 GB, free: 15.68 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.236e-05/0.361, allocations: 31.73 kB / 0.5651 GB, free: 15.65 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.861e-05/0.3611, allocations: 25.72 kB / 0.5651 GB, free: 15.62 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.3613, allocations: 330.8 kB / 0.5655 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.356e-05/0.3613, allocations: 23.98 kB / 0.5655 GB, free: 15.27 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.441e-05/0.3614, allocations: 84.52 kB / 0.5656 GB, free: 15.15 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001611/0.3616, allocations: 128.5 kB / 0.5657 GB, free: 15 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.3616, allocations: 0 / 0.5657 GB, free: 15 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002929/0.3619, allocations: 163.5 kB / 0.5658 GB, free: 14.82 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.3619, allocations: 11.98 kB / 0.5659 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.3619, allocations: 7.938 kB / 0.5659 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001992/0.3621, allocations: 45.95 kB / 0.5659 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.191e-05/0.3622, allocations: 19.94 kB / 0.5659 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002244/0.3644, allocations: 2.73 MB / 0.5686 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.46e-05/0.3645, allocations: 15.89 kB / 0.5686 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-06/0.3645, allocations: 4 kB / 0.5686 GB, free: 11.71 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.0001245/0.3646, allocations: 125.8 kB / 0.5687 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.98e-05/0.3647, allocations: 8.031 kB / 0.5687 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.963e-05/0.3647, allocations: 12 kB / 0.5688 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.451e-06/0.3647, allocations: 7.984 kB / 0.5688 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.3647, allocations: 0 / 0.5688 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.3647, allocations: 0 / 0.5688 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002923/0.365, allocations: 209.5 kB / 0.569 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.365, allocations: 0 / 0.569 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.851e-05/0.3651, allocations: 16.03 kB / 0.569 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001215/0.3652, allocations: 41.56 kB / 0.569 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.3652, allocations: 8 kB / 0.569 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002168/0.3674, allocations: 2.726 MB / 0.5717 GB, free: 8.211 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.3674, allocations: 0 / 0.5717 GB, free: 8.211 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003755/0.3678, allocations: 304.3 kB / 0.572 GB, free: 7.891 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.749e-05/0.3678, allocations: 89.09 kB / 0.5721 GB, free: 7.785 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.3679, allocations: 4 kB / 0.5721 GB, free: 7.781 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.368, allocations: 8.062 kB / 0.5721 GB, free: 7.773 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.613e-05/0.368, allocations: 7.922 kB / 0.5721 GB, free: 7.766 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.368, allocations: 8 kB / 0.5721 GB, free: 7.758 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.381e-05/0.3681, allocations: 91.27 kB / 0.5722 GB, free: 7.668 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3681, allocations: 0 / 0.5722 GB, free: 7.668 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003792/0.3684, allocations: 39.89 kB / 0.5722 GB, free: 7.629 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.0006885/0.3691, allocations: 0.8306 MB / 0.573 GB, free: 6.766 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005179/0.3696, allocations: 305.7 kB / 0.5733 GB, free: 6.441 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3696, allocations: 0 / 0.5733 GB, free: 6.441 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002853/0.3699, allocations: 261.6 kB / 0.5736 GB, free: 6.16 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004927/0.3704, allocations: 31.86 kB / 0.5736 GB, free: 6.129 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002393/0.3728, allocations: 1.974 MB / 0.5755 GB, free: 4.008 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003815/0.3732, allocations: 0.7084 MB / 0.5762 GB, free: 3.273 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.51e-05/0.3733, allocations: 8.984 kB / 0.5762 GB, free: 3.258 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.624e-05/0.3733, allocations: 31.42 kB / 0.5763 GB, free: 3.227 MB / 414.1 MB Notification: Performance of SimCode: time 7.92e-07/0.3733, allocations: 3.938 kB / 0.5763 GB, free: 3.223 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03423/0.4076, allocations: 3.093 MB / 0.5793 GB, free: 224 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.19/10.6, allocations: 5.75 kB / 0.5793 GB, free: 224 kB / 414.1 MB " [Timeout remaining time 649] (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.0.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: 13.656459365040064]