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.001999/0.001999, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002506/0.002506, allocations: 216.7 kB / 23.73 MB, free: 4.16 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.5/1.5, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.2264/0.2264, allocations: 44.93 MB / 358.8 MB, free: 6.129 MB / 286.1 MB " [Timeout remaining time 180] 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: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="me",version="2.0",platforms={"static"}) [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.002389/0.002389, allocations: 67.89 kB / 0.493 GB, free: 10.55 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3613/0.3637, allocations: 65.48 MB / 0.557 GB, free: 7.328 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003273/0.367, allocations: 1.782 MB / 0.5587 GB, free: 5.727 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003881/0.3674, allocations: 147.4 kB / 0.5588 GB, free: 5.582 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.366e-05/0.3675, allocations: 3.938 kB / 0.5588 GB, free: 5.578 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.879e-05/0.3675, allocations: 19.8 kB / 0.5589 GB, free: 5.559 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001482/0.3677, allocations: 59.55 kB / 0.5589 GB, free: 5.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001615/0.3678, allocations: 43.88 kB / 0.559 GB, free: 5.457 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000222/0.3681, allocations: 179.2 kB / 0.5591 GB, free: 5.281 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001644/0.3682, allocations: 33.73 kB / 0.5592 GB, free: 5.246 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001256/0.3683, allocations: 79.7 kB / 0.5592 GB, free: 5.168 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001239/0.3685, allocations: 63.64 kB / 0.5593 GB, free: 5.105 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.072e-05/0.3685, allocations: 16 kB / 0.5593 GB, free: 5.09 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.434e-05/0.3685, allocations: 12 kB / 0.5593 GB, free: 5.078 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.74e-05/0.3686, allocations: 35.92 kB / 0.5594 GB, free: 5.043 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.955e-05/0.3687, allocations: 71.7 kB / 0.5594 GB, free: 4.973 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002653/0.3689, allocations: 185 kB / 0.5596 GB, free: 4.793 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.3689, allocations: 0 / 0.5596 GB, free: 4.793 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3689, allocations: 0 / 0.5596 GB, free: 4.793 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.3689, allocations: 0 / 0.5596 GB, free: 4.793 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.0006657/0.3696, allocations: 382 kB / 0.56 GB, free: 4.383 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/0.3697, allocations: 8.031 kB / 0.56 GB, free: 4.375 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.638e-05/0.3697, allocations: 50.73 kB / 0.56 GB, free: 4.316 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.427e-05/0.3698, allocations: 16.84 kB / 0.56 GB, free: 4.301 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002621/0.37, allocations: 162.2 kB / 0.5602 GB, free: 4.117 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.37, allocations: 12.7 kB / 0.5602 GB, free: 4.105 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.689e-05/0.3701, allocations: 20.33 kB / 0.5602 GB, free: 4.086 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003228/0.3704, allocations: 166.2 kB / 0.5604 GB, free: 3.914 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.845e-05/0.3704, allocations: 11.94 kB / 0.5604 GB, free: 3.902 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.813e-05/0.3705, allocations: 4 kB / 0.5604 GB, free: 3.898 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/0.3705, allocations: 7.984 kB / 0.5604 GB, free: 3.891 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001734/0.3706, allocations: 87.89 kB / 0.5605 GB, free: 3.805 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009427/0.3716, allocations: 0.5151 MB / 0.561 GB, free: 3.242 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002634/0.3718, allocations: 141 kB / 0.5611 GB, free: 3.086 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.054e-05/0.3719, allocations: 45.7 kB / 0.5612 GB, free: 3.035 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.339e-05/0.372, allocations: 4.125 kB / 0.5612 GB, free: 3.031 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.372, allocations: 34.56 kB / 0.5612 GB, free: 2.988 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.252e-06/0.372, allocations: 0 / 0.5612 GB, free: 2.988 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007859/0.3728, allocations: 227.1 kB / 0.5614 GB, free: 2.754 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.733e-05/0.3728, allocations: 77.11 kB / 0.5615 GB, free: 2.66 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/0.373, allocations: 134 kB / 0.5616 GB, free: 2.516 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/0.373, allocations: 29.7 kB / 0.5617 GB, free: 2.48 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.185e-05/0.3731, allocations: 128.2 kB / 0.5618 GB, free: 2.352 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.101e-05/0.3731, allocations: 59.52 kB / 0.5618 GB, free: 2.293 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.425e-05/0.3732, allocations: 33.72 kB / 0.5619 GB, free: 2.254 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.3733, allocations: 326.8 kB / 0.5622 GB, free: 1.926 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.229e-05/0.3734, allocations: 39.98 kB / 0.5622 GB, free: 1.887 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001224/0.3735, allocations: 110.1 kB / 0.5623 GB, free: 1.75 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002144/0.3738, allocations: 156.5 kB / 0.5625 GB, free: 1.566 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.3738, allocations: 0 / 0.5625 GB, free: 1.566 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003779/0.3741, allocations: 223.3 kB / 0.5627 GB, free: 1.336 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.3741, allocations: 11.92 kB / 0.5627 GB, free: 1.324 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.3742, allocations: 4.094 kB / 0.5627 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002165/0.3744, allocations: 49.64 kB / 0.5627 GB, free: 1.266 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001419/0.3745, allocations: 32.23 kB / 0.5628 GB, free: 1.234 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002471/0.377, allocations: 2.787 MB / 0.5655 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.665e-05/0.3771, allocations: 15.89 kB / 0.5655 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.291e-05/0.3771, allocations: 8 kB / 0.5655 GB, free: 14.19 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.000139/0.3772, allocations: 130.1 kB / 0.5656 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.36e-05/0.3773, allocations: 15.91 kB / 0.5657 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.509e-05/0.3773, allocations: 16.66 kB / 0.5657 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.3773, allocations: 4.094 kB / 0.5657 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.3773, allocations: 0 / 0.5657 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.235e-06/0.3773, allocations: 7.969 kB / 0.5657 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002952/0.3776, allocations: 192.6 kB / 0.5659 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.3776, allocations: 0 / 0.5659 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001445/0.3778, allocations: 35.92 kB / 0.5659 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001333/0.3779, allocations: 49.62 kB / 0.566 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.848e-05/0.3779, allocations: 7.938 kB / 0.566 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00225/0.3802, allocations: 2.768 MB / 0.5687 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3802, allocations: 0 / 0.5687 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004406/0.3806, allocations: 376.4 kB / 0.569 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.956e-05/0.3806, allocations: 11.89 kB / 0.569 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.517e-05/0.3807, allocations: 0 / 0.569 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.3808, allocations: 12 kB / 0.569 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.396e-05/0.3808, allocations: 11.97 kB / 0.5691 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.665e-06/0.3808, allocations: 4 kB / 0.5691 GB, free: 10.26 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.721e-05/0.3809, allocations: 106 kB / 0.5692 GB, free: 10.16 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3809, allocations: 4.094 kB / 0.5692 GB, free: 10.15 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004566/0.3813, allocations: 59.89 kB / 0.5692 GB, free: 10.09 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.0007544/0.3821, allocations: 0.889 MB / 0.5701 GB, free: 9.172 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006145/0.3827, allocations: 353.5 kB / 0.5704 GB, free: 8.801 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3827, allocations: 0 / 0.5704 GB, free: 8.801 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003219/0.383, allocations: 281.3 kB / 0.5707 GB, free: 8.5 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005022/0.3835, allocations: 30.14 kB / 0.5707 GB, free: 8.477 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003161/0.3867, allocations: 2.335 MB / 0.573 GB, free: 5.98 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001674/0.3869, allocations: 112.1 kB / 0.5731 GB, free: 5.852 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.97e-05/0.3869, allocations: 13.42 kB / 0.5731 GB, free: 5.84 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.949e-05/0.387, allocations: 39.42 kB / 0.5732 GB, free: 5.801 MB / 414.1 MB Notification: Performance of SimCode: time 5.51e-07/0.387, allocations: 0 / 0.5732 GB, free: 5.801 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0441/0.4311, allocations: 4.407 MB / 0.5775 GB, free: 1.562 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/11.95, allocations: 10.8 kB / 0.5775 GB, free: 1.555 MB / 414.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities.fmu > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/ConnectionPossibilities/ConnectionPossibilities.csv","/var/lib/jenkins1/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: 15.019306708592921]