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.001347/0.001347, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001559/0.001559, allocations: 212.7 kB / 23.74 MB, free: 4.656 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.494/1.494, allocations: 230.6 MB / 257.5 MB, free: 7.992 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.245/0.245, allocations: 44.91 MB / 358.8 MB, free: 6.277 MB / 286.1 MB " [Timeout remaining time 179] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="me",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.002069/0.002069, allocations: 67.91 kB / 0.4931 GB, free: 10.72 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4019/0.4039, allocations: 65.47 MB / 0.557 GB, free: 7.52 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003984/0.4079, allocations: 1.868 MB / 0.5588 GB, free: 5.906 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003985/0.4083, allocations: 147.5 kB / 0.559 GB, free: 5.762 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.11e-05/0.4084, allocations: 7.938 kB / 0.559 GB, free: 5.754 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 7.142e-05/0.4085, allocations: 23.72 kB / 0.559 GB, free: 5.73 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001518/0.4086, allocations: 63.48 kB / 0.5591 GB, free: 5.668 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001579/0.4088, allocations: 31.97 kB / 0.5591 GB, free: 5.637 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002312/0.409, allocations: 183.2 kB / 0.5593 GB, free: 5.457 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001767/0.4092, allocations: 49.64 kB / 0.5593 GB, free: 5.406 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001184/0.4093, allocations: 63.8 kB / 0.5594 GB, free: 5.344 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001414/0.4095, allocations: 75.64 kB / 0.5595 GB, free: 5.27 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.316e-05/0.4095, allocations: 12 kB / 0.5595 GB, free: 5.258 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.218e-05/0.4095, allocations: 16 kB / 0.5595 GB, free: 5.242 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.46e-05/0.4096, allocations: 35.89 kB / 0.5595 GB, free: 5.207 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001027/0.4097, allocations: 83.61 kB / 0.5596 GB, free: 5.125 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002656/0.4099, allocations: 189.1 kB / 0.5598 GB, free: 4.941 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.4099, allocations: 3.938 kB / 0.5598 GB, free: 4.938 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.4099, allocations: 0 / 0.5598 GB, free: 4.938 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.236e-05/0.41, allocations: 0 / 0.5598 GB, free: 4.938 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.0006448/0.4106, allocations: 384.2 kB / 0.5601 GB, free: 4.527 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.4107, allocations: 8.031 kB / 0.5602 GB, free: 4.52 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.283e-05/0.4107, allocations: 50.73 kB / 0.5602 GB, free: 4.461 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.988e-05/0.4108, allocations: 20.83 kB / 0.5602 GB, free: 4.441 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002351/0.411, allocations: 150.3 kB / 0.5604 GB, free: 4.27 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.708e-05/0.411, allocations: 12.7 kB / 0.5604 GB, free: 4.258 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.905e-05/0.4111, allocations: 20.31 kB / 0.5604 GB, free: 4.238 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000315/0.4114, allocations: 162.2 kB / 0.5605 GB, free: 4.07 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.51e-05/0.4114, allocations: 11.94 kB / 0.5606 GB, free: 4.059 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.033e-05/0.4114, allocations: 7.984 kB / 0.5606 GB, free: 4.051 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.4114, allocations: 4 kB / 0.5606 GB, free: 4.047 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001807/0.4116, allocations: 87.89 kB / 0.5607 GB, free: 3.961 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000924/0.4126, allocations: 0.5618 MB / 0.5612 GB, free: 3.352 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002336/0.4128, allocations: 121.2 kB / 0.5613 GB, free: 3.215 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.972e-05/0.4129, allocations: 49.7 kB / 0.5614 GB, free: 3.16 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.4129, allocations: 4 kB / 0.5614 GB, free: 3.156 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.026e-05/0.4129, allocations: 30.56 kB / 0.5614 GB, free: 3.117 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.273e-06/0.4129, allocations: 0 / 0.5614 GB, free: 3.117 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008356/0.4138, allocations: 235.2 kB / 0.5616 GB, free: 2.875 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.801e-05/0.4138, allocations: 77.11 kB / 0.5617 GB, free: 2.781 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001495/0.414, allocations: 132.8 kB / 0.5618 GB, free: 2.641 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.926e-05/0.414, allocations: 25.7 kB / 0.5618 GB, free: 2.609 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.4141, allocations: 136.1 kB / 0.562 GB, free: 2.473 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.826e-05/0.4142, allocations: 63.48 kB / 0.562 GB, free: 2.41 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.413e-05/0.4142, allocations: 41.7 kB / 0.5621 GB, free: 2.363 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.4144, allocations: 322.8 kB / 0.5624 GB, free: 2.039 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.906e-05/0.4145, allocations: 35.98 kB / 0.5624 GB, free: 2.004 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001302/0.4146, allocations: 100.6 kB / 0.5625 GB, free: 1.875 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002195/0.4148, allocations: 156.5 kB / 0.5627 GB, free: 1.691 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.4148, allocations: 7.938 kB / 0.5627 GB, free: 1.684 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003859/0.4152, allocations: 218.9 kB / 0.5629 GB, free: 1.457 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.4152, allocations: 12.25 kB / 0.5629 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.4153, allocations: 0 / 0.5629 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002337/0.4155, allocations: 45.7 kB / 0.5629 GB, free: 1.395 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000146/0.4156, allocations: 39.91 kB / 0.563 GB, free: 1.355 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002505/0.4181, allocations: 2.787 MB / 0.5657 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.728e-05/0.4182, allocations: 11.92 kB / 0.5657 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.705e-05/0.4182, allocations: 12 kB / 0.5657 GB, free: 14.31 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.0001302/0.4184, allocations: 141.8 kB / 0.5659 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.625e-05/0.4184, allocations: 16.38 kB / 0.5659 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.107e-05/0.4185, allocations: 20.64 kB / 0.5659 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.4185, allocations: 4 kB / 0.5659 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.269e-06/0.4185, allocations: 0 / 0.5659 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.4185, allocations: 0 / 0.5659 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000313/0.4188, allocations: 204.5 kB / 0.5661 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.4188, allocations: 3.984 kB / 0.5661 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001464/0.4189, allocations: 28 kB / 0.5661 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001305/0.4191, allocations: 49.73 kB / 0.5662 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/0.4191, allocations: 7.922 kB / 0.5662 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002443/0.4215, allocations: 2.771 MB / 0.5689 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.4215, allocations: 0 / 0.5689 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004633/0.422, allocations: 372.7 kB / 0.5692 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.525e-05/0.422, allocations: 19.81 kB / 0.5693 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.864e-05/0.422, allocations: 4.125 kB / 0.5693 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001153/0.4222, allocations: 15.98 kB / 0.5693 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.444e-05/0.4222, allocations: 7.984 kB / 0.5693 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.504e-05/0.4222, allocations: 8 kB / 0.5693 GB, free: 10.35 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.664e-05/0.4223, allocations: 95.27 kB / 0.5694 GB, free: 10.25 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4223, allocations: 4 kB / 0.5694 GB, free: 10.25 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004725/0.4228, allocations: 59.89 kB / 0.5694 GB, free: 10.19 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.000804/0.4236, allocations: 0.8907 MB / 0.5703 GB, free: 9.27 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00061/0.4242, allocations: 345.2 kB / 0.5706 GB, free: 8.906 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.4242, allocations: 0 / 0.5706 GB, free: 8.906 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003573/0.4245, allocations: 289.8 kB / 0.5709 GB, free: 8.598 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005536/0.4251, allocations: 38.91 kB / 0.571 GB, free: 8.562 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002957/0.428, allocations: 2.335 MB / 0.5732 GB, free: 6.07 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003923/0.4284, allocations: 0.7281 MB / 0.5739 GB, free: 5.316 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.175e-05/0.4285, allocations: 9.422 kB / 0.574 GB, free: 5.309 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.159e-05/0.4286, allocations: 43.42 kB / 0.574 GB, free: 5.266 MB / 414.1 MB Notification: Performance of SimCode: time 4.5e-07/0.4286, allocations: 0 / 0.574 GB, free: 5.266 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04075/0.4693, allocations: 3.933 MB / 0.5778 GB, free: 1.477 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.16/12.63, allocations: 4.062 kB / 0.5778 GB, free: 1.473 MB / 414.1 MB " [Timeout remaining time 647] (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.724091829964891]