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.002109/0.002109, allocations: 126.2 kB / 17.84 MB, free: 5.223 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.002602/0.002602, allocations: 203.8 kB / 20.79 MB, free: 2.281 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.551/1.551, allocations: 207.6 MB / 231.2 MB, free: 4.109 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.379/0.379, allocations: 44.23 MB / 327.3 MB, free: 6.738 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: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="cs",version="2.0",platforms={"static"}) [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.002445/0.002445, allocations: 67.89 kB / 462.9 MB, free: 0.9297 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3105/0.3129, allocations: 61.01 MB / 0.5116 GB, free: 13.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.002871/0.3158, allocations: 1.854 MB / 0.5134 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004174/0.3162, allocations: 152.8 kB / 0.5136 GB, free: 11.62 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001102/0.3163, allocations: 7.562 kB / 0.5136 GB, free: 11.62 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 6.189e-05/0.3164, allocations: 23.58 kB / 0.5136 GB, free: 11.6 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001503/0.3165, allocations: 50.83 kB / 0.5137 GB, free: 11.55 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001488/0.3167, allocations: 42.5 kB / 0.5137 GB, free: 11.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001715/0.3169, allocations: 181.8 kB / 0.5139 GB, free: 11.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001495/0.317, allocations: 42.06 kB / 0.5139 GB, free: 11.38 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001025/0.3171, allocations: 77.33 kB / 0.514 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001075/0.3172, allocations: 66.42 kB / 0.5141 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.567e-05/0.3172, allocations: 18.53 kB / 0.5141 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.014e-05/0.3173, allocations: 17.97 kB / 0.5141 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.996e-05/0.3173, allocations: 29.52 kB / 0.5141 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.97e-05/0.3174, allocations: 93.39 kB / 0.5142 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002135/0.3176, allocations: 176.4 kB / 0.5144 GB, free: 11.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3176, allocations: 3.938 kB / 0.5144 GB, free: 11.08 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.3176, allocations: 0 / 0.5144 GB, free: 11.08 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.595e-06/0.3176, allocations: 1.781 kB / 0.5144 GB, free: 11.08 MB / 382.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.0005443/0.3182, allocations: 453 kB / 0.5148 GB, free: 10.64 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.3182, allocations: 16.61 kB / 0.5148 GB, free: 10.63 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.095e-05/0.3182, allocations: 4.828 kB / 0.5148 GB, free: 10.63 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.306e-05/0.3183, allocations: 48.02 kB / 0.5149 GB, free: 10.58 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.59e-05/0.3183, allocations: 21.52 kB / 0.5149 GB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001727/0.3185, allocations: 212.3 kB / 0.5151 GB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.3185, allocations: 11.89 kB / 0.5151 GB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.263e-05/0.3185, allocations: 18.83 kB / 0.5151 GB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002626/0.3188, allocations: 173.3 kB / 0.5153 GB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/0.3188, allocations: 12.98 kB / 0.5153 GB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.761e-05/0.3188, allocations: 6.25 kB / 0.5153 GB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.3188, allocations: 3.469 kB / 0.5153 GB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001525/0.319, allocations: 84.05 kB / 0.5154 GB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007251/0.3197, allocations: 0.615 MB / 0.516 GB, free: 9.57 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002213/0.3199, allocations: 125.1 kB / 0.5161 GB, free: 9.48 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.437e-05/0.32, allocations: 45.23 kB / 0.5162 GB, free: 9.449 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.258e-05/0.32, allocations: 6.391 kB / 0.5162 GB, free: 9.445 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.612e-05/0.32, allocations: 35.91 kB / 0.5162 GB, free: 9.402 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 2.334e-06/0.32, allocations: 0 / 0.5162 GB, free: 9.402 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007865/0.3208, allocations: 379.6 kB / 0.5166 GB, free: 9.078 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.122e-05/0.3209, allocations: 83.55 kB / 0.5166 GB, free: 8.98 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.321, allocations: 134.7 kB / 0.5168 GB, free: 8.855 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.115e-05/0.321, allocations: 29.7 kB / 0.5168 GB, free: 8.82 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.139e-05/0.321, allocations: 128 kB / 0.5169 GB, free: 8.699 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.475e-05/0.3211, allocations: 58.28 kB / 0.517 GB, free: 8.648 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.031e-05/0.3211, allocations: 39.12 kB / 0.517 GB, free: 8.617 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.793e-05/0.3212, allocations: 325.9 kB / 0.5173 GB, free: 8.293 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.293e-05/0.3212, allocations: 34.36 kB / 0.5174 GB, free: 8.277 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.884e-05/0.3213, allocations: 108.2 kB / 0.5175 GB, free: 8.168 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001579/0.3215, allocations: 163.3 kB / 0.5176 GB, free: 8.027 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.3215, allocations: 1.375 kB / 0.5176 GB, free: 8.027 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003613/0.3218, allocations: 224.4 kB / 0.5178 GB, free: 7.887 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.3219, allocations: 6.875 kB / 0.5178 GB, free: 7.887 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.3219, allocations: 2.75 kB / 0.5178 GB, free: 7.887 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002258/0.3221, allocations: 49.02 kB / 0.5179 GB, free: 7.855 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001363/0.3222, allocations: 31.73 kB / 0.5179 GB, free: 7.852 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001658/0.3239, allocations: 2.997 MB / 0.5208 GB, free: 4.758 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001199/0.324, allocations: 19.97 kB / 0.5209 GB, free: 4.742 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.373e-05/0.324, allocations: 10.88 kB / 0.5209 GB, free: 4.738 MB / 382.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.0001101/0.3241, allocations: 126 kB / 0.521 GB, free: 4.613 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.7e-05/0.3242, allocations: 18.22 kB / 0.521 GB, free: 4.602 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.347e-05/0.3242, allocations: 15.06 kB / 0.521 GB, free: 4.594 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.3242, allocations: 2.156 kB / 0.521 GB, free: 4.594 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.794e-06/0.3242, allocations: 5.625 kB / 0.521 GB, free: 4.59 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.3242, allocations: 0 / 0.521 GB, free: 4.59 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002671/0.3245, allocations: 235.7 kB / 0.5213 GB, free: 4.344 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.3245, allocations: 1.688 kB / 0.5213 GB, free: 4.344 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001648/0.3247, allocations: 25.48 kB / 0.5213 GB, free: 4.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001536/0.3248, allocations: 54.58 kB / 0.5213 GB, free: 4.301 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.3248, allocations: 5.719 kB / 0.5213 GB, free: 4.297 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00142/0.3263, allocations: 2.986 MB / 0.5243 GB, free: 1.039 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.3263, allocations: 16.06 kB / 0.5243 GB, free: 1.023 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003351/0.3266, allocations: 372.4 kB / 0.5246 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.632e-05/0.3266, allocations: 89 kB / 0.5247 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.82e-05/0.3266, allocations: 12 kB / 0.5247 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.3268, allocations: 0 / 0.5247 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.012e-05/0.3268, allocations: 19.92 kB / 0.5247 GB, free: 0.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.3268, allocations: 4 kB / 0.5247 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.572e-05/0.3268, allocations: 101.8 kB / 0.5248 GB, free: 408 kB / 382.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3268, allocations: 0 / 0.5248 GB, free: 408 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004831/0.3273, allocations: 55.89 kB / 0.5249 GB, free: 352 kB / 382.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.0007568/0.3281, allocations: 0.9046 MB / 0.5258 GB, free: 15.41 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006679/0.3288, allocations: 345.6 kB / 0.5261 GB, free: 15.04 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.3288, allocations: 0 / 0.5261 GB, free: 15.04 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004406/0.3292, allocations: 281.3 kB / 0.5264 GB, free: 14.74 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005643/0.3298, allocations: 27.92 kB / 0.5264 GB, free: 14.71 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003313/0.3331, allocations: 2.331 MB / 0.5287 GB, free: 12.23 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004017/0.3335, allocations: 0.732 MB / 0.5294 GB, free: 11.47 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.463e-05/0.3335, allocations: 9.422 kB / 0.5294 GB, free: 11.46 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.247e-05/0.3336, allocations: 43.42 kB / 0.5294 GB, free: 11.42 MB / 398.1 MB Notification: Performance of SimCode: time 1.222e-06/0.3336, allocations: 4 kB / 0.5294 GB, free: 11.42 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02985/0.3635, allocations: 3.83 MB / 0.5332 GB, free: 7.59 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/11.24, allocations: 4.812 kB / 0.5332 GB, free: 7.586 MB / 398.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities.fmu > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) [Timeout 52.5] 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: 14.41077827499248]