Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001624/0.001624, allocations: 109.1 kB / 21.84 MB, free: 88 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001723/0.001723, allocations: 220.5 kB / 25.13 MB, free: 3.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.452/1.452, allocations: 230.4 MB / 258.7 MB, free: 8.047 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2316/0.2316, allocations: 46.94 MB / 362 MB, free: 4.234 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_4.1.0-beta.om_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_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002367/0.002367, allocations: 83.86 kB / 0.4978 GB, free: 7.402 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.344/0.3464, allocations: 66.07 MB / 0.5623 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003088/0.3495, allocations: 1.875 MB / 0.5641 GB, free: 2.375 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003817/0.3499, allocations: 151.4 kB / 0.5643 GB, free: 2.227 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.739e-05/0.35, allocations: 0 / 0.5643 GB, free: 2.227 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.752e-05/0.35, allocations: 27.67 kB / 0.5643 GB, free: 2.199 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001357/0.3502, allocations: 55.55 kB / 0.5644 GB, free: 2.145 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001422/0.3503, allocations: 39.94 kB / 0.5644 GB, free: 2.105 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002166/0.3505, allocations: 187.1 kB / 0.5646 GB, free: 1.922 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001581/0.3507, allocations: 41.72 kB / 0.5646 GB, free: 1.879 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001031/0.3508, allocations: 67.78 kB / 0.5647 GB, free: 1.812 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001334/0.3509, allocations: 71.7 kB / 0.5647 GB, free: 1.742 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.394e-05/0.351, allocations: 16 kB / 0.5648 GB, free: 1.727 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.023e-05/0.351, allocations: 15.94 kB / 0.5648 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.166e-05/0.351, allocations: 31.91 kB / 0.5648 GB, free: 1.68 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.645e-05/0.3511, allocations: 87.59 kB / 0.5649 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002331/0.3514, allocations: 177.9 kB / 0.5651 GB, free: 1.426 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.3514, allocations: 0 / 0.5651 GB, free: 1.426 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3514, allocations: 0 / 0.5651 GB, free: 1.426 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.306e-06/0.3514, allocations: 7.984 kB / 0.5651 GB, free: 1.418 MB / 398.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.0005833/0.352, allocations: 385.9 kB / 0.5654 GB, free: 1.004 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.352, allocations: 8.031 kB / 0.5654 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.04e-05/0.3521, allocations: 16.84 kB / 0.5655 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002115/0.3523, allocations: 150.3 kB / 0.5656 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.964e-05/0.3523, allocations: 12.7 kB / 0.5656 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.308e-05/0.3523, allocations: 24.33 kB / 0.5656 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003351/0.3527, allocations: 170.2 kB / 0.5658 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.165e-05/0.3527, allocations: 4.125 kB / 0.5658 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.014e-05/0.3527, allocations: 7.938 kB / 0.5658 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.3527, allocations: 4 kB / 0.5658 GB, free: 0.582 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001679/0.3529, allocations: 91.94 kB / 0.5659 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008865/0.3538, allocations: 0.5501 MB / 0.5664 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002239/0.354, allocations: 129.1 kB / 0.5666 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.336e-05/0.3541, allocations: 45.7 kB / 0.5666 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.477e-05/0.3541, allocations: 0 / 0.5666 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.527e-05/0.3541, allocations: 42.56 kB / 0.5667 GB, free: 15.64 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 9.81e-07/0.3541, allocations: 0 / 0.5667 GB, free: 15.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007362/0.3549, allocations: 223.2 kB / 0.5669 GB, free: 15.41 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.267e-05/0.3549, allocations: 81.05 kB / 0.5669 GB, free: 15.32 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001518/0.3551, allocations: 132.9 kB / 0.5671 GB, free: 15.18 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.222e-05/0.3551, allocations: 25.7 kB / 0.5671 GB, free: 15.14 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.667e-05/0.3552, allocations: 132.2 kB / 0.5672 GB, free: 15.01 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.701e-05/0.3553, allocations: 67.45 kB / 0.5673 GB, free: 14.95 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.094e-05/0.3553, allocations: 33.72 kB / 0.5673 GB, free: 14.91 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000215/0.3555, allocations: 322.8 kB / 0.5676 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001401/0.3557, allocations: 39.98 kB / 0.5677 GB, free: 14.54 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001256/0.3558, allocations: 104.6 kB / 0.5678 GB, free: 14.41 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000222/0.356, allocations: 160.4 kB / 0.5679 GB, free: 14.23 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.356, allocations: 0 / 0.5679 GB, free: 14.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004152/0.3564, allocations: 227.3 kB / 0.5681 GB, free: 13.99 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.3565, allocations: 10.5 kB / 0.5681 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.3565, allocations: 3.984 kB / 0.5681 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002289/0.3567, allocations: 49.95 kB / 0.5682 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001455/0.3568, allocations: 39.92 kB / 0.5682 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002611/0.3595, allocations: 2.783 MB / 0.5709 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.217e-05/0.3595, allocations: 15.89 kB / 0.571 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.44e-05/0.3596, allocations: 8 kB / 0.571 GB, free: 10.85 MB / 414.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.0002027/0.3598, allocations: 134.6 kB / 0.5711 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.576e-05/0.3598, allocations: 15.91 kB / 0.5711 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.681e-05/0.3599, allocations: 20.72 kB / 0.5711 GB, free: 10.67 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.3599, allocations: 7.984 kB / 0.5711 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.3599, allocations: 0 / 0.5711 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.3599, allocations: 0 / 0.5711 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003281/0.3602, allocations: 200.7 kB / 0.5713 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.3602, allocations: 0 / 0.5713 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001678/0.3604, allocations: 23.98 kB / 0.5714 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000145/0.3605, allocations: 53.62 kB / 0.5714 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/0.3605, allocations: 7.938 kB / 0.5714 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0023/0.3628, allocations: 2.78 MB / 0.5741 GB, free: 7.328 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3628, allocations: 0 / 0.5741 GB, free: 7.328 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000487/0.3633, allocations: 372.3 kB / 0.5745 GB, free: 6.941 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.311e-05/0.3633, allocations: 11.89 kB / 0.5745 GB, free: 6.93 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.771e-05/0.3634, allocations: 4.062 kB / 0.5745 GB, free: 6.926 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.3635, allocations: 12 kB / 0.5745 GB, free: 6.914 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.003e-05/0.3635, allocations: 15.97 kB / 0.5745 GB, free: 6.898 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-06/0.3635, allocations: 4 kB / 0.5745 GB, free: 6.895 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.102e-05/0.3636, allocations: 99.27 kB / 0.5746 GB, free: 6.797 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3636, allocations: 0 / 0.5746 GB, free: 6.797 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000468/0.3641, allocations: 47.95 kB / 0.5747 GB, free: 6.75 MB / 414.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.0001408/0.3642, allocations: 107.2 kB / 0.5748 GB, free: 6.637 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006014/0.3648, allocations: 337.2 kB / 0.5751 GB, free: 6.281 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3648, allocations: 4.188 kB / 0.5751 GB, free: 6.277 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003374/0.3651, allocations: 285.7 kB / 0.5754 GB, free: 5.973 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005182/0.3657, allocations: 27.97 kB / 0.5754 GB, free: 5.945 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001207/0.3669, allocations: 0.6561 MB / 0.576 GB, free: 5.262 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003992/0.3673, allocations: 0.7242 MB / 0.5767 GB, free: 4.512 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.717e-05/0.3673, allocations: 5.438 kB / 0.5768 GB, free: 4.504 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.535e-05/0.3673, allocations: 23.38 kB / 0.5768 GB, free: 4.484 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3673, allocations: 0 / 0.5768 GB, free: 4.484 MB / 414.1 MB Notification: Performance of Templates: time 0.006014/0.3734, allocations: 2.059 MB / 0.5788 GB, free: 2.445 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/ConnectionPossibilities/ConnectionPossibilities.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.050196674186736]