Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00178/0.001785, allocations: 183 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.923/1.923, allocations: 205.4 MB / 222.5 MB, free: 9.117 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001173/0.001173, allocations: 97.47 kB / 270.9 MB, free: 8.359 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5194/0.5194, allocations: 43.55 MB / 362.7 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006996/0.0006998, allocations: 15.98 kB / 431.4 MB, free: 6.184 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1525, allocations: 58.85 MB / 490.2 MB, free: 11.25 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.002646/0.1552, allocations: 1.451 MB / 491.7 MB, free: 9.785 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004269/0.1557, allocations: 163.6 kB / 491.8 MB, free: 9.625 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.378e-05/0.1558, allocations: 4 kB / 491.8 MB, free: 9.621 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 4.984e-05/0.1559, allocations: 11.86 kB / 491.8 MB, free: 9.609 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000181/0.1561, allocations: 55.86 kB / 491.9 MB, free: 9.555 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001559/0.1562, allocations: 23.98 kB / 491.9 MB, free: 9.531 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002257/0.1565, allocations: 131.7 kB / 492 MB, free: 9.402 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001753/0.1567, allocations: 53.83 kB / 492.1 MB, free: 9.344 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.1568, allocations: 47.8 kB / 492.1 MB, free: 9.297 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001448/0.1569, allocations: 71.69 kB / 492.2 MB, free: 9.227 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.477e-05/0.157, allocations: 8 kB / 492.2 MB, free: 9.219 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.449e-05/0.157, allocations: 12 kB / 492.2 MB, free: 9.207 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.692e-05/0.1571, allocations: 23.92 kB / 492.3 MB, free: 9.184 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.954e-05/0.1572, allocations: 57.58 kB / 492.3 MB, free: 9.121 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002136/0.1574, allocations: 131.9 kB / 492.4 MB, free: 8.992 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.1574, allocations: 0 / 492.4 MB, free: 8.992 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.424e-06/0.1574, allocations: 4 kB / 492.5 MB, free: 8.988 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.1574, allocations: 0 / 492.5 MB, free: 8.988 MB / 378.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.0007466/0.1582, allocations: 426.8 kB / 492.9 MB, free: 8.527 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.1583, allocations: 8.031 kB / 492.9 MB, free: 8.52 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.844e-05/0.1583, allocations: 19.77 kB / 492.9 MB, free: 8.5 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002597/0.1586, allocations: 210.7 kB / 493.1 MB, free: 8.254 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.777e-05/0.1586, allocations: 12.33 kB / 493.1 MB, free: 8.242 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.88e-05/0.1587, allocations: 24 kB / 493.1 MB, free: 8.219 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004126/0.1591, allocations: 165.6 kB / 493.3 MB, free: 8.047 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.196e-05/0.1592, allocations: 3.906 kB / 493.3 MB, free: 8.043 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.73e-05/0.1592, allocations: 8 kB / 493.3 MB, free: 8.035 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.659e-06/0.1592, allocations: 4 kB / 493.3 MB, free: 8.031 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002545/0.1595, allocations: 83.91 kB / 493.4 MB, free: 7.949 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001208/0.1607, allocations: 0.6228 MB / 494 MB, free: 7.266 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003076/0.161, allocations: 133.1 kB / 494.1 MB, free: 7.117 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.1611, allocations: 0 / 494.1 MB, free: 7.117 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.686e-05/0.1611, allocations: 38.56 kB / 494.2 MB, free: 7.07 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 1.754e-06/0.1611, allocations: 0 / 494.2 MB, free: 7.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.001225/0.1624, allocations: 381.4 kB / 494.6 MB, free: 6.648 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.816e-05/0.1625, allocations: 85.05 kB / 494.6 MB, free: 6.547 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001662/0.1627, allocations: 133.8 kB / 494.8 MB, free: 6.406 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.151e-05/0.1627, allocations: 25.7 kB / 494.8 MB, free: 6.375 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.1628, allocations: 198.4 kB / 495 MB, free: 6.18 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.902e-05/0.1629, allocations: 59.19 kB / 495 MB, free: 6.121 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.188e-05/0.1629, allocations: 4 kB / 495.1 MB, free: 6.117 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.1631, allocations: 322.8 kB / 495.4 MB, free: 5.793 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001057/0.1632, allocations: 35.98 kB / 495.4 MB, free: 5.758 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001644/0.1634, allocations: 100.6 kB / 495.5 MB, free: 5.629 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001551/0.1635, allocations: 51.94 kB / 495.6 MB, free: 5.578 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.1635, allocations: 0 / 495.6 MB, free: 5.578 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006036/0.1642, allocations: 219 kB / 495.8 MB, free: 5.352 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/0.1642, allocations: 7.953 kB / 495.8 MB, free: 5.344 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.1642, allocations: 4 kB / 495.8 MB, free: 5.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003229/0.1645, allocations: 53.88 kB / 495.8 MB, free: 5.281 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002363/0.1648, allocations: 35.98 kB / 495.9 MB, free: 5.246 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002917/0.1677, allocations: 2.728 MB / 498.6 MB, free: 2.246 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001594/0.1679, allocations: 24.19 kB / 498.6 MB, free: 2.223 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.819e-05/0.168, allocations: 4.469 kB / 498.6 MB, free: 2.219 MB / 378.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001761/0.1682, allocations: 137.7 kB / 498.8 MB, free: 2.074 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.781e-05/0.1682, allocations: 19.83 kB / 498.8 MB, free: 2.055 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.429e-05/0.1683, allocations: 12.72 kB / 498.8 MB, free: 2.043 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.1683, allocations: 4 kB / 498.8 MB, free: 2.039 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.1683, allocations: 3.938 kB / 498.8 MB, free: 2.035 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.1683, allocations: 0 / 498.8 MB, free: 2.035 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004186/0.1688, allocations: 245.4 kB / 499 MB, free: 1.746 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.022e-06/0.1688, allocations: 0 / 499 MB, free: 1.746 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003021/0.1691, allocations: 31.92 kB / 499.1 MB, free: 1.715 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002413/0.1694, allocations: 41.7 kB / 499.1 MB, free: 1.668 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.132e-05/0.1694, allocations: 4 kB / 499.1 MB, free: 1.664 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3122/0.4816, allocations: 2.723 MB / 0.4901 GB, free: 41.46 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.4817, allocations: 1.531 kB / 0.4901 GB, free: 41.46 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006012/0.4823, allocations: 386.4 kB / 0.4904 GB, free: 41.23 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.502e-05/0.4824, allocations: 86.48 kB / 0.4905 GB, free: 41.13 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.711e-05/0.4824, allocations: 2.156 kB / 0.4905 GB, free: 41.13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001806/0.4826, allocations: 5.141 kB / 0.4905 GB, free: 41.13 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.072e-05/0.4827, allocations: 15.89 kB / 0.4905 GB, free: 41.13 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.529e-05/0.4827, allocations: 7.469 kB / 0.4906 GB, free: 41.13 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.402e-05/0.4828, allocations: 99.72 kB / 0.4906 GB, free: 41.06 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.4828, allocations: 0 / 0.4906 GB, free: 41.06 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006375/0.4835, allocations: 55.16 kB / 0.4907 GB, free: 41.06 MB / 378.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001312/0.4836, allocations: 103.8 kB / 0.4908 GB, free: 40.97 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007287/0.4843, allocations: 344.3 kB / 0.4911 GB, free: 40.76 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.4844, allocations: 0 / 0.4911 GB, free: 40.76 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004059/0.4848, allocations: 289 kB / 0.4914 GB, free: 40.54 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005037/0.4853, allocations: 22.3 kB / 0.4914 GB, free: 40.54 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001679/0.487, allocations: 0.8094 MB / 0.4922 GB, free: 40.04 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002586/0.4873, allocations: 0.7317 MB / 0.4929 GB, free: 39.34 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.101e-05/0.4874, allocations: 14.31 kB / 0.4929 GB, free: 39.33 MB / 378.7 MB Notification: Performance of SimCode: time 1.273e-06/0.4874, allocations: 0 / 0.4929 GB, free: 39.33 MB / 378.7 MB Notification: Performance of Templates: time 0.008474/0.4959, allocations: 2.991 MB / 0.4959 GB, free: 39.21 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat","/var/lib/jenkins1/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_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches