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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001701/0.001701, allocations: 80.67 kB / 20.51 MB, free: 1.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002191/0.002191, allocations: 160.1 kB / 23.76 MB, free: 4.461 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.499/1.499, allocations: 158.6 MB / 185.5 MB, free: 6.219 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2222/0.2222, allocations: 32.38 MB / 270.1 MB, free: 2.719 MB / 254.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,variableFilter="time|inertia1.phi|inertia1.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002275/0.002275, allocations: 71.89 kB / 407.7 MB, free: 5.559 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1606/0.1629, allocations: 61.05 MB / 468.8 MB, free: 8.324 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.004204/0.1671, allocations: 1.768 MB / 470.5 MB, free: 6.543 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004701/0.1676, allocations: 147.5 kB / 470.7 MB, free: 6.398 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.485e-05/0.1677, allocations: 4 kB / 470.7 MB, free: 6.395 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.278e-05/0.1678, allocations: 27.72 kB / 470.7 MB, free: 6.367 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001658/0.1679, allocations: 55.55 kB / 470.8 MB, free: 6.312 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001782/0.1681, allocations: 31.97 kB / 470.8 MB, free: 6.281 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002423/0.1683, allocations: 191 kB / 471 MB, free: 6.094 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001866/0.1685, allocations: 37.78 kB / 471 MB, free: 6.059 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001159/0.1686, allocations: 63.86 kB / 471.1 MB, free: 5.996 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000139/0.1688, allocations: 71.61 kB / 471.2 MB, free: 5.926 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.963e-05/0.1688, allocations: 16 kB / 471.2 MB, free: 5.91 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.102e-05/0.1689, allocations: 16 kB / 471.2 MB, free: 5.895 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.098e-05/0.1689, allocations: 31.86 kB / 471.2 MB, free: 5.863 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.08e-05/0.169, allocations: 67.67 kB / 471.3 MB, free: 5.797 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002576/0.1692, allocations: 183.3 kB / 471.5 MB, free: 5.617 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.1692, allocations: 4 kB / 471.5 MB, free: 5.613 MB / 446.1 MB Notification: Performance of FrontEnd: time 4.759e-06/0.1693, allocations: 4 kB / 471.5 MB, free: 5.609 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.2e-05/0.1693, allocations: 0 / 471.5 MB, free: 5.609 MB / 446.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.0006763/0.1699, allocations: 377.9 kB / 471.9 MB, free: 5.203 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/0.17, allocations: 12.03 kB / 471.9 MB, free: 5.191 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.879e-05/0.1701, allocations: 16.84 kB / 471.9 MB, free: 5.176 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002269/0.1703, allocations: 138.4 kB / 472 MB, free: 5.016 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.569e-05/0.1703, allocations: 24.62 kB / 472 MB, free: 4.992 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.834e-05/0.1704, allocations: 16.36 kB / 472.1 MB, free: 4.977 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003255/0.1707, allocations: 174.1 kB / 472.2 MB, free: 4.797 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.537e-05/0.1707, allocations: 12.12 kB / 472.2 MB, free: 4.785 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.34e-05/0.1707, allocations: 11.94 kB / 472.2 MB, free: 4.773 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.1707, allocations: 4 kB / 472.3 MB, free: 4.77 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001687/0.1709, allocations: 79.95 kB / 472.3 MB, free: 4.691 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000849/0.1718, allocations: 0.4921 MB / 472.8 MB, free: 4.164 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000239/0.172, allocations: 129.2 kB / 472.9 MB, free: 4.02 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.456e-05/0.1721, allocations: 45.7 kB / 473 MB, free: 3.969 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.593e-05/0.1721, allocations: 8 kB / 473 MB, free: 3.961 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/0.1721, allocations: 42.67 kB / 473 MB, free: 3.91 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.472e-06/0.1721, allocations: 0 / 473 MB, free: 3.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007697/0.1729, allocations: 219 kB / 473.3 MB, free: 3.684 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.716e-05/0.173, allocations: 85.09 kB / 473.3 MB, free: 3.582 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/0.1731, allocations: 134.1 kB / 473.5 MB, free: 3.438 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.455e-05/0.1731, allocations: 29.7 kB / 473.5 MB, free: 3.402 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.1732, allocations: 132.2 kB / 473.6 MB, free: 3.27 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.916e-05/0.1733, allocations: 51.53 kB / 473.7 MB, free: 3.219 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.552e-05/0.1733, allocations: 45.66 kB / 473.7 MB, free: 3.168 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.1735, allocations: 318.8 kB / 474 MB, free: 2.848 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.871e-05/0.1736, allocations: 35.98 kB / 474.1 MB, free: 2.812 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001302/0.1737, allocations: 112.4 kB / 474.2 MB, free: 2.672 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002262/0.1739, allocations: 156.4 kB / 474.3 MB, free: 2.488 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.1739, allocations: 0 / 474.3 MB, free: 2.488 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003772/0.1743, allocations: 223.4 kB / 474.5 MB, free: 2.258 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.1743, allocations: 4 kB / 474.6 MB, free: 2.254 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.1743, allocations: 7.984 kB / 474.6 MB, free: 2.246 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002345/0.1746, allocations: 57.61 kB / 474.6 MB, free: 2.184 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.1747, allocations: 31.98 kB / 474.6 MB, free: 2.152 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3387/0.5134, allocations: 2.732 MB / 477.4 MB, free: 48.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001346/0.5135, allocations: 16.77 kB / 477.4 MB, free: 48.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/0.5135, allocations: 8.75 kB / 477.4 MB, free: 48.95 MB / 446.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.0001387/0.5137, allocations: 130 kB / 477.5 MB, free: 48.84 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.101e-05/0.5138, allocations: 18.08 kB / 477.6 MB, free: 48.84 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.553e-05/0.5138, allocations: 15.69 kB / 477.6 MB, free: 48.84 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.5138, allocations: 1.344 kB / 477.6 MB, free: 48.84 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.5138, allocations: 3.562 kB / 477.6 MB, free: 48.84 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.5138, allocations: 3.516 kB / 477.6 MB, free: 48.84 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002387/0.5141, allocations: 163.2 kB / 477.7 MB, free: 48.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.5141, allocations: 3.703 kB / 477.7 MB, free: 48.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001417/0.5142, allocations: 30.67 kB / 477.8 MB, free: 48.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001475/0.5143, allocations: 47.02 kB / 477.8 MB, free: 48.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.5144, allocations: 1.5 kB / 477.8 MB, free: 48.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001321/0.5157, allocations: 2.723 MB / 480.5 MB, free: 46.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.5157, allocations: 0.6562 kB / 480.5 MB, free: 46.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003072/0.516, allocations: 373.1 kB / 480.9 MB, free: 45.97 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.361e-05/0.516, allocations: 13.91 kB / 480.9 MB, free: 45.97 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.656e-05/0.516, allocations: 10.22 kB / 480.9 MB, free: 45.97 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.5161, allocations: 1.375 kB / 480.9 MB, free: 45.97 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.177e-05/0.5161, allocations: 17.83 kB / 480.9 MB, free: 45.97 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.802e-06/0.5162, allocations: 4.625 kB / 480.9 MB, free: 45.97 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.22e-05/0.5162, allocations: 100.4 kB / 481 MB, free: 45.89 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5162, allocations: 1.875 kB / 481 MB, free: 45.89 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000439/0.5166, allocations: 54.8 kB / 481.1 MB, free: 45.89 MB / 446.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 8.904e-05/0.5167, allocations: 104.8 kB / 481.2 MB, free: 45.8 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00049/0.5172, allocations: 347.5 kB / 481.5 MB, free: 45.59 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.5172, allocations: 0 / 481.5 MB, free: 45.59 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002334/0.5175, allocations: 286.6 kB / 481.8 MB, free: 45.36 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005677/0.518, allocations: 28.75 kB / 481.9 MB, free: 45.36 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009703/0.519, allocations: 0.6398 MB / 482.5 MB, free: 44.96 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001079/0.5191, allocations: 120.9 kB / 482.6 MB, free: 44.88 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.575e-05/0.5191, allocations: 7.938 kB / 482.6 MB, free: 44.88 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.409e-05/0.5192, allocations: 14.75 kB / 482.6 MB, free: 44.88 MB / 446.1 MB Notification: Performance of SimCode: time 7.52e-07/0.5192, allocations: 0 / 482.6 MB, free: 44.88 MB / 446.1 MB Notification: Performance of Templates: time 0.005264/0.5244, allocations: 2.052 MB / 484.7 MB, free: 44.68 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.makefile [Timeout 660] (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 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.554152186959982]