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.001543/0.001543, allocations: 115.5 kB / 17.07 MB, free: 6.082 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.00159/0.00159, allocations: 188.7 kB / 20.01 MB, free: 3.176 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.557/1.557, allocations: 205.1 MB / 227.9 MB, free: 4.414 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.355/0.355, allocations: 43.51 MB / 320.8 MB, free: 8.996 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.002195/0.002195, allocations: 75.88 kB / 450 MB, free: 11.13 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2648/0.267, allocations: 57.77 MB / 0.4959 GB, free: 19.39 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.002462/0.2695, allocations: 1.857 MB / 0.4977 GB, free: 17.94 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000307/0.2699, allocations: 156.2 kB / 0.4978 GB, free: 17.8 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.669e-05/0.2699, allocations: 1.438 kB / 0.4978 GB, free: 17.8 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.442e-05/0.27, allocations: 22.55 kB / 0.4979 GB, free: 17.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001228/0.2701, allocations: 58.17 kB / 0.4979 GB, free: 17.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001237/0.2703, allocations: 35.73 kB / 0.4979 GB, free: 17.7 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001626/0.2704, allocations: 185.2 kB / 0.4981 GB, free: 17.59 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001453/0.2706, allocations: 55.92 kB / 0.4982 GB, free: 17.56 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.481e-05/0.2707, allocations: 74.33 kB / 0.4982 GB, free: 17.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001062/0.2708, allocations: 71.05 kB / 0.4983 GB, free: 17.47 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.122e-05/0.2708, allocations: 14.44 kB / 0.4983 GB, free: 17.47 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.156e-05/0.2709, allocations: 17.22 kB / 0.4983 GB, free: 17.47 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.66e-05/0.2709, allocations: 29.42 kB / 0.4984 GB, free: 17.45 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.432e-05/0.271, allocations: 90.42 kB / 0.4985 GB, free: 17.39 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001921/0.2712, allocations: 183.9 kB / 0.4986 GB, free: 17.26 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2712, allocations: 0 / 0.4986 GB, free: 17.26 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.2712, allocations: 1.281 kB / 0.4986 GB, free: 17.26 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.136e-05/0.2712, allocations: 0 / 0.4986 GB, free: 17.26 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.0004708/0.2717, allocations: 452.8 kB / 0.4991 GB, free: 16.82 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.2717, allocations: 13.36 kB / 0.4991 GB, free: 16.81 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.865e-05/0.2718, allocations: 52.36 kB / 0.4991 GB, free: 16.76 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.699e-05/0.2718, allocations: 21.14 kB / 0.4992 GB, free: 16.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001446/0.272, allocations: 209.1 kB / 0.4994 GB, free: 16.52 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.272, allocations: 10.67 kB / 0.4994 GB, free: 16.51 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.615e-05/0.272, allocations: 15.88 kB / 0.4994 GB, free: 16.51 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002449/0.2723, allocations: 168.3 kB / 0.4995 GB, free: 16.39 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/0.2723, allocations: 10.25 kB / 0.4995 GB, free: 16.38 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.2723, allocations: 5.156 kB / 0.4996 GB, free: 16.38 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.2724, allocations: 12.67 kB / 0.4996 GB, free: 16.37 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001454/0.2725, allocations: 86.48 kB / 0.4996 GB, free: 16.33 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006207/0.2731, allocations: 0.6186 MB / 0.5003 GB, free: 15.75 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001869/0.2733, allocations: 134.1 kB / 0.5004 GB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.665e-05/0.2734, allocations: 52.23 kB / 0.5004 GB, free: 15.62 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/0.2734, allocations: 1.188 kB / 0.5004 GB, free: 15.62 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.756e-05/0.2735, allocations: 36.67 kB / 0.5005 GB, free: 15.58 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.674e-06/0.2735, allocations: 0 / 0.5005 GB, free: 15.58 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006832/0.2742, allocations: 380.2 kB / 0.5008 GB, free: 15.25 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.482e-05/0.2742, allocations: 83.42 kB / 0.5009 GB, free: 15.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.161e-05/0.2743, allocations: 130.1 kB / 0.501 GB, free: 15.04 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.124e-05/0.2743, allocations: 34.8 kB / 0.5011 GB, free: 15 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.21e-05/0.2743, allocations: 131.5 kB / 0.5012 GB, free: 14.87 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.805e-05/0.2744, allocations: 58.25 kB / 0.5012 GB, free: 14.82 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.668e-05/0.2744, allocations: 33.97 kB / 0.5013 GB, free: 14.79 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.586e-05/0.2745, allocations: 326.1 kB / 0.5016 GB, free: 14.47 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.992e-05/0.2746, allocations: 36.33 kB / 0.5016 GB, free: 14.45 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.773e-05/0.2746, allocations: 111.9 kB / 0.5017 GB, free: 14.34 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001527/0.2748, allocations: 150.9 kB / 0.5019 GB, free: 14.21 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.2748, allocations: 0 / 0.5019 GB, free: 14.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003234/0.2751, allocations: 231 kB / 0.5021 GB, free: 14.07 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.2752, allocations: 5.562 kB / 0.5021 GB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.2752, allocations: 6.422 kB / 0.5021 GB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002127/0.2754, allocations: 45.73 kB / 0.5021 GB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/0.2755, allocations: 36.64 kB / 0.5022 GB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001492/0.277, allocations: 2.992 MB / 0.5051 GB, free: 10.94 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.543e-05/0.2771, allocations: 19.91 kB / 0.5051 GB, free: 10.92 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.287e-05/0.2772, allocations: 12.12 kB / 0.5051 GB, free: 10.92 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 8.233e-05/0.2773, allocations: 130.7 kB / 0.5053 GB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.653e-05/0.2773, allocations: 9.672 kB / 0.5053 GB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.86e-05/0.2773, allocations: 23.05 kB / 0.5053 GB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.2774, allocations: 1 kB / 0.5053 GB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.2774, allocations: 6.344 kB / 0.5053 GB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.2774, allocations: 0 / 0.5053 GB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000239/0.2776, allocations: 239.5 kB / 0.5055 GB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.2776, allocations: 5.203 kB / 0.5055 GB, free: 10.51 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001438/0.2778, allocations: 22.09 kB / 0.5056 GB, free: 10.51 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001244/0.2779, allocations: 50.31 kB / 0.5056 GB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.2779, allocations: 10.16 kB / 0.5056 GB, free: 10.47 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001319/0.2793, allocations: 2.975 MB / 0.5085 GB, free: 7.398 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.2793, allocations: 144 / 0.5085 GB, free: 7.398 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003256/0.2796, allocations: 378.3 kB / 0.5089 GB, free: 7.09 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.851e-05/0.2796, allocations: 92.73 kB / 0.509 GB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.691e-05/0.2797, allocations: 5.531 kB / 0.509 GB, free: 6.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.2798, allocations: 5.375 kB / 0.509 GB, free: 6.977 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.372e-05/0.2798, allocations: 18.67 kB / 0.509 GB, free: 6.965 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.2798, allocations: 2.156 kB / 0.509 GB, free: 6.965 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.217e-05/0.2799, allocations: 103.5 kB / 0.5091 GB, free: 6.875 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2799, allocations: 0 / 0.5091 GB, free: 6.875 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004536/0.2803, allocations: 58.77 kB / 0.5092 GB, free: 6.859 MB / 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.0004777/0.2808, allocations: 0.9057 MB / 0.51 GB, free: 6.02 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004796/0.2813, allocations: 352 kB / 0.5104 GB, free: 5.73 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.075e-06/0.2813, allocations: 0.5 kB / 0.5104 GB, free: 5.73 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000232/0.2816, allocations: 287.5 kB / 0.5106 GB, free: 5.469 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005043/0.2821, allocations: 35.88 kB / 0.5107 GB, free: 5.449 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001987/0.2841, allocations: 2.328 MB / 0.513 GB, free: 3.371 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001431/0.2843, allocations: 0.7308 MB / 0.5137 GB, free: 2.648 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.485e-05/0.2843, allocations: 10.36 kB / 0.5137 GB, free: 2.645 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.169e-05/0.2844, allocations: 40.52 kB / 0.5137 GB, free: 2.609 MB / 382.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2844, allocations: 1.469 kB / 0.5137 GB, free: 2.609 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03515/0.3195, allocations: 3.76 MB / 0.5174 GB, free: 0.543 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/11.03, allocations: 9.047 kB / 0.5174 GB, free: 0.5352 MB / 382.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.975040605990216]