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.001795/0.001795, allocations: 115.6 kB / 20.43 MB, free: 1.457 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.00241/0.00241, allocations: 214.1 kB / 23.75 MB, free: 4.668 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.587/1.587, allocations: 230.6 MB / 257.5 MB, free: 8 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.2541/0.2541, allocations: 44.91 MB / 358.8 MB, free: 6.246 MB / 286.1 MB " [Timeout remaining time 180] 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.002072/0.002072, allocations: 71.88 kB / 0.4931 GB, free: 10.69 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3763/0.3784, allocations: 65.47 MB / 0.557 GB, free: 7.496 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003414/0.3818, allocations: 1.87 MB / 0.5588 GB, free: 5.863 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004527/0.3823, allocations: 147.5 kB / 0.559 GB, free: 5.719 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.498e-05/0.3823, allocations: 7.938 kB / 0.559 GB, free: 5.711 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.774e-05/0.3824, allocations: 19.8 kB / 0.559 GB, free: 5.691 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001589/0.3826, allocations: 55.55 kB / 0.5591 GB, free: 5.637 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001649/0.3827, allocations: 35.89 kB / 0.5591 GB, free: 5.602 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002387/0.383, allocations: 191.1 kB / 0.5593 GB, free: 5.414 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001548/0.3831, allocations: 37.73 kB / 0.5593 GB, free: 5.375 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000118/0.3832, allocations: 75.7 kB / 0.5594 GB, free: 5.301 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001386/0.3834, allocations: 71.7 kB / 0.5595 GB, free: 5.23 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.357e-05/0.3834, allocations: 16 kB / 0.5595 GB, free: 5.215 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.844e-05/0.3834, allocations: 16 kB / 0.5595 GB, free: 5.199 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.827e-05/0.3835, allocations: 35.86 kB / 0.5595 GB, free: 5.164 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.816e-05/0.3836, allocations: 87.58 kB / 0.5596 GB, free: 5.078 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002652/0.3838, allocations: 181.1 kB / 0.5598 GB, free: 4.902 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.3838, allocations: 0 / 0.5598 GB, free: 4.902 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.3839, allocations: 0 / 0.5598 GB, free: 4.902 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.199e-05/0.3839, allocations: 0 / 0.5598 GB, free: 4.902 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.0006416/0.3845, allocations: 382 kB / 0.5601 GB, free: 4.492 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.3846, allocations: 12.03 kB / 0.5602 GB, free: 4.48 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.857e-05/0.3846, allocations: 46.73 kB / 0.5602 GB, free: 4.426 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.83e-05/0.3847, allocations: 20.84 kB / 0.5602 GB, free: 4.406 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002414/0.3849, allocations: 154.2 kB / 0.5604 GB, free: 4.23 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.3849, allocations: 12.64 kB / 0.5604 GB, free: 4.219 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.758e-05/0.385, allocations: 20.33 kB / 0.5604 GB, free: 4.199 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00032/0.3853, allocations: 166.2 kB / 0.5606 GB, free: 4.027 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.965e-05/0.3853, allocations: 3.938 kB / 0.5606 GB, free: 4.023 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.531e-05/0.3853, allocations: 12 kB / 0.5606 GB, free: 4.012 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.3853, allocations: 8 kB / 0.5606 GB, free: 4.004 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000175/0.3855, allocations: 87.83 kB / 0.5607 GB, free: 3.918 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000919/0.3864, allocations: 0.5541 MB / 0.5612 GB, free: 3.316 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002389/0.3867, allocations: 125.2 kB / 0.5613 GB, free: 3.176 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.224e-05/0.3868, allocations: 57.62 kB / 0.5614 GB, free: 3.113 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.803e-05/0.3868, allocations: 4.125 kB / 0.5614 GB, free: 3.109 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/0.3868, allocations: 34.56 kB / 0.5614 GB, free: 3.066 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.723e-06/0.3868, allocations: 0 / 0.5614 GB, free: 3.066 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008037/0.3876, allocations: 223.1 kB / 0.5616 GB, free: 2.836 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.75e-05/0.3877, allocations: 81.11 kB / 0.5617 GB, free: 2.738 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/0.3878, allocations: 129.1 kB / 0.5618 GB, free: 2.602 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.387e-05/0.3879, allocations: 33.7 kB / 0.5619 GB, free: 2.562 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.388, allocations: 128.2 kB / 0.562 GB, free: 2.434 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.637e-05/0.388, allocations: 63.45 kB / 0.562 GB, free: 2.371 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.946e-05/0.3881, allocations: 37.72 kB / 0.5621 GB, free: 2.328 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.3882, allocations: 322.8 kB / 0.5624 GB, free: 2.004 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.458e-05/0.3883, allocations: 35.98 kB / 0.5624 GB, free: 1.969 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001242/0.3884, allocations: 108.5 kB / 0.5625 GB, free: 1.832 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002222/0.3886, allocations: 164.6 kB / 0.5627 GB, free: 1.641 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.3886, allocations: 0 / 0.5627 GB, free: 1.641 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000403/0.3891, allocations: 219.5 kB / 0.5629 GB, free: 1.414 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.3891, allocations: 7.938 kB / 0.5629 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/0.3891, allocations: 4 kB / 0.5629 GB, free: 1.402 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002745/0.3894, allocations: 49.69 kB / 0.5629 GB, free: 1.348 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001582/0.3895, allocations: 32.08 kB / 0.563 GB, free: 1.316 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002684/0.3922, allocations: 2.799 MB / 0.5657 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001026/0.3923, allocations: 12.05 kB / 0.5657 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.702e-05/0.3923, allocations: 16 kB / 0.5657 GB, free: 14.26 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.0001486/0.3925, allocations: 125.8 kB / 0.5659 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.737e-05/0.3925, allocations: 11.91 kB / 0.5659 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.64e-05/0.3926, allocations: 24.59 kB / 0.5659 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.3926, allocations: 0 / 0.5659 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.3926, allocations: 4 kB / 0.5659 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.603e-06/0.3926, allocations: 3.984 kB / 0.5659 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003223/0.3929, allocations: 208.6 kB / 0.5661 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.3929, allocations: 0 / 0.5661 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001815/0.3931, allocations: 27.92 kB / 0.5661 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001708/0.3933, allocations: 49.69 kB / 0.5662 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.665e-05/0.3933, allocations: 7.938 kB / 0.5662 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002429/0.3957, allocations: 2.771 MB / 0.5689 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.3957, allocations: 3.984 kB / 0.5689 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004777/0.3962, allocations: 376.5 kB / 0.5693 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.453e-05/0.3962, allocations: 11.89 kB / 0.5693 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.576e-05/0.3962, allocations: 128 / 0.5693 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001147/0.3963, allocations: 16 kB / 0.5693 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.637e-05/0.3964, allocations: 11.97 kB / 0.5693 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.3964, allocations: 8 kB / 0.5693 GB, free: 10.3 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.657e-05/0.3965, allocations: 103.2 kB / 0.5694 GB, free: 10.2 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3965, allocations: 0 / 0.5694 GB, free: 10.2 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005186/0.397, allocations: 55.89 kB / 0.5694 GB, free: 10.15 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.0008472/0.3978, allocations: 0.8954 MB / 0.5703 GB, free: 9.223 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006513/0.3985, allocations: 341.7 kB / 0.5706 GB, free: 8.863 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3985, allocations: 64 / 0.5706 GB, free: 8.863 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003502/0.3988, allocations: 293.4 kB / 0.5709 GB, free: 8.551 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005378/0.3994, allocations: 26.66 kB / 0.571 GB, free: 8.527 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003142/0.4025, allocations: 2.33 MB / 0.5732 GB, free: 6.039 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004849/0.403, allocations: 0.7281 MB / 0.5739 GB, free: 5.285 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.604e-05/0.4031, allocations: 13.36 kB / 0.574 GB, free: 5.273 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.731e-05/0.4032, allocations: 39.42 kB / 0.574 GB, free: 5.234 MB / 414.1 MB Notification: Performance of SimCode: time 2.154e-06/0.4032, allocations: 0 / 0.574 GB, free: 5.234 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03788/0.4411, allocations: 3.945 MB / 0.5778 GB, free: 1.434 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12/12.44, allocations: 6.219 kB / 0.5778 GB, free: 1.43 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 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.csv","/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] "Error: Could not read variable inertia1.phi in file ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.csv. Warning: Get data of variable inertia1.phi from file ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.csv failed! Error: Could not read variable inertia4.w in file ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.csv. Warning: Get data of variable inertia4.w from file ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.768475109995052]