Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.002141/0.002141, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.003059/0.003059, allocations: 209.7 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.542/1.542, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2309/0.2309, allocations: 44.94 MB / 358.8 MB, free: 6.152 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.0.0_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.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.002078/0.002078, allocations: 63.91 kB / 0.4935 GB, free: 10.08 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3421/0.3441, allocations: 65.47 MB / 0.5574 GB, free: 7.516 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003303/0.3474, allocations: 1.787 MB / 0.5592 GB, free: 5.719 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003486/0.3478, allocations: 151.5 kB / 0.5593 GB, free: 5.57 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.885e-05/0.3479, allocations: 3.938 kB / 0.5593 GB, free: 5.566 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.655e-05/0.3479, allocations: 23.78 kB / 0.5594 GB, free: 5.543 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001364/0.3481, allocations: 47.55 kB / 0.5594 GB, free: 5.496 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001413/0.3482, allocations: 35.91 kB / 0.5594 GB, free: 5.461 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002104/0.3484, allocations: 191.1 kB / 0.5596 GB, free: 5.273 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001558/0.3486, allocations: 41.72 kB / 0.5597 GB, free: 5.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.3487, allocations: 71.72 kB / 0.5597 GB, free: 5.16 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001255/0.3488, allocations: 67.69 kB / 0.5598 GB, free: 5.094 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.302e-05/0.3488, allocations: 16 kB / 0.5598 GB, free: 5.078 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.536e-05/0.3489, allocations: 12 kB / 0.5598 GB, free: 5.066 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.791e-05/0.3489, allocations: 35.84 kB / 0.5598 GB, free: 5.031 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.124e-05/0.349, allocations: 67.73 kB / 0.5599 GB, free: 4.965 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002395/0.3492, allocations: 189.6 kB / 0.5601 GB, free: 4.785 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.3492, allocations: 0 / 0.5601 GB, free: 4.785 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.3492, allocations: 0 / 0.5601 GB, free: 4.785 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.688e-06/0.3493, allocations: 0 / 0.5601 GB, free: 4.785 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.0005593/0.3498, allocations: 381.9 kB / 0.5605 GB, free: 4.375 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.3498, allocations: 8.031 kB / 0.5605 GB, free: 4.367 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.612e-05/0.3499, allocations: 16.84 kB / 0.5605 GB, free: 4.352 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002005/0.3501, allocations: 146.3 kB / 0.5606 GB, free: 4.184 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/0.3501, allocations: 12.7 kB / 0.5606 GB, free: 4.172 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.672e-05/0.3502, allocations: 24.27 kB / 0.5607 GB, free: 4.148 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003122/0.3505, allocations: 166.2 kB / 0.5608 GB, free: 3.977 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.233e-05/0.3505, allocations: 4.188 kB / 0.5608 GB, free: 3.973 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.305e-05/0.3505, allocations: 11.94 kB / 0.5608 GB, free: 3.961 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.3505, allocations: 12 kB / 0.5608 GB, free: 3.949 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001685/0.3507, allocations: 83.94 kB / 0.5609 GB, free: 3.867 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007952/0.3515, allocations: 0.4921 MB / 0.5614 GB, free: 3.34 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002449/0.3517, allocations: 133.1 kB / 0.5615 GB, free: 3.191 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.509e-05/0.3518, allocations: 49.7 kB / 0.5616 GB, free: 3.137 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.359e-05/0.3518, allocations: 0 / 0.5616 GB, free: 3.137 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.347e-05/0.3519, allocations: 38.69 kB / 0.5616 GB, free: 3.09 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.022e-06/0.3519, allocations: 0 / 0.5616 GB, free: 3.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007276/0.3526, allocations: 223.1 kB / 0.5618 GB, free: 2.859 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.556e-05/0.3527, allocations: 81.11 kB / 0.5619 GB, free: 2.762 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/0.3528, allocations: 126.1 kB / 0.562 GB, free: 2.625 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.245e-05/0.3528, allocations: 29.7 kB / 0.5621 GB, free: 2.59 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/0.3529, allocations: 136.2 kB / 0.5622 GB, free: 2.453 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.747e-05/0.353, allocations: 59.48 kB / 0.5622 GB, free: 2.395 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.876e-05/0.353, allocations: 37.7 kB / 0.5623 GB, free: 2.352 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.3532, allocations: 322.8 kB / 0.5626 GB, free: 2.027 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.164e-05/0.3532, allocations: 39.98 kB / 0.5626 GB, free: 1.988 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001184/0.3534, allocations: 110.1 kB / 0.5627 GB, free: 1.852 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002079/0.3536, allocations: 152.5 kB / 0.5629 GB, free: 1.672 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.633e-06/0.3536, allocations: 4 kB / 0.5629 GB, free: 1.668 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003762/0.354, allocations: 223.3 kB / 0.5631 GB, free: 1.438 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.354, allocations: 8.25 kB / 0.5631 GB, free: 1.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.354, allocations: 4.094 kB / 0.5631 GB, free: 1.426 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002641/0.3542, allocations: 57.56 kB / 0.5632 GB, free: 1.363 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001393/0.3544, allocations: 35.98 kB / 0.5632 GB, free: 1.328 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002312/0.3567, allocations: 2.73 MB / 0.5659 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.157e-05/0.3568, allocations: 23.86 kB / 0.5659 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.3568, allocations: 4 kB / 0.5659 GB, free: 14.36 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.0001281/0.3569, allocations: 133.8 kB / 0.566 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.778e-05/0.357, allocations: 11.91 kB / 0.566 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.69e-05/0.357, allocations: 20.7 kB / 0.566 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.357, allocations: 0 / 0.566 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.357, allocations: 8.094 kB / 0.566 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.357, allocations: 3.938 kB / 0.5661 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002569/0.3573, allocations: 157.2 kB / 0.5662 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.3573, allocations: 3.984 kB / 0.5662 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000142/0.3574, allocations: 23.94 kB / 0.5662 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001304/0.3575, allocations: 49.69 kB / 0.5663 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.562e-05/0.3576, allocations: 4 kB / 0.5663 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002179/0.3597, allocations: 2.726 MB / 0.5689 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.3597, allocations: 4 kB / 0.5689 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000431/0.3602, allocations: 372.3 kB / 0.5693 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.941e-05/0.3602, allocations: 15.95 kB / 0.5693 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.698e-05/0.3602, allocations: 4.219 kB / 0.5693 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.3603, allocations: 4 kB / 0.5693 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.203e-05/0.3603, allocations: 15.97 kB / 0.5693 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-06/0.3604, allocations: 4 kB / 0.5693 GB, free: 10.55 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.337e-05/0.3604, allocations: 102.2 kB / 0.5694 GB, free: 10.45 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3604, allocations: 0 / 0.5694 GB, free: 10.45 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004638/0.3609, allocations: 55.89 kB / 0.5695 GB, free: 10.39 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.0001161/0.361, allocations: 99.19 kB / 0.5696 GB, free: 10.29 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005586/0.3616, allocations: 353.2 kB / 0.5699 GB, free: 9.918 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3616, allocations: 3.938 kB / 0.5699 GB, free: 9.914 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003143/0.3619, allocations: 281.5 kB / 0.5702 GB, free: 9.613 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005394/0.3624, allocations: 40.48 kB / 0.5702 GB, free: 9.574 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001097/0.3635, allocations: 0.6397 MB / 0.5709 GB, free: 8.91 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001236/0.3636, allocations: 116.1 kB / 0.571 GB, free: 8.773 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.417e-05/0.3637, allocations: 17.41 kB / 0.571 GB, free: 8.758 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.549e-05/0.3637, allocations: 11.44 kB / 0.571 GB, free: 8.746 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3637, allocations: 0 / 0.571 GB, free: 8.746 MB / 414.1 MB Notification: Performance of Templates: time 0.005847/0.3696, allocations: 2.234 MB / 0.5732 GB, free: 6.547 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/ConnectionPossibilities/ConnectionPossibilities.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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.285657672211528]