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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001851/0.001851, allocations: 119.7 kB / 17.13 MB, free: 5.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002007/0.002007, allocations: 192.6 kB / 20.08 MB, free: 2.871 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.535/1.535, allocations: 207.6 MB / 230.5 MB, free: 3.98 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.3472/0.3472, allocations: 44.23 MB / 326.5 MB, free: 6.785 MB / 254.1 MB " [Timeout remaining time 180] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002311/0.002311, allocations: 71.88 kB / 462.2 MB, free: 0.9492 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2817/0.284, allocations: 60.99 MB / 0.5109 GB, free: 13.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.00375/0.2877, allocations: 1.869 MB / 0.5127 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004369/0.2882, allocations: 155.6 kB / 0.5129 GB, free: 11.64 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001041/0.2883, allocations: 2.188 kB / 0.5129 GB, free: 11.64 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 7.726e-05/0.2883, allocations: 27.28 kB / 0.5129 GB, free: 11.62 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001742/0.2885, allocations: 56.12 kB / 0.5129 GB, free: 11.57 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001764/0.2887, allocations: 35.7 kB / 0.513 GB, free: 11.54 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001952/0.2889, allocations: 180 kB / 0.5131 GB, free: 11.43 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001617/0.289, allocations: 47.89 kB / 0.5132 GB, free: 11.4 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001136/0.2892, allocations: 67.88 kB / 0.5133 GB, free: 11.36 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001304/0.2893, allocations: 78.38 kB / 0.5133 GB, free: 11.31 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.134e-05/0.2893, allocations: 14.41 kB / 0.5133 GB, free: 11.31 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.812e-05/0.2894, allocations: 14.28 kB / 0.5134 GB, free: 11.31 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.48e-05/0.2894, allocations: 28.7 kB / 0.5134 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.685e-05/0.2895, allocations: 90.53 kB / 0.5135 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002465/0.2897, allocations: 183 kB / 0.5136 GB, free: 11.1 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.2898, allocations: 5.578 kB / 0.5137 GB, free: 11.1 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.2898, allocations: 0 / 0.5137 GB, free: 11.1 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.2898, allocations: 0 / 0.5137 GB, free: 11.1 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.0006151/0.2904, allocations: 449 kB / 0.5141 GB, free: 10.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.2904, allocations: 13.08 kB / 0.5141 GB, free: 10.65 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.819e-05/0.2905, allocations: 53.02 kB / 0.5141 GB, free: 10.6 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.219e-05/0.2905, allocations: 21.2 kB / 0.5142 GB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002048/0.2907, allocations: 211.8 kB / 0.5144 GB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.2907, allocations: 12.02 kB / 0.5144 GB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.037e-05/0.2908, allocations: 19.12 kB / 0.5144 GB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003478/0.2911, allocations: 169.5 kB / 0.5146 GB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.499e-05/0.2912, allocations: 5.719 kB / 0.5146 GB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.123e-05/0.2912, allocations: 5.656 kB / 0.5146 GB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-06/0.2912, allocations: 3.531 kB / 0.5146 GB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002197/0.2914, allocations: 90.77 kB / 0.5147 GB, free: 10.17 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008767/0.2923, allocations: 0.6182 MB / 0.5153 GB, free: 9.59 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002586/0.2926, allocations: 125.4 kB / 0.5154 GB, free: 9.5 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.289e-05/0.2926, allocations: 50.33 kB / 0.5154 GB, free: 9.465 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.276e-05/0.2927, allocations: 1.375 kB / 0.5154 GB, free: 9.465 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.619e-05/0.2927, allocations: 35.94 kB / 0.5155 GB, free: 9.422 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.864e-06/0.2927, allocations: 0 / 0.5155 GB, free: 9.422 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009503/0.2936, allocations: 380.4 kB / 0.5158 GB, free: 9.098 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.989e-05/0.2937, allocations: 78.48 kB / 0.5159 GB, free: 9.004 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.2938, allocations: 133.7 kB / 0.516 GB, free: 8.879 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.168e-05/0.2938, allocations: 27.17 kB / 0.5161 GB, free: 8.848 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.983e-05/0.2938, allocations: 131.7 kB / 0.5162 GB, free: 8.723 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.245e-05/0.2939, allocations: 61.52 kB / 0.5162 GB, free: 8.668 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.273e-05/0.294, allocations: 38.92 kB / 0.5163 GB, free: 8.637 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.377e-05/0.294, allocations: 326.1 kB / 0.5166 GB, free: 8.312 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.305e-05/0.2941, allocations: 39.7 kB / 0.5166 GB, free: 8.293 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001204/0.2942, allocations: 104 kB / 0.5167 GB, free: 8.188 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002295/0.2945, allocations: 154.9 kB / 0.5169 GB, free: 8.055 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.2945, allocations: 1.312 kB / 0.5169 GB, free: 8.055 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004948/0.295, allocations: 224.9 kB / 0.5171 GB, free: 7.914 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.295, allocations: 10.28 kB / 0.5171 GB, free: 7.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.136e-06/0.295, allocations: 3.062 kB / 0.5171 GB, free: 7.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002735/0.2953, allocations: 44.8 kB / 0.5171 GB, free: 7.883 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001897/0.2955, allocations: 40.77 kB / 0.5172 GB, free: 7.871 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002037/0.2975, allocations: 2.991 MB / 0.5201 GB, free: 4.781 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001306/0.2976, allocations: 17.34 kB / 0.5201 GB, free: 4.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.744e-05/0.2976, allocations: 11.34 kB / 0.5201 GB, free: 4.766 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.0001132/0.2977, allocations: 138.1 kB / 0.5203 GB, free: 4.629 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.839e-05/0.2978, allocations: 9.453 kB / 0.5203 GB, free: 4.625 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.762e-05/0.2979, allocations: 19.41 kB / 0.5203 GB, free: 4.613 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.2979, allocations: 2.75 kB / 0.5203 GB, free: 4.613 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.2979, allocations: 5.312 kB / 0.5203 GB, free: 4.609 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.2979, allocations: 0 / 0.5203 GB, free: 4.609 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003697/0.2982, allocations: 235.8 kB / 0.5205 GB, free: 4.363 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.2983, allocations: 0 / 0.5205 GB, free: 4.363 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002267/0.2985, allocations: 33.98 kB / 0.5206 GB, free: 4.352 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001677/0.2986, allocations: 47.73 kB / 0.5206 GB, free: 4.32 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.685e-05/0.2987, allocations: 5.312 kB / 0.5206 GB, free: 4.316 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001785/0.3004, allocations: 2.98 MB / 0.5235 GB, free: 1.062 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.3005, allocations: 3.984 kB / 0.5235 GB, free: 1.059 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004013/0.3009, allocations: 376.5 kB / 0.5239 GB, free: 0.668 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.523e-05/0.3009, allocations: 89 kB / 0.524 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.118e-05/0.3009, allocations: 4 kB / 0.524 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001686/0.3011, allocations: 8 kB / 0.524 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.36e-05/0.3011, allocations: 11.92 kB / 0.524 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.098e-06/0.3011, allocations: 4 kB / 0.524 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.803e-05/0.3012, allocations: 102.4 kB / 0.5241 GB, free: 448 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3012, allocations: 4 kB / 0.5241 GB, free: 444 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007069/0.3019, allocations: 55.89 kB / 0.5241 GB, free: 388 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.0008893/0.3028, allocations: 0.9086 MB / 0.525 GB, free: 15.44 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008122/0.3036, allocations: 349.1 kB / 0.5254 GB, free: 15.07 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.3036, allocations: 0 / 0.5254 GB, free: 15.07 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004654/0.3041, allocations: 285.8 kB / 0.5256 GB, free: 14.77 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008254/0.3049, allocations: 32.28 kB / 0.5257 GB, free: 14.73 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004071/0.309, allocations: 2.322 MB / 0.5279 GB, free: 12.25 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004891/0.3095, allocations: 0.732 MB / 0.5287 GB, free: 11.5 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.047e-05/0.3095, allocations: 9.438 kB / 0.5287 GB, free: 11.49 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.184e-05/0.3096, allocations: 43.42 kB / 0.5287 GB, free: 11.45 MB / 398.1 MB Notification: Performance of SimCode: time 5.92e-07/0.3096, allocations: 0 / 0.5287 GB, free: 11.45 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03855/0.3482, allocations: 3.798 MB / 0.5324 GB, free: 7.648 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.53/10.87, allocations: 12.48 kB / 0.5324 GB, free: 7.637 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/ConnectionPossibilities/ConnectionPossibilities.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 13.815331244375557]