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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") translateModel(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009372/0.0009372, allocations: 92.47 kB / 17.35 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 178.5 kB / 18.26 MB, free: 5.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 223.2 MB / 242.3 MB, free: 208 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.216/0.216, allocations: 44.25 MB / 337.7 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003781/0.000378, allocations: 8.812 kB / 410.3 MB, free: 27.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1458, allocations: 61.92 MB / 472.2 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.002248/0.148, allocations: 1.557 MB / 473.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004768/0.1486, allocations: 151.5 kB / 474 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001206/0.1487, allocations: 4 kB / 474 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.473e-05/0.1488, allocations: 11.86 kB / 474 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001812/0.149, allocations: 55.55 kB / 474 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001747/0.1491, allocations: 23.98 kB / 474 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000251/0.1494, allocations: 179.1 kB / 474.2 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001816/0.1496, allocations: 56.8 kB / 474.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001215/0.1497, allocations: 59.73 kB / 474.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001262/0.1499, allocations: 63.7 kB / 474.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.211e-05/0.1499, allocations: 8 kB / 474.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.965e-05/0.1499, allocations: 12 kB / 474.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.884e-05/0.15, allocations: 27.84 kB / 474.4 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001036/0.1501, allocations: 97.38 kB / 474.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002212/0.1503, allocations: 179.5 kB / 474.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.1503, allocations: 0 / 474.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.1503, allocations: 4 kB / 474.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.396e-05/0.1504, allocations: 0 / 474.7 MB, free: 10.89 MB / 350.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.0006633/0.151, allocations: 423.3 kB / 475.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.1511, allocations: 12.03 kB / 475.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.185e-05/0.1512, allocations: 16.75 kB / 475.2 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002342/0.1514, allocations: 208.1 kB / 475.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.1514, allocations: 8.703 kB / 475.4 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.318e-05/0.1515, allocations: 16.38 kB / 475.4 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003135/0.1518, allocations: 170.2 kB / 475.6 MB, free: 9.957 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.002e-05/0.1518, allocations: 8.094 kB / 475.6 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.143e-05/0.1519, allocations: 11.94 kB / 475.6 MB, free: 9.938 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.1519, allocations: 4 kB / 475.6 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001825/0.1521, allocations: 87.88 kB / 475.7 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009254/0.153, allocations: 0.615 MB / 476.3 MB, free: 9.172 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002179/0.1532, allocations: 133.1 kB / 476.4 MB, free: 9.023 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.249e-05/0.1533, allocations: 53.7 kB / 476.5 MB, free: 8.965 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.586e-05/0.1533, allocations: 3.984 kB / 476.5 MB, free: 8.961 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.1534, allocations: 34.56 kB / 476.5 MB, free: 8.918 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.562e-06/0.1534, allocations: 0 / 476.5 MB, free: 8.918 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008796/0.1543, allocations: 385.7 kB / 476.9 MB, free: 8.492 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.128e-05/0.1543, allocations: 81.2 kB / 477 MB, free: 8.395 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.1545, allocations: 134 kB / 477.1 MB, free: 8.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.1545, allocations: 33.7 kB / 477.1 MB, free: 8.211 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.689e-05/0.1546, allocations: 120.1 kB / 477.2 MB, free: 8.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.102e-05/0.1547, allocations: 71.02 kB / 477.3 MB, free: 8.02 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.317e-05/0.1547, allocations: 17.72 kB / 477.3 MB, free: 7.996 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.1548, allocations: 326.8 kB / 477.6 MB, free: 7.668 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.739e-05/0.1549, allocations: 39.92 kB / 477.7 MB, free: 7.629 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001324/0.155, allocations: 104.6 kB / 477.8 MB, free: 7.496 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001995/0.1552, allocations: 156.5 kB / 477.9 MB, free: 7.312 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.1553, allocations: 0 / 477.9 MB, free: 7.312 MB / 350.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003855/0.1556, allocations: 223 kB / 478.2 MB, free: 7.082 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.1557, allocations: 6.812 kB / 478.2 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.1557, allocations: 4 kB / 478.2 MB, free: 7.074 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002251/0.1559, allocations: 49.69 kB / 478.2 MB, free: 7.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/0.1561, allocations: 35.92 kB / 478.2 MB, free: 6.984 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002021/0.1581, allocations: 2.728 MB / 481 MB, free: 3.992 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.631e-05/0.1582, allocations: 19.88 kB / 481 MB, free: 3.973 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.1582, allocations: 4 kB / 481 MB, free: 3.969 MB / 350.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.0001177/0.1583, allocations: 141.9 kB / 481.1 MB, free: 3.82 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.298e-05/0.1584, allocations: 15.81 kB / 481.2 MB, free: 3.805 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.008e-05/0.1584, allocations: 12.72 kB / 481.2 MB, free: 3.789 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.1584, allocations: 7.938 kB / 481.2 MB, free: 3.781 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.1585, allocations: 0 / 481.2 MB, free: 3.781 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.1585, allocations: 0 / 481.2 MB, free: 3.781 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003001/0.1588, allocations: 237.5 kB / 481.4 MB, free: 3.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1588, allocations: 96 / 481.4 MB, free: 3.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001451/0.1589, allocations: 31.92 kB / 481.4 MB, free: 3.469 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001411/0.1591, allocations: 45.7 kB / 481.5 MB, free: 3.418 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.399e-05/0.1591, allocations: 4 kB / 481.5 MB, free: 3.414 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001861/0.161, allocations: 2.724 MB / 484.2 MB, free: 436 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.161, allocations: 0 / 484.2 MB, free: 436 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003971/0.1614, allocations: 372.3 kB / 484.6 MB, free: 40 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.788e-05/0.1615, allocations: 81.02 kB / 484.7 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.716e-05/0.1615, allocations: 4.094 kB / 484.7 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.1616, allocations: 12 kB / 484.7 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.472e-05/0.1616, allocations: 19.91 kB / 484.7 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.244e-06/0.1617, allocations: 4 kB / 484.7 MB, free: 15.9 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.975e-05/0.1617, allocations: 103.2 kB / 484.8 MB, free: 15.8 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1617, allocations: 3.938 kB / 484.8 MB, free: 15.8 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004498/0.1622, allocations: 51.91 kB / 484.8 MB, free: 15.75 MB / 366.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.0001225/0.1623, allocations: 103.7 kB / 484.9 MB, free: 15.63 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005351/0.1629, allocations: 349.2 kB / 485.3 MB, free: 15.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1629, allocations: 0 / 485.3 MB, free: 15.27 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003222/0.1632, allocations: 289.7 kB / 485.6 MB, free: 14.96 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004967/0.1637, allocations: 26.66 kB / 485.6 MB, free: 14.93 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001096/0.1648, allocations: 0.7991 MB / 486.4 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002805/0.1651, allocations: 0.7245 MB / 487.1 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.323e-05/0.1652, allocations: 17.42 kB / 487.1 MB, free: 13.34 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.69e-05/0.1652, allocations: 11.44 kB / 487.1 MB, free: 13.33 MB / 366.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1652, allocations: 0 / 487.1 MB, free: 13.33 MB / 366.1 MB Notification: Performance of Templates: time 0.004972/0.1702, allocations: 1.832 MB / 489 MB, free: 11.51 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.makefile (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 & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/ConnectionPossibilities/ConnectionPossibilities.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches