Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001738/0.001738, 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.00238/0.00238, allocations: 214.3 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.535/1.535, 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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2231/0.2231, allocations: 46.97 MB / 360.9 MB, free: 4.133 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002087/0.002087, allocations: 71.89 kB / 0.4961 GB, free: 7.766 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3681/0.3702, allocations: 66.03 MB / 0.5606 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003548/0.3737, allocations: 1.782 MB / 0.5623 GB, free: 2.438 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004168/0.3741, allocations: 147.4 kB / 0.5625 GB, free: 2.293 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.875e-05/0.3742, allocations: 0 / 0.5625 GB, free: 2.293 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 7.53e-05/0.3743, allocations: 27.72 kB / 0.5625 GB, free: 2.266 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001436/0.3744, allocations: 55.55 kB / 0.5625 GB, free: 2.211 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001509/0.3746, allocations: 35.95 kB / 0.5626 GB, free: 2.176 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002285/0.3748, allocations: 187.1 kB / 0.5628 GB, free: 1.992 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001518/0.375, allocations: 37.72 kB / 0.5628 GB, free: 1.953 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001115/0.3751, allocations: 71.78 kB / 0.5629 GB, free: 1.883 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001157/0.3752, allocations: 59.7 kB / 0.5629 GB, free: 1.824 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.363e-05/0.3752, allocations: 20 kB / 0.5629 GB, free: 1.805 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.166e-05/0.3753, allocations: 12 kB / 0.5629 GB, free: 1.793 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.512e-05/0.3753, allocations: 39.84 kB / 0.563 GB, free: 1.754 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.504e-05/0.3754, allocations: 67.72 kB / 0.563 GB, free: 1.688 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002722/0.3757, allocations: 189 kB / 0.5632 GB, free: 1.504 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3757, allocations: 3.938 kB / 0.5632 GB, free: 1.5 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.3757, allocations: 0 / 0.5632 GB, free: 1.5 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.044e-05/0.3757, allocations: 0 / 0.5632 GB, free: 1.5 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.0006535/0.3763, allocations: 378 kB / 0.5636 GB, free: 1.094 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.3764, allocations: 12.03 kB / 0.5636 GB, free: 1.082 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.589e-05/0.3764, allocations: 50.73 kB / 0.5637 GB, free: 1.023 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.924e-05/0.3765, allocations: 20.83 kB / 0.5637 GB, free: 1.004 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002594/0.3767, allocations: 150.3 kB / 0.5638 GB, free: 0.832 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/0.3768, allocations: 12.7 kB / 0.5638 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.93e-05/0.3768, allocations: 20.31 kB / 0.5638 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003171/0.3771, allocations: 166.1 kB / 0.564 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.354e-05/0.3772, allocations: 7.938 kB / 0.564 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.271e-05/0.3772, allocations: 11.98 kB / 0.564 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.185e-05/0.3772, allocations: 4 kB / 0.564 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001789/0.3774, allocations: 83.95 kB / 0.5641 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009535/0.3783, allocations: 0.5229 MB / 0.5646 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000269/0.3786, allocations: 129.1 kB / 0.5647 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.296e-05/0.3787, allocations: 49.7 kB / 0.5648 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.619e-05/0.3787, allocations: 0 / 0.5648 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.956e-05/0.3787, allocations: 34.75 kB / 0.5648 GB, free: 15.71 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.042e-06/0.3787, allocations: 0 / 0.5648 GB, free: 15.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008227/0.3796, allocations: 231 kB / 0.565 GB, free: 15.47 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.69e-05/0.3796, allocations: 77.11 kB / 0.5651 GB, free: 15.38 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001439/0.3798, allocations: 132.6 kB / 0.5652 GB, free: 15.24 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.278e-05/0.3798, allocations: 33.7 kB / 0.5653 GB, free: 15.2 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.369e-05/0.3799, allocations: 136.1 kB / 0.5654 GB, free: 15.06 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.111e-05/0.3799, allocations: 55.53 kB / 0.5655 GB, free: 15.01 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.418e-05/0.38, allocations: 41.7 kB / 0.5655 GB, free: 14.96 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.3802, allocations: 326.8 kB / 0.5658 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.011e-05/0.3802, allocations: 35.98 kB / 0.5658 GB, free: 14.6 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001429/0.3804, allocations: 106.2 kB / 0.5659 GB, free: 14.46 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000217/0.3806, allocations: 160.4 kB / 0.5661 GB, free: 14.28 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3806, allocations: 0 / 0.5661 GB, free: 14.28 MB / 414.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003893/0.381, allocations: 223.3 kB / 0.5663 GB, free: 14.05 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.381, allocations: 4.094 kB / 0.5663 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.381, allocations: 7.938 kB / 0.5663 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002527/0.3813, allocations: 53.94 kB / 0.5664 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001451/0.3814, allocations: 35.92 kB / 0.5664 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002488/0.3839, allocations: 2.772 MB / 0.5691 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.986e-05/0.384, allocations: 20.11 kB / 0.5691 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.489e-05/0.384, allocations: 8 kB / 0.5691 GB, free: 10.91 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.0001387/0.3841, allocations: 129.8 kB / 0.5693 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.638e-05/0.3842, allocations: 19.89 kB / 0.5693 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.676e-05/0.3842, allocations: 16.66 kB / 0.5693 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.3842, allocations: 4 kB / 0.5693 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.034e-06/0.3842, allocations: 0 / 0.5693 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.3842, allocations: 0 / 0.5693 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003036/0.3845, allocations: 200.6 kB / 0.5695 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3845, allocations: 0 / 0.5695 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001429/0.3847, allocations: 27.98 kB / 0.5695 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001321/0.3848, allocations: 45.64 kB / 0.5696 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.79e-05/0.3848, allocations: 7.938 kB / 0.5696 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00247/0.3873, allocations: 2.771 MB / 0.5723 GB, free: 7.41 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.3873, allocations: 0 / 0.5723 GB, free: 7.41 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004382/0.3878, allocations: 372.4 kB / 0.5726 GB, free: 7.023 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.958e-05/0.3878, allocations: 11.89 kB / 0.5726 GB, free: 7.012 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.746e-05/0.3878, allocations: 3.984 kB / 0.5727 GB, free: 7.008 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.3879, allocations: 12 kB / 0.5727 GB, free: 6.996 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.583e-05/0.3879, allocations: 7.984 kB / 0.5727 GB, free: 6.988 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-06/0.3879, allocations: 8.156 kB / 0.5727 GB, free: 6.98 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.827e-05/0.388, allocations: 103.2 kB / 0.5728 GB, free: 6.879 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.388, allocations: 0 / 0.5728 GB, free: 6.879 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004586/0.3885, allocations: 59.89 kB / 0.5728 GB, free: 6.82 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.0008606/0.3893, allocations: 0.9041 MB / 0.5737 GB, free: 5.887 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006131/0.3899, allocations: 353.4 kB / 0.5741 GB, free: 5.516 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3899, allocations: 0 / 0.5741 GB, free: 5.516 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003399/0.3903, allocations: 281.3 kB / 0.5743 GB, free: 5.215 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005308/0.3908, allocations: 27.97 kB / 0.5743 GB, free: 5.188 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002787/0.3936, allocations: 2.334 MB / 0.5766 GB, free: 2.699 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001692/0.3938, allocations: 108.1 kB / 0.5767 GB, free: 2.574 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.695e-05/0.3938, allocations: 17.41 kB / 0.5767 GB, free: 2.559 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.889e-05/0.3939, allocations: 39.42 kB / 0.5768 GB, free: 2.52 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3939, allocations: 4 kB / 0.5768 GB, free: 2.516 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03648/0.4304, allocations: 4.405 MB / 0.5811 GB, free: 14.28 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.78/12.21, allocations: 11.98 kB / 0.5811 GB, free: 14.27 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities.fmu > ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/ConnectionPossibilities/ConnectionPossibilities.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.251750616822392]