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.0008711/0.0008762, allocations: 102.8 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 185.3 kB / 16.92 MB, free: 6.918 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.572/1.572, allocations: 205.4 MB / 223.1 MB, free: 5.555 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.4245/0.4245, allocations: 43.58 MB / 315 MB, free: 9.027 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.0009094/0.0009095, allocations: 12 kB / 384.6 MB, free: 7.891 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1578, allocations: 58.87 MB / 443.4 MB, free: 12.92 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.002136/0.16, allocations: 1.556 MB / 445 MB, free: 11.35 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003287/0.1603, allocations: 147.5 kB / 445.1 MB, free: 11.21 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.515e-05/0.1604, allocations: 7.938 kB / 445.2 MB, free: 11.2 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 6.087e-05/0.1605, allocations: 15.91 kB / 445.2 MB, free: 11.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001463/0.1606, allocations: 47.61 kB / 445.2 MB, free: 11.14 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001621/0.1608, allocations: 27.97 kB / 445.2 MB, free: 11.11 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002272/0.1611, allocations: 183.1 kB / 445.4 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002402/0.1613, allocations: 53.81 kB / 445.5 MB, free: 10.87 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001246/0.1614, allocations: 55.8 kB / 445.5 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001294/0.1616, allocations: 71.64 kB / 445.6 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.142e-05/0.1616, allocations: 8 kB / 445.6 MB, free: 10.74 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.772e-05/0.1616, allocations: 8 kB / 445.6 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.653e-05/0.1617, allocations: 23.91 kB / 445.6 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001155/0.1618, allocations: 101.3 kB / 445.7 MB, free: 10.6 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002098/0.162, allocations: 171.6 kB / 445.9 MB, free: 10.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.162, allocations: 4 kB / 445.9 MB, free: 10.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.818e-06/0.1621, allocations: 0 / 445.9 MB, free: 10.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.1621, allocations: 3.938 kB / 445.9 MB, free: 10.43 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.0005593/0.1626, allocations: 423.3 kB / 446.3 MB, free: 9.961 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.1627, allocations: 12.03 kB / 446.3 MB, free: 9.949 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.218e-05/0.1627, allocations: 16.75 kB / 446.4 MB, free: 9.934 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002136/0.163, allocations: 204.1 kB / 446.6 MB, free: 9.695 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.937e-05/0.163, allocations: 16.7 kB / 446.6 MB, free: 9.68 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.79e-05/0.163, allocations: 16.28 kB / 446.6 MB, free: 9.664 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002891/0.1633, allocations: 174.1 kB / 446.8 MB, free: 9.484 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/0.1634, allocations: 4.188 kB / 446.8 MB, free: 9.48 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.013e-05/0.1634, allocations: 11.94 kB / 446.8 MB, free: 9.469 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.1634, allocations: 4 kB / 446.8 MB, free: 9.465 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001595/0.1636, allocations: 83.95 kB / 446.9 MB, free: 9.383 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008665/0.1644, allocations: 0.6305 MB / 447.5 MB, free: 8.691 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000213/0.1647, allocations: 133.1 kB / 447.6 MB, free: 8.543 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.05e-05/0.1648, allocations: 49.7 kB / 447.7 MB, free: 8.488 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.27e-05/0.1648, allocations: 4 kB / 447.7 MB, free: 8.484 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.012e-05/0.1648, allocations: 30.56 kB / 447.7 MB, free: 8.445 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.392e-06/0.1648, allocations: 192 / 447.7 MB, free: 8.445 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007991/0.1656, allocations: 389.1 kB / 448.1 MB, free: 8.016 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.067e-05/0.1657, allocations: 85.11 kB / 448.2 MB, free: 7.914 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/0.1658, allocations: 133.7 kB / 448.3 MB, free: 7.773 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/0.1659, allocations: 33.7 kB / 448.3 MB, free: 7.734 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.436e-05/0.1659, allocations: 128 kB / 448.5 MB, free: 7.605 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.903e-05/0.166, allocations: 51.2 kB / 448.5 MB, free: 7.555 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.472e-05/0.166, allocations: 25.7 kB / 448.5 MB, free: 7.523 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.1661, allocations: 322.8 kB / 448.8 MB, free: 7.199 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.262e-05/0.1662, allocations: 35.98 kB / 448.9 MB, free: 7.164 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001071/0.1663, allocations: 104.6 kB / 449 MB, free: 7.031 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001931/0.1665, allocations: 156.4 kB / 449.1 MB, free: 6.848 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.1665, allocations: 0 / 449.1 MB, free: 6.848 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003515/0.1669, allocations: 226.9 kB / 449.4 MB, free: 6.613 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.1669, allocations: 4 kB / 449.4 MB, free: 6.609 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.1669, allocations: 7.938 kB / 449.4 MB, free: 6.602 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002077/0.1671, allocations: 49.69 kB / 449.4 MB, free: 6.547 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001298/0.1673, allocations: 36.39 kB / 449.4 MB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001943/0.1692, allocations: 2.732 MB / 452.2 MB, free: 3.508 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.335e-05/0.1693, allocations: 15.84 kB / 452.2 MB, free: 3.492 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.238e-05/0.1693, allocations: 8 kB / 452.2 MB, free: 3.484 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.0001104/0.1695, allocations: 137.9 kB / 452.3 MB, free: 3.34 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.593e-05/0.1695, allocations: 11.84 kB / 452.4 MB, free: 3.328 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.214e-05/0.1696, allocations: 20.7 kB / 452.4 MB, free: 3.309 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.1696, allocations: 0 / 452.4 MB, free: 3.309 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/0.1696, allocations: 8 kB / 452.4 MB, free: 3.301 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.1696, allocations: 0 / 452.4 MB, free: 3.301 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002819/0.1699, allocations: 229.5 kB / 452.6 MB, free: 3.027 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.1699, allocations: 0 / 452.6 MB, free: 3.027 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001389/0.17, allocations: 31.98 kB / 452.6 MB, free: 2.996 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001206/0.1702, allocations: 49.62 kB / 452.7 MB, free: 2.941 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.487e-05/0.1702, allocations: 8 kB / 452.7 MB, free: 2.934 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2909/0.4611, allocations: 2.713 MB / 455.4 MB, free: 45.32 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.4612, allocations: 0 / 455.4 MB, free: 45.32 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000622/0.4618, allocations: 379.6 kB / 455.8 MB, free: 45.11 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.612e-05/0.4619, allocations: 90.53 kB / 455.9 MB, free: 45.01 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.909e-05/0.4619, allocations: 6.438 kB / 455.9 MB, free: 45.01 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/0.462, allocations: 3.375 kB / 455.9 MB, free: 45.01 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.124e-05/0.4621, allocations: 12.59 kB / 455.9 MB, free: 45.01 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.114e-05/0.4621, allocations: 6.938 kB / 455.9 MB, free: 45.01 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.859e-05/0.4622, allocations: 99.55 kB / 456 MB, free: 44.94 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4622, allocations: 0.8125 kB / 456 MB, free: 44.94 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005595/0.4628, allocations: 47.88 kB / 456 MB, free: 44.94 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.0001349/0.4629, allocations: 109.7 kB / 456.1 MB, free: 44.85 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005874/0.4635, allocations: 351.6 kB / 456.5 MB, free: 44.64 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.4635, allocations: 0 / 456.5 MB, free: 44.64 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002531/0.4638, allocations: 285.5 kB / 456.8 MB, free: 44.42 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005672/0.4643, allocations: 36.92 kB / 456.8 MB, free: 44.42 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001062/0.4654, allocations: 0.7924 MB / 457.6 MB, free: 43.95 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001857/0.4656, allocations: 0.7319 MB / 458.3 MB, free: 43.24 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.213e-05/0.4657, allocations: 10.16 kB / 458.3 MB, free: 43.24 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.206e-05/0.4657, allocations: 12.94 kB / 458.3 MB, free: 43.23 MB / 382.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4657, allocations: 0 / 458.3 MB, free: 43.23 MB / 382.1 MB Notification: Performance of Templates: time 0.004704/0.4704, allocations: 1.836 MB / 460.2 MB, free: 43.12 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