Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.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.001234/0.001234, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001457/0.001457, allocations: 210.2 kB / 23.73 MB, free: 4.523 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.43/1.43, allocations: 230.6 MB / 257.5 MB, free: 7.988 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.2312/0.2312, allocations: 46.95 MB / 360.9 MB, free: 4.082 MB / 286.1 MB " [Timeout remaining time 180] 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.ConnectionPossibilities,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001999/0.001999, allocations: 71.89 kB / 0.4961 GB, free: 7.762 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3415/0.3435, allocations: 66.03 MB / 0.5606 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003078/0.3466, allocations: 1.79 MB / 0.5623 GB, free: 2.461 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003528/0.347, allocations: 143.5 kB / 0.5625 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.442e-05/0.347, allocations: 4 kB / 0.5625 GB, free: 2.316 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.459e-05/0.3471, allocations: 23.73 kB / 0.5625 GB, free: 2.293 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001332/0.3472, allocations: 55.55 kB / 0.5625 GB, free: 2.238 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001451/0.3474, allocations: 35.95 kB / 0.5626 GB, free: 2.203 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001998/0.3476, allocations: 191.1 kB / 0.5628 GB, free: 2.016 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001513/0.3477, allocations: 41.72 kB / 0.5628 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/0.3478, allocations: 71.78 kB / 0.5629 GB, free: 1.902 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001161/0.3479, allocations: 75.62 kB / 0.5629 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.942e-05/0.348, allocations: 12 kB / 0.5629 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.137e-05/0.348, allocations: 16 kB / 0.563 GB, free: 1.801 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.481e-05/0.348, allocations: 35.86 kB / 0.563 GB, free: 1.766 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.998e-05/0.3481, allocations: 71.73 kB / 0.5631 GB, free: 1.695 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002409/0.3484, allocations: 193 kB / 0.5632 GB, free: 1.508 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3484, allocations: 0 / 0.5632 GB, free: 1.508 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3484, allocations: 0 / 0.5632 GB, free: 1.508 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.561e-06/0.3484, allocations: 0 / 0.5632 GB, free: 1.508 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0005788/0.349, allocations: 378 kB / 0.5636 GB, free: 1.102 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.349, allocations: 8.031 kB / 0.5636 GB, free: 1.094 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.64e-05/0.3491, allocations: 46.73 kB / 0.5637 GB, free: 1.039 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.974e-05/0.3491, allocations: 20.84 kB / 0.5637 GB, free: 1.02 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001931/0.3493, allocations: 150.3 kB / 0.5638 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.349e-05/0.3493, allocations: 12.7 kB / 0.5638 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.267e-05/0.3494, allocations: 28.27 kB / 0.5639 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002737/0.3496, allocations: 166.2 kB / 0.564 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/0.3496, allocations: 3.938 kB / 0.564 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.654e-05/0.3497, allocations: 8 kB / 0.564 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.3497, allocations: 4 kB / 0.564 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001566/0.3498, allocations: 79.95 kB / 0.5641 GB, free: 0.543 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007953/0.3506, allocations: 0.5268 MB / 0.5646 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002258/0.3508, allocations: 125.1 kB / 0.5647 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.968e-05/0.3509, allocations: 49.69 kB / 0.5648 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.756e-05/0.3509, allocations: 4 kB / 0.5648 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.165e-05/0.351, allocations: 38.69 kB / 0.5648 GB, free: 15.72 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.333e-06/0.351, allocations: 4 kB / 0.5648 GB, free: 15.72 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007094/0.3517, allocations: 227.1 kB / 0.5651 GB, free: 15.48 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.907e-05/0.3518, allocations: 81.11 kB / 0.5651 GB, free: 15.39 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.3519, allocations: 141.1 kB / 0.5653 GB, free: 15.24 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.552e-05/0.3519, allocations: 25.7 kB / 0.5653 GB, free: 15.21 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.232e-05/0.352, allocations: 128.2 kB / 0.5654 GB, free: 15.08 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.905e-05/0.352, allocations: 59.53 kB / 0.5655 GB, free: 15.02 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.325e-05/0.3521, allocations: 37.72 kB / 0.5655 GB, free: 14.98 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.3523, allocations: 322.8 kB / 0.5658 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.574e-05/0.3523, allocations: 39.98 kB / 0.5659 GB, free: 14.61 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001227/0.3525, allocations: 104.5 kB / 0.566 GB, free: 14.48 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001995/0.3526, allocations: 156.5 kB / 0.5661 GB, free: 14.3 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.3527, allocations: 0 / 0.5661 GB, free: 14.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003613/0.353, allocations: 223 kB / 0.5663 GB, free: 14.07 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.353, allocations: 10.5 kB / 0.5663 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.353, allocations: 0 / 0.5663 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002102/0.3532, allocations: 53.62 kB / 0.5664 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001343/0.3534, allocations: 36.23 kB / 0.5664 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002323/0.3557, allocations: 2.779 MB / 0.5691 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.312e-05/0.3558, allocations: 20.34 kB / 0.5691 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.3558, allocations: 8 kB / 0.5692 GB, free: 10.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 (20): * Single equations (assignments): 18 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000116/0.3559, allocations: 134 kB / 0.5693 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.1e-05/0.356, allocations: 11.91 kB / 0.5693 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.053e-05/0.356, allocations: 20.66 kB / 0.5693 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.356, allocations: 3.938 kB / 0.5693 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/0.356, allocations: 4 kB / 0.5693 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.356, allocations: 3.984 kB / 0.5693 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002894/0.3563, allocations: 184.7 kB / 0.5695 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.3563, allocations: 4 kB / 0.5695 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001448/0.3565, allocations: 27.92 kB / 0.5695 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001288/0.3566, allocations: 49.69 kB / 0.5696 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.53e-05/0.3566, allocations: 11.94 kB / 0.5696 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002321/0.3589, allocations: 2.768 MB / 0.5723 GB, free: 7.426 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.3589, allocations: 0 / 0.5723 GB, free: 7.426 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004696/0.3594, allocations: 376.4 kB / 0.5726 GB, free: 7.035 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.671e-05/0.3594, allocations: 11.89 kB / 0.5727 GB, free: 7.023 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.535e-05/0.3594, allocations: 4 kB / 0.5727 GB, free: 7.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.3595, allocations: 8 kB / 0.5727 GB, free: 7.012 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.016e-05/0.3596, allocations: 15.91 kB / 0.5727 GB, free: 6.996 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.528e-06/0.3596, allocations: 8 kB / 0.5727 GB, free: 6.988 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.466e-05/0.3597, allocations: 95.27 kB / 0.5728 GB, free: 6.895 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3597, allocations: 96 / 0.5728 GB, free: 6.895 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004743/0.3601, allocations: 63.89 kB / 0.5728 GB, free: 6.832 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (inertia1.w,inertia2.phi,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w) * 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 (10): * Single equations (assignments): 8 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008177/0.361, allocations: 0.8929 MB / 0.5737 GB, free: 5.906 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005883/0.3615, allocations: 353.1 kB / 0.5741 GB, free: 5.539 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3615, allocations: 0 / 0.5741 GB, free: 5.539 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003182/0.3619, allocations: 281.3 kB / 0.5743 GB, free: 5.238 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004914/0.3624, allocations: 36.28 kB / 0.5744 GB, free: 5.203 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002743/0.3651, allocations: 2.324 MB / 0.5766 GB, free: 2.723 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001367/0.3652, allocations: 116.1 kB / 0.5767 GB, free: 2.59 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.605e-05/0.3653, allocations: 13.41 kB / 0.5768 GB, free: 2.578 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.153e-05/0.3654, allocations: 43.42 kB / 0.5768 GB, free: 2.535 MB / 414.1 MB Notification: Performance of SimCode: time 4.9e-07/0.3654, allocations: 0 / 0.5768 GB, free: 2.535 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04022/0.4056, allocations: 4.476 MB / 0.5812 GB, free: 14.22 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.57, allocations: 7.359 kB / 0.5812 GB, free: 14.21 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 ModelicaTest_4_1_0_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities.fmu > ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/ConnectionPossibilities/ConnectionPossibilities.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable inertia1.phi in file ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.csv. Warning: Get data of variable inertia1.phi from file ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.csv failed! Error: Could not read variable inertia4.w in file ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.csv. Warning: Get data of variable inertia4.w from file ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.609207178989891]