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.001312/0.001312, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001537/0.001537, allocations: 216.2 kB / 24.53 MB, free: 4.066 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.551/1.551, allocations: 230.6 MB / 258.3 MB, free: 8.012 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.2205/0.2205, allocations: 44.92 MB / 359.6 MB, free: 6.266 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="cs",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.002072/0.002072, allocations: 59.91 kB / 0.4938 GB, free: 10.72 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.531/0.533, allocations: 65.47 MB / 0.5578 GB, free: 7.531 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.004042/0.5371, allocations: 1.873 MB / 0.5596 GB, free: 5.898 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004167/0.5375, allocations: 151.4 kB / 0.5598 GB, free: 5.75 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.738e-05/0.5376, allocations: 4 kB / 0.5598 GB, free: 5.746 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 7.81e-05/0.5377, allocations: 27.72 kB / 0.5598 GB, free: 5.719 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001507/0.5378, allocations: 51.5 kB / 0.5598 GB, free: 5.668 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001772/0.538, allocations: 35.95 kB / 0.5599 GB, free: 5.633 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002506/0.5382, allocations: 191.1 kB / 0.56 GB, free: 5.445 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002013/0.5384, allocations: 49.7 kB / 0.5601 GB, free: 5.395 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001206/0.5386, allocations: 63.8 kB / 0.5602 GB, free: 5.332 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001371/0.5387, allocations: 75.7 kB / 0.5602 GB, free: 5.258 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.042e-05/0.5387, allocations: 12 kB / 0.5602 GB, free: 5.246 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.31e-05/0.5388, allocations: 16 kB / 0.5603 GB, free: 5.23 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.564e-05/0.5388, allocations: 39.83 kB / 0.5603 GB, free: 5.191 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001058/0.5389, allocations: 83.61 kB / 0.5604 GB, free: 5.109 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002746/0.5392, allocations: 189.1 kB / 0.5606 GB, free: 4.926 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.146e-06/0.5392, allocations: 0 / 0.5606 GB, free: 4.926 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.847e-06/0.5392, allocations: 0 / 0.5606 GB, free: 4.926 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.5392, allocations: 0 / 0.5606 GB, free: 4.926 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.0006322/0.5398, allocations: 378 kB / 0.5609 GB, free: 4.52 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.5399, allocations: 8.031 kB / 0.5609 GB, free: 4.512 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.741e-05/0.5399, allocations: 8.516 kB / 0.5609 GB, free: 4.504 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.324e-05/0.54, allocations: 50.73 kB / 0.561 GB, free: 4.445 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.833e-05/0.54, allocations: 20.83 kB / 0.561 GB, free: 4.426 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002121/0.5402, allocations: 142.3 kB / 0.5611 GB, free: 4.262 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.793e-05/0.5403, allocations: 20.64 kB / 0.5612 GB, free: 4.242 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.67e-05/0.5403, allocations: 24.31 kB / 0.5612 GB, free: 4.219 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003003/0.5406, allocations: 169.9 kB / 0.5613 GB, free: 4.043 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.5406, allocations: 4 kB / 0.5613 GB, free: 4.039 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.775e-05/0.5406, allocations: 7.984 kB / 0.5613 GB, free: 4.031 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.928e-06/0.5406, allocations: 8 kB / 0.5614 GB, free: 4.023 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002484/0.5409, allocations: 87.95 kB / 0.5614 GB, free: 3.938 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008764/0.5418, allocations: 0.554 MB / 0.562 GB, free: 3.336 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002283/0.542, allocations: 121.2 kB / 0.5621 GB, free: 3.199 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.311e-05/0.5421, allocations: 49.7 kB / 0.5621 GB, free: 3.145 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.622e-05/0.5421, allocations: 4 kB / 0.5621 GB, free: 3.141 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.902e-05/0.5421, allocations: 38.69 kB / 0.5622 GB, free: 3.094 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.142e-06/0.5421, allocations: 0 / 0.5622 GB, free: 3.094 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007672/0.5429, allocations: 227 kB / 0.5624 GB, free: 2.859 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.393e-05/0.543, allocations: 81.11 kB / 0.5625 GB, free: 2.762 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001404/0.5431, allocations: 129.2 kB / 0.5626 GB, free: 2.625 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.395e-05/0.5431, allocations: 29.7 kB / 0.5626 GB, free: 2.59 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.82e-05/0.5432, allocations: 136.2 kB / 0.5628 GB, free: 2.453 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.699e-05/0.5433, allocations: 59.48 kB / 0.5628 GB, free: 2.395 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.196e-05/0.5434, allocations: 37.7 kB / 0.5629 GB, free: 2.352 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002062/0.5436, allocations: 322.8 kB / 0.5632 GB, free: 2.027 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.079e-05/0.5436, allocations: 39.98 kB / 0.5632 GB, free: 1.988 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001356/0.5438, allocations: 104.5 kB / 0.5633 GB, free: 1.855 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002293/0.544, allocations: 152.5 kB / 0.5634 GB, free: 1.676 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.544, allocations: 4 kB / 0.5634 GB, free: 1.672 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004099/0.5444, allocations: 223 kB / 0.5637 GB, free: 1.441 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.452e-05/0.5444, allocations: 8 kB / 0.5637 GB, free: 1.434 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.5444, allocations: 0 / 0.5637 GB, free: 1.434 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000267/0.5447, allocations: 53.89 kB / 0.5637 GB, free: 1.375 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001526/0.5449, allocations: 35.97 kB / 0.5638 GB, free: 1.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002959/0.5478, allocations: 2.783 MB / 0.5665 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.01e-05/0.5479, allocations: 19.92 kB / 0.5665 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.5479, allocations: 8 kB / 0.5665 GB, free: 14.3 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.0001546/0.5481, allocations: 133.7 kB / 0.5666 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.877e-05/0.5481, allocations: 20.31 kB / 0.5666 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.792e-05/0.5482, allocations: 24.7 kB / 0.5667 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.5482, allocations: 4 kB / 0.5667 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.5482, allocations: 0 / 0.5667 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.5482, allocations: 0 / 0.5667 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003478/0.5485, allocations: 208.5 kB / 0.5669 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.5485, allocations: 3.984 kB / 0.5669 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001474/0.5487, allocations: 27.94 kB / 0.5669 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001318/0.5488, allocations: 49.62 kB / 0.5669 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.5488, allocations: 4 kB / 0.567 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002482/0.5513, allocations: 2.779 MB / 0.5697 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.5513, allocations: 0 / 0.5697 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004442/0.5518, allocations: 368.4 kB / 0.57 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.065e-05/0.5518, allocations: 11.89 kB / 0.57 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.139e-05/0.5518, allocations: 12 kB / 0.57 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.5519, allocations: 8.047 kB / 0.57 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.432e-05/0.552, allocations: 12.08 kB / 0.5701 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/0.552, allocations: 7.984 kB / 0.5701 GB, free: 10.33 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.416e-05/0.552, allocations: 99.27 kB / 0.5702 GB, free: 10.23 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.552, allocations: 0 / 0.5702 GB, free: 10.23 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004386/0.5525, allocations: 55.89 kB / 0.5702 GB, free: 10.18 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.0008483/0.5533, allocations: 0.8968 MB / 0.5711 GB, free: 9.25 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006174/0.5539, allocations: 345.5 kB / 0.5714 GB, free: 8.887 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5539, allocations: 0 / 0.5714 GB, free: 8.887 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000312/0.5543, allocations: 281.2 kB / 0.5717 GB, free: 8.586 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005455/0.5548, allocations: 30.23 kB / 0.5717 GB, free: 8.559 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002824/0.5576, allocations: 2.346 MB / 0.574 GB, free: 6.055 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000435/0.5581, allocations: 0.7203 MB / 0.5747 GB, free: 5.309 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.708e-05/0.5581, allocations: 17.36 kB / 0.5747 GB, free: 5.293 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.608e-05/0.5582, allocations: 43.42 kB / 0.5748 GB, free: 5.25 MB / 414.1 MB Notification: Performance of SimCode: time 7.21e-07/0.5582, allocations: 0 / 0.5748 GB, free: 5.25 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03095/0.5891, allocations: 3.966 MB / 0.5786 GB, free: 1.441 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/12.19, allocations: 6.469 kB / 0.5786 GB, free: 1.438 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.457229750987608]