Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0018/0.0018, 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.002124/0.002124, allocations: 210.9 kB / 23.72 MB, free: 4.391 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.55/1.55, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.2311/0.2311, allocations: 44.93 MB / 358.8 MB, free: 6.055 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.ConnectionPossibilities,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",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.002321/0.002321, allocations: 67.91 kB / 0.493 GB, free: 10.55 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3343/0.3366, allocations: 65.47 MB / 0.557 GB, free: 7.344 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003436/0.34, allocations: 1.777 MB / 0.5587 GB, free: 5.773 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004487/0.3405, allocations: 155.4 kB / 0.5588 GB, free: 5.621 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001033/0.3406, allocations: 7.938 kB / 0.5588 GB, free: 5.613 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 7.341e-05/0.3407, allocations: 23.8 kB / 0.5589 GB, free: 5.59 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000156/0.3408, allocations: 51.55 kB / 0.5589 GB, free: 5.539 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000155/0.341, allocations: 39.88 kB / 0.559 GB, free: 5.5 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002203/0.3412, allocations: 187.2 kB / 0.5591 GB, free: 5.316 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001479/0.3414, allocations: 33.73 kB / 0.5592 GB, free: 5.281 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001144/0.3415, allocations: 75.7 kB / 0.5592 GB, free: 5.207 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001114/0.3416, allocations: 67.64 kB / 0.5593 GB, free: 5.141 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.025e-05/0.3416, allocations: 12 kB / 0.5593 GB, free: 5.129 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.32e-05/0.3416, allocations: 16 kB / 0.5593 GB, free: 5.113 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.472e-05/0.3417, allocations: 31.92 kB / 0.5594 GB, free: 5.082 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.441e-05/0.3418, allocations: 75.7 kB / 0.5594 GB, free: 5.008 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002394/0.342, allocations: 185 kB / 0.5596 GB, free: 4.828 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.342, allocations: 0 / 0.5596 GB, free: 4.828 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.436e-06/0.342, allocations: 3.984 kB / 0.5596 GB, free: 4.824 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.622e-06/0.342, allocations: 0 / 0.5596 GB, free: 4.824 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.0005579/0.3426, allocations: 374 kB / 0.56 GB, free: 4.422 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.3426, allocations: 8.031 kB / 0.56 GB, free: 4.414 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.815e-05/0.3427, allocations: 50.73 kB / 0.56 GB, free: 4.355 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.142e-05/0.3427, allocations: 24.84 kB / 0.56 GB, free: 4.332 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001951/0.3429, allocations: 154.2 kB / 0.5602 GB, free: 4.156 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.3429, allocations: 12.7 kB / 0.5602 GB, free: 4.145 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.012e-05/0.343, allocations: 20.33 kB / 0.5602 GB, free: 4.125 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002793/0.3432, allocations: 166.2 kB / 0.5604 GB, free: 3.953 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.857e-05/0.3433, allocations: 3.938 kB / 0.5604 GB, free: 3.949 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.632e-05/0.3433, allocations: 8 kB / 0.5604 GB, free: 3.941 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.3433, allocations: 4 kB / 0.5604 GB, free: 3.938 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001654/0.3435, allocations: 91.88 kB / 0.5605 GB, free: 3.848 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007945/0.3442, allocations: 0.519 MB / 0.561 GB, free: 3.281 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002207/0.3445, allocations: 125.1 kB / 0.5611 GB, free: 3.141 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.998e-05/0.3445, allocations: 45.7 kB / 0.5612 GB, free: 3.09 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.316e-05/0.3446, allocations: 16.11 kB / 0.5612 GB, free: 3.074 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.3446, allocations: 30.56 kB / 0.5612 GB, free: 3.035 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.183e-06/0.3446, allocations: 4 kB / 0.5612 GB, free: 3.031 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007014/0.3453, allocations: 223 kB / 0.5614 GB, free: 2.801 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.491e-05/0.3454, allocations: 81.11 kB / 0.5615 GB, free: 2.703 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.3455, allocations: 136.9 kB / 0.5616 GB, free: 2.559 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.3455, allocations: 29.7 kB / 0.5617 GB, free: 2.523 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.117e-05/0.3456, allocations: 132.2 kB / 0.5618 GB, free: 2.391 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.956e-05/0.3456, allocations: 59.53 kB / 0.5618 GB, free: 2.332 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.697e-05/0.3457, allocations: 37.7 kB / 0.5619 GB, free: 2.289 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.3458, allocations: 326.8 kB / 0.5622 GB, free: 1.961 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.618e-05/0.3459, allocations: 35.98 kB / 0.5622 GB, free: 1.926 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001154/0.346, allocations: 106.1 kB / 0.5623 GB, free: 1.793 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001944/0.3462, allocations: 152.5 kB / 0.5625 GB, free: 1.613 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.3462, allocations: 4 kB / 0.5625 GB, free: 1.609 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003676/0.3466, allocations: 226.9 kB / 0.5627 GB, free: 1.375 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.3466, allocations: 11.94 kB / 0.5627 GB, free: 1.363 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.3466, allocations: 0 / 0.5627 GB, free: 1.363 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002134/0.3468, allocations: 45.95 kB / 0.5627 GB, free: 1.312 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/0.3469, allocations: 39.98 kB / 0.5628 GB, free: 1.273 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002327/0.3493, allocations: 2.783 MB / 0.5655 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.654e-05/0.3493, allocations: 11.89 kB / 0.5655 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.587e-05/0.3494, allocations: 12.69 kB / 0.5655 GB, free: 14.23 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.000121/0.3495, allocations: 125.8 kB / 0.5656 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.814e-05/0.3495, allocations: 11.91 kB / 0.5657 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.959e-05/0.3496, allocations: 24.64 kB / 0.5657 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.3496, allocations: 0 / 0.5657 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.3496, allocations: 7.938 kB / 0.5657 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.3496, allocations: 0 / 0.5657 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002893/0.3499, allocations: 192.6 kB / 0.5659 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.3499, allocations: 4 kB / 0.5659 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001436/0.35, allocations: 31.92 kB / 0.5659 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001296/0.3501, allocations: 49.69 kB / 0.5659 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.3502, allocations: 7.875 kB / 0.566 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002354/0.3525, allocations: 2.775 MB / 0.5687 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3525, allocations: 0 / 0.5687 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004972/0.353, allocations: 364.4 kB / 0.569 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.897e-05/0.353, allocations: 11.89 kB / 0.569 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.809e-05/0.353, allocations: 8.062 kB / 0.569 GB, free: 10.33 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.3532, allocations: 3.938 kB / 0.569 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.162e-05/0.3532, allocations: 15.97 kB / 0.5691 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.3532, allocations: 4 kB / 0.5691 GB, free: 10.3 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.052e-05/0.3533, allocations: 103.2 kB / 0.5692 GB, free: 10.2 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3533, allocations: 4.094 kB / 0.5692 GB, free: 10.2 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004581/0.3537, allocations: 55.89 kB / 0.5692 GB, free: 10.14 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.0007648/0.3545, allocations: 0.8929 MB / 0.5701 GB, free: 9.219 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005789/0.3551, allocations: 353.2 kB / 0.5704 GB, free: 8.852 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3551, allocations: 0 / 0.5704 GB, free: 8.852 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003326/0.3554, allocations: 277.3 kB / 0.5707 GB, free: 8.555 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005445/0.356, allocations: 43.84 kB / 0.5707 GB, free: 8.516 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002755/0.3587, allocations: 2.327 MB / 0.573 GB, free: 6.031 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001229/0.3588, allocations: 116.1 kB / 0.5731 GB, free: 5.898 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.561e-05/0.3589, allocations: 13.41 kB / 0.5731 GB, free: 5.887 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.77e-05/0.3589, allocations: 43.42 kB / 0.5732 GB, free: 5.844 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3589, allocations: 0 / 0.5732 GB, free: 5.844 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03788/0.3968, allocations: 4.414 MB / 0.5775 GB, free: 1.598 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/12.21, allocations: 6.734 kB / 0.5775 GB, free: 1.594 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.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_0_0_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities.fmu > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/ConnectionPossibilities/ConnectionPossibilities.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.csv. Warning: Get data of variable inertia1.phi from file ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.csv failed! Error: Could not read variable inertia4.w in file ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.csv. Warning: Get data of variable inertia4.w from file ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.437705228105187]