Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001351/0.001351, allocations: 102.1 kB / 15.98 MB, free: 6.352 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.00148/0.00148, allocations: 192.3 kB / 16.9 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.561/1.561, allocations: 205.1 MB / 222.8 MB, free: 4.703 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4093/0.4093, allocations: 43.49 MB / 313.6 MB, free: 8.266 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00151/0.00151, allocations: 67.91 kB / 382.2 MB, free: 8.395 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.1557, allocations: 57.78 MB / 440 MB, free: 14.51 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003288/0.159, allocations: 1.902 MB / 441.9 MB, free: 12.59 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003338/0.1594, allocations: 151.5 kB / 442 MB, free: 12.44 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.017e-05/0.1595, allocations: 4 kB / 442.1 MB, free: 12.44 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 6.694e-05/0.1596, allocations: 15.86 kB / 442.1 MB, free: 12.42 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001275/0.1597, allocations: 43.61 kB / 442.1 MB, free: 12.38 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001408/0.1599, allocations: 27.98 kB / 442.1 MB, free: 12.35 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002076/0.1601, allocations: 195.1 kB / 442.3 MB, free: 12.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001914/0.1603, allocations: 72.94 kB / 442.4 MB, free: 12.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.866e-05/0.1604, allocations: 55.86 kB / 442.5 MB, free: 12.04 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001029/0.1605, allocations: 75.62 kB / 442.5 MB, free: 11.96 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.963e-05/0.1605, allocations: 16 kB / 442.5 MB, free: 11.95 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.859e-05/0.1605, allocations: 12 kB / 442.6 MB, free: 11.94 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.768e-05/0.1606, allocations: 39.91 kB / 442.6 MB, free: 11.9 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.226e-05/0.1607, allocations: 79.61 kB / 442.7 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002203/0.1609, allocations: 183.6 kB / 442.9 MB, free: 11.64 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.1609, allocations: 0 / 442.9 MB, free: 11.64 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1609, allocations: 8 kB / 442.9 MB, free: 11.63 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.1609, allocations: 3.938 kB / 442.9 MB, free: 11.63 MB / 382.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.0005838/0.1615, allocations: 451.2 kB / 443.3 MB, free: 11.14 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.1616, allocations: 11.89 kB / 443.3 MB, free: 11.12 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.684e-05/0.1617, allocations: 20.75 kB / 443.3 MB, free: 11.11 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002067/0.1619, allocations: 204.1 kB / 443.5 MB, free: 10.87 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.1619, allocations: 12.7 kB / 443.5 MB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.457e-05/0.1619, allocations: 16.38 kB / 443.6 MB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002854/0.1622, allocations: 174.1 kB / 443.7 MB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.928e-05/0.1623, allocations: 8.031 kB / 443.7 MB, free: 10.65 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.062e-05/0.1623, allocations: 11.94 kB / 443.8 MB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.1623, allocations: 4 kB / 443.8 MB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001606/0.1625, allocations: 83.95 kB / 443.8 MB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007905/0.1633, allocations: 0.6227 MB / 444.5 MB, free: 9.871 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002038/0.1635, allocations: 133.1 kB / 444.6 MB, free: 9.723 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.733e-05/0.1636, allocations: 53.7 kB / 444.6 MB, free: 9.664 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.647e-05/0.1636, allocations: 0 / 444.6 MB, free: 9.664 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/0.1636, allocations: 34.56 kB / 444.7 MB, free: 9.621 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 9.01e-07/0.1636, allocations: 4 kB / 444.7 MB, free: 9.617 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.000778/0.1644, allocations: 373.4 kB / 445 MB, free: 9.203 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.195e-05/0.1645, allocations: 85.05 kB / 445.1 MB, free: 9.102 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.1646, allocations: 133.9 kB / 445.3 MB, free: 8.961 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.1646, allocations: 25.7 kB / 445.3 MB, free: 8.93 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.088e-05/0.1647, allocations: 132 kB / 445.4 MB, free: 8.797 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.282e-05/0.1647, allocations: 63.09 kB / 445.5 MB, free: 8.734 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.834e-05/0.1648, allocations: 45.64 kB / 445.5 MB, free: 8.684 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.165, allocations: 318.8 kB / 445.8 MB, free: 8.363 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.538e-05/0.165, allocations: 35.98 kB / 445.9 MB, free: 8.328 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001065/0.1651, allocations: 104.4 kB / 446 MB, free: 8.195 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000223/0.1654, allocations: 164.7 kB / 446.1 MB, free: 8.004 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.1654, allocations: 0 / 446.1 MB, free: 8.004 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003526/0.1657, allocations: 219.2 kB / 446.3 MB, free: 7.777 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.1658, allocations: 12 kB / 446.4 MB, free: 7.766 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.1658, allocations: 0 / 446.4 MB, free: 7.766 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002234/0.166, allocations: 45.7 kB / 446.4 MB, free: 7.715 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001417/0.1662, allocations: 39.92 kB / 446.4 MB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002093/0.1683, allocations: 2.998 MB / 449.4 MB, free: 4.395 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.201e-05/0.1684, allocations: 19.75 kB / 449.5 MB, free: 4.375 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.517e-05/0.1684, allocations: 12 kB / 449.5 MB, free: 4.363 MB / 382.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.0001323/0.1685, allocations: 133.8 kB / 449.6 MB, free: 4.223 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.726e-05/0.1686, allocations: 7.906 kB / 449.6 MB, free: 4.215 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.039e-05/0.1686, allocations: 20.66 kB / 449.6 MB, free: 4.195 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1686, allocations: 4.062 kB / 449.6 MB, free: 4.191 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.1686, allocations: 4 kB / 449.6 MB, free: 4.188 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.1686, allocations: 96 / 449.6 MB, free: 4.188 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002802/0.1689, allocations: 225.6 kB / 449.9 MB, free: 3.918 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.1689, allocations: 7.984 kB / 449.9 MB, free: 3.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000149/0.1691, allocations: 27.98 kB / 449.9 MB, free: 3.883 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001284/0.1692, allocations: 41.7 kB / 449.9 MB, free: 3.836 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.718e-05/0.1693, allocations: 15.86 kB / 449.9 MB, free: 3.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002236/0.1715, allocations: 2.978 MB / 452.9 MB, free: 0.5664 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1715, allocations: 0 / 452.9 MB, free: 0.5664 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004188/0.1719, allocations: 388.4 kB / 453.3 MB, free: 168 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.672e-05/0.172, allocations: 88.86 kB / 453.4 MB, free: 60 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.081e-05/0.172, allocations: 8.125 kB / 453.4 MB, free: 52 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001298/0.1722, allocations: 8 kB / 453.4 MB, free: 44 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.298e-05/0.1722, allocations: 11.98 kB / 453.4 MB, free: 32 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.1722, allocations: 96 / 453.4 MB, free: 32 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.3007/0.4729, allocations: 103.2 kB / 453.5 MB, free: 48.48 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.254e-06/0.473, allocations: 1.312 kB / 453.5 MB, free: 48.48 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008082/0.4738, allocations: 52.92 kB / 453.6 MB, free: 48.48 MB / 382.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.0002078/0.474, allocations: 104.4 kB / 453.7 MB, free: 48.39 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009115/0.4749, allocations: 352 kB / 454 MB, free: 48.18 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.4749, allocations: 2.938 kB / 454 MB, free: 48.18 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003428/0.4753, allocations: 286.8 kB / 454.3 MB, free: 47.96 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007128/0.476, allocations: 30.61 kB / 454.3 MB, free: 47.96 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001297/0.4773, allocations: 0.6898 MB / 455 MB, free: 47.57 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002831/0.4776, allocations: 0.7237 MB / 455.7 MB, free: 46.87 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.687e-05/0.4777, allocations: 17.8 kB / 455.8 MB, free: 46.87 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.854e-05/0.4777, allocations: 12.84 kB / 455.8 MB, free: 46.86 MB / 382.1 MB Notification: Performance of SimCode: time 4.81e-07/0.4777, allocations: 0 / 455.8 MB, free: 46.86 MB / 382.1 MB Notification: Performance of Templates: time 0.005085/0.4828, allocations: 1.928 MB / 457.7 MB, free: 46.76 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/ConnectionPossibilities/ConnectionPossibilities.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches