Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.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.001223/0.001223, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001197/0.001197, allocations: 156.9 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.9383/0.9383, allocations: 177 MB / 204.1 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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.2612/0.2612, allocations: 34.23 MB / 294.8 MB, free: 0.6797 MB / 266.7 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.ConnectionPossibilities,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 442.1 MB, free: 1.586 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.444e-05/2.644e-05, allocations: 2.281 kB / 442.1 MB, free: 1.582 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.1697/0.1698, allocations: 1.778 MB / 443.9 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003872/0.1701, allocations: 151.9 kB / 444.1 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.852e-05/0.1702, allocations: 3.938 kB / 444.1 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.565e-05/0.1702, allocations: 22.03 kB / 444.1 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 9.516e-05/0.1703, allocations: 58.73 kB / 444.1 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001155/0.1705, allocations: 35.16 kB / 444.2 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001092/0.1706, allocations: 195.4 kB / 444.4 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/0.1707, allocations: 39.25 kB / 444.4 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.558e-05/0.1708, allocations: 106.7 kB / 444.5 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.212e-05/0.1708, allocations: 60.08 kB / 444.6 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.369e-05/0.1709, allocations: 12.62 kB / 444.6 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.569e-05/0.1709, allocations: 15.53 kB / 444.6 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.985e-05/0.1709, allocations: 28.75 kB / 444.6 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.621e-05/0.1709, allocations: 65.38 kB / 444.7 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001336/0.1711, allocations: 183.2 kB / 444.9 MB, free: 43.11 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1711, allocations: 0 / 444.9 MB, free: 43.11 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1711, allocations: 0.9375 kB / 444.9 MB, free: 43.11 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.149e-06/0.1711, allocations: 0 / 444.9 MB, free: 43.11 MB / 410.7 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.0003638/0.1714, allocations: 380.6 kB / 445.2 MB, free: 42.8 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.1715, allocations: 9.281 kB / 445.3 MB, free: 42.8 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.912e-05/0.1715, allocations: 48.64 kB / 445.3 MB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.897e-05/0.1715, allocations: 25.88 kB / 445.3 MB, free: 42.75 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001249/0.1717, allocations: 147.5 kB / 445.5 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.1717, allocations: 16.58 kB / 445.5 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.608e-05/0.1717, allocations: 23.02 kB / 445.5 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001746/0.1719, allocations: 169.8 kB / 445.7 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.1719, allocations: 192 / 445.7 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.1719, allocations: 6.75 kB / 445.7 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.1719, allocations: 6.625 kB / 445.7 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.781e-05/0.172, allocations: 86.02 kB / 445.8 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00047/0.1725, allocations: 0.5194 MB / 446.3 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001547/0.1726, allocations: 134.9 kB / 446.4 MB, free: 42.15 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.749e-05/0.1727, allocations: 42.33 kB / 446.5 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.064e-05/0.1727, allocations: 2.781 kB / 446.5 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.402e-05/0.1727, allocations: 44.69 kB / 446.5 MB, free: 42.09 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.163e-06/0.1727, allocations: 0 / 446.5 MB, free: 42.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004314/0.1731, allocations: 223.1 kB / 446.7 MB, free: 42.02 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.211e-05/0.1732, allocations: 83.67 kB / 446.8 MB, free: 41.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.083e-05/0.1732, allocations: 126.9 kB / 446.9 MB, free: 41.83 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.762e-06/0.1732, allocations: 32.36 kB / 447 MB, free: 41.79 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.411e-05/0.1733, allocations: 129.3 kB / 447.1 MB, free: 41.68 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.212e-05/0.1733, allocations: 61.88 kB / 447.2 MB, free: 41.63 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.586e-05/0.1733, allocations: 38.45 kB / 447.2 MB, free: 41.6 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.472e-05/0.1734, allocations: 325.5 kB / 447.5 MB, free: 41.28 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.999e-05/0.1734, allocations: 33.75 kB / 447.5 MB, free: 41.27 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.871e-05/0.1735, allocations: 113.7 kB / 447.7 MB, free: 41.17 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001104/0.1736, allocations: 151 kB / 447.8 MB, free: 41.05 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1736, allocations: 5.875 kB / 447.8 MB, free: 41.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002104/0.1738, allocations: 221.4 kB / 448 MB, free: 40.93 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.1738, allocations: 7.469 kB / 448 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.1738, allocations: 5.594 kB / 448 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001666/0.174, allocations: 54.42 kB / 448.1 MB, free: 40.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.968e-05/0.1741, allocations: 37.14 kB / 448.1 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009156/0.175, allocations: 2.774 MB / 450.9 MB, free: 38.15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.767e-05/0.175, allocations: 13.48 kB / 450.9 MB, free: 38.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.175, allocations: 12.81 kB / 450.9 MB, free: 38.14 MB / 410.7 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 6.03e-05/0.1751, allocations: 136.1 kB / 451.1 MB, free: 38.01 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.41e-05/0.1751, allocations: 13.75 kB / 451.1 MB, free: 38 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.731e-05/0.1751, allocations: 16.06 kB / 451.1 MB, free: 37.99 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.1751, allocations: 2.875 kB / 451.1 MB, free: 37.99 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.1751, allocations: 9.438 kB / 451.1 MB, free: 37.99 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.1751, allocations: 1.125 kB / 451.1 MB, free: 37.99 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001427/0.1753, allocations: 190.1 kB / 451.3 MB, free: 37.81 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1753, allocations: 0 / 451.3 MB, free: 37.81 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.265e-05/0.1754, allocations: 33.98 kB / 451.3 MB, free: 37.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.087e-05/0.1754, allocations: 44.08 kB / 451.4 MB, free: 37.78 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.1754, allocations: 2.75 kB / 451.4 MB, free: 37.78 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007485/0.1762, allocations: 2.783 MB / 454.1 MB, free: 35.03 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1762, allocations: 3.469 kB / 454.2 MB, free: 35.03 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001916/0.1764, allocations: 364.3 kB / 454.5 MB, free: 34.75 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.402e-06/0.1764, allocations: 10.64 kB / 454.5 MB, free: 34.75 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.306e-05/0.1764, allocations: 7.438 kB / 454.5 MB, free: 34.74 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.77e-05/0.1765, allocations: 0 / 454.5 MB, free: 34.74 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.971e-05/0.1765, allocations: 19.66 kB / 454.5 MB, free: 34.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.938e-06/0.1765, allocations: 2.812 kB / 454.5 MB, free: 34.73 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.468e-05/0.1765, allocations: 103.6 kB / 454.6 MB, free: 34.65 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.1765, allocations: 8.031 kB / 454.7 MB, free: 34.64 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002545/0.1768, allocations: 51.23 kB / 454.7 MB, free: 34.64 MB / 410.7 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.0002918/0.1771, allocations: 0.8987 MB / 455.6 MB, free: 33.82 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002939/0.1774, allocations: 343 kB / 455.9 MB, free: 33.57 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1774, allocations: 2.906 kB / 455.9 MB, free: 33.57 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001135/0.1775, allocations: 284.8 kB / 456.2 MB, free: 33.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00035/0.1778, allocations: 31.81 kB / 456.3 MB, free: 33.31 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001237/0.1791, allocations: 2.198 MB / 458.5 MB, free: 31.48 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.941e-05/0.1791, allocations: 110.8 kB / 458.6 MB, free: 31.4 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.208e-05/0.1791, allocations: 10.47 kB / 458.6 MB, free: 31.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.587e-05/0.1792, allocations: 41.47 kB / 458.6 MB, free: 31.37 MB / 410.7 MB Notification: Performance of SimCode: time 1.032e-06/0.1792, allocations: 4 kB / 458.6 MB, free: 31.37 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01876/0.1979, allocations: 4.583 MB / 463.2 MB, free: 30.17 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.308/7.506, allocations: 3.859 kB / 463.2 MB, free: 30.17 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities.fmu > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/ConnectionPossibilities/ConnectionPossibilities.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.csv. Warning: Get data of variable inertia1.phi from file ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.csv failed! Error: Could not read variable inertia4.w in file ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.csv. Warning: Get data of variable inertia4.w from file ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.666806554421782]