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.001306/0.001306, 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.001519/0.001519, allocations: 212.1 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.458/1.458, allocations: 230.6 MB / 257.5 MB, free: 7.816 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.2306/0.2306, allocations: 46.96 MB / 360.9 MB, free: 4.031 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.002279/0.002279, allocations: 67.91 kB / 0.4961 GB, free: 7.738 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3387/0.341, allocations: 66.04 MB / 0.5606 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003694/0.3447, allocations: 1.785 MB / 0.5623 GB, free: 2.445 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004991/0.3452, allocations: 147.4 kB / 0.5625 GB, free: 2.301 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001253/0.3453, allocations: 7.938 kB / 0.5625 GB, free: 2.293 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 8.04e-05/0.3454, allocations: 19.78 kB / 0.5625 GB, free: 2.273 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002054/0.3456, allocations: 63.48 kB / 0.5625 GB, free: 2.211 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001742/0.3458, allocations: 35.91 kB / 0.5626 GB, free: 2.176 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002557/0.346, allocations: 187.1 kB / 0.5628 GB, free: 1.992 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001641/0.3462, allocations: 33.73 kB / 0.5628 GB, free: 1.957 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001434/0.3463, allocations: 71.78 kB / 0.5629 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001334/0.3465, allocations: 63.69 kB / 0.5629 GB, free: 1.824 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.966e-05/0.3465, allocations: 16 kB / 0.5629 GB, free: 1.809 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.425e-05/0.3466, allocations: 12 kB / 0.5629 GB, free: 1.797 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.103e-05/0.3466, allocations: 35.86 kB / 0.563 GB, free: 1.762 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.902e-05/0.3467, allocations: 71.72 kB / 0.5631 GB, free: 1.691 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002686/0.347, allocations: 193 kB / 0.5632 GB, free: 1.504 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.347, allocations: 0 / 0.5632 GB, free: 1.504 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.347, allocations: 0 / 0.5632 GB, free: 1.504 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.117e-06/0.347, allocations: 0 / 0.5632 GB, free: 1.504 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.0007108/0.3477, allocations: 377.9 kB / 0.5636 GB, free: 1.098 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.3477, allocations: 12.03 kB / 0.5636 GB, free: 1.086 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.806e-05/0.3478, allocations: 50.73 kB / 0.5637 GB, free: 1.027 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.481e-05/0.3478, allocations: 16.84 kB / 0.5637 GB, free: 1.012 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002144/0.3481, allocations: 146.3 kB / 0.5638 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/0.3481, allocations: 20.7 kB / 0.5638 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.428e-05/0.3481, allocations: 20.33 kB / 0.5639 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003279/0.3485, allocations: 162.2 kB / 0.564 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.219e-05/0.3485, allocations: 7.938 kB / 0.564 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.773e-05/0.3485, allocations: 8 kB / 0.564 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.3485, allocations: 4 kB / 0.564 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001766/0.3487, allocations: 91.88 kB / 0.5641 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008911/0.3496, allocations: 0.5267 MB / 0.5646 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002431/0.3498, allocations: 125.2 kB / 0.5647 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.694e-05/0.3499, allocations: 49.7 kB / 0.5648 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.604e-05/0.3499, allocations: 4 kB / 0.5648 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.149e-05/0.3499, allocations: 30.56 kB / 0.5648 GB, free: 15.71 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.453e-06/0.3499, allocations: 0 / 0.5648 GB, free: 15.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007665/0.3507, allocations: 235.1 kB / 0.5651 GB, free: 15.47 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.628e-05/0.3508, allocations: 77.11 kB / 0.5651 GB, free: 15.38 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001407/0.3509, allocations: 134 kB / 0.5653 GB, free: 15.23 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.094e-05/0.3509, allocations: 33.64 kB / 0.5653 GB, free: 15.2 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.351, allocations: 132.2 kB / 0.5654 GB, free: 15.06 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.98e-05/0.3511, allocations: 51.55 kB / 0.5655 GB, free: 15.01 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.802e-05/0.3512, allocations: 41.7 kB / 0.5655 GB, free: 14.96 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.3513, allocations: 318.8 kB / 0.5658 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.865e-05/0.3514, allocations: 39.98 kB / 0.5658 GB, free: 14.61 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001286/0.3515, allocations: 104.6 kB / 0.5659 GB, free: 14.47 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002214/0.3518, allocations: 152.5 kB / 0.5661 GB, free: 14.29 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.3518, allocations: 0 / 0.5661 GB, free: 14.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004258/0.3522, allocations: 234.9 kB / 0.5663 GB, free: 14.05 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.3522, allocations: 4 kB / 0.5663 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.3522, allocations: 4 kB / 0.5663 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002432/0.3525, allocations: 45.7 kB / 0.5664 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001463/0.3526, allocations: 39.91 kB / 0.5664 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002607/0.3552, allocations: 2.78 MB / 0.5691 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.734e-05/0.3553, allocations: 11.92 kB / 0.5691 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.642e-05/0.3553, allocations: 12 kB / 0.5691 GB, free: 10.92 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.0001349/0.3555, allocations: 134.5 kB / 0.5693 GB, free: 10.78 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.36e-05/0.3555, allocations: 15.91 kB / 0.5693 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.217e-05/0.3555, allocations: 20.64 kB / 0.5693 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.3556, allocations: 4 kB / 0.5693 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.3556, allocations: 0 / 0.5693 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.3556, allocations: 3.938 kB / 0.5693 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003326/0.3559, allocations: 192.6 kB / 0.5695 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.3559, allocations: 0 / 0.5695 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001411/0.356, allocations: 24 kB / 0.5695 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001527/0.3562, allocations: 49.69 kB / 0.5696 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.923e-05/0.3562, allocations: 7.938 kB / 0.5696 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002478/0.3587, allocations: 2.771 MB / 0.5723 GB, free: 7.418 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.3587, allocations: 4.062 kB / 0.5723 GB, free: 7.414 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004861/0.3592, allocations: 376.3 kB / 0.5726 GB, free: 7.027 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.596e-05/0.3592, allocations: 15.94 kB / 0.5727 GB, free: 7.012 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.087e-05/0.3592, allocations: 11.94 kB / 0.5727 GB, free: 7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.3593, allocations: 3.938 kB / 0.5727 GB, free: 6.996 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.439e-05/0.3594, allocations: 15.97 kB / 0.5727 GB, free: 6.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.388e-06/0.3594, allocations: 4 kB / 0.5727 GB, free: 6.977 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.469e-05/0.3595, allocations: 102.1 kB / 0.5728 GB, free: 6.879 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3595, allocations: 0 / 0.5728 GB, free: 6.879 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004768/0.36, allocations: 59.89 kB / 0.5728 GB, free: 6.82 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.0008303/0.3608, allocations: 0.8929 MB / 0.5737 GB, free: 5.895 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006283/0.3614, allocations: 349.5 kB / 0.574 GB, free: 5.527 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.223e-06/0.3614, allocations: 4.125 kB / 0.5741 GB, free: 5.523 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003484/0.3618, allocations: 273.3 kB / 0.5743 GB, free: 5.23 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005257/0.3623, allocations: 28.3 kB / 0.5743 GB, free: 5.203 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002985/0.3653, allocations: 2.334 MB / 0.5766 GB, free: 2.715 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000137/0.3654, allocations: 116.1 kB / 0.5767 GB, free: 2.582 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.446e-05/0.3655, allocations: 9.422 kB / 0.5767 GB, free: 2.574 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.322e-05/0.3655, allocations: 39.42 kB / 0.5768 GB, free: 2.535 MB / 414.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3655, allocations: 0 / 0.5768 GB, free: 2.535 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03659/0.4021, allocations: 4.419 MB / 0.5811 GB, free: 14.28 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.92/12.32, allocations: 14.8 kB / 0.5811 GB, free: 14.27 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: 15.345377262216061]