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.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.0008997/0.0008997, allocations: 80.48 kB / 19.92 MB, free: 4.633 MB / 18.57 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.0008385/0.0008385, allocations: 170.3 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.9079/0.9079, allocations: 158.6 MB / 185 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] 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.1374/0.1374, allocations: 32.38 MB / 269.6 MB, free: 14.95 MB / 266.7 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.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_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: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 406.8 MB, free: 2.25 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.617e-05/2.758e-05, allocations: 13.81 kB / 406.8 MB, free: 2.238 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.002087/0.002115, allocations: 1.76 MB / 408.6 MB, free: 480 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002695/0.002384, allocations: 151.4 kB / 408.7 MB, free: 328 kB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.163e-05/0.002446, allocations: 0 / 408.7 MB, free: 328 kB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 5.463e-05/0.002501, allocations: 31.72 kB / 408.8 MB, free: 296 kB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001023/0.002603, allocations: 55.55 kB / 408.8 MB, free: 240 kB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001198/0.002723, allocations: 39.89 kB / 408.9 MB, free: 200 kB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001367/0.002859, allocations: 191 kB / 409.1 MB, free: 8 kB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000143/0.003002, allocations: 41.73 kB / 409.1 MB, free: 15.96 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001063/0.003109, allocations: 103.8 kB / 409.2 MB, free: 15.86 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.211e-05/0.003191, allocations: 55.81 kB / 409.2 MB, free: 15.81 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.805e-05/0.003219, allocations: 12 kB / 409.3 MB, free: 15.8 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.325e-05/0.003242, allocations: 16 kB / 409.3 MB, free: 15.78 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 3.35e-05/0.003276, allocations: 35.89 kB / 409.3 MB, free: 15.75 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 5.893e-05/0.003335, allocations: 63.84 kB / 409.4 MB, free: 15.68 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001754/0.00351, allocations: 183.4 kB / 409.6 MB, free: 15.5 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.003512, allocations: 0 / 409.6 MB, free: 15.5 MB / 394.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.003513, allocations: 0 / 409.6 MB, free: 15.5 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.003518, allocations: 0 / 409.6 MB, free: 15.5 MB / 394.7 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.000432/0.003949, allocations: 374 kB / 409.9 MB, free: 15.1 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.197e-05/0.004001, allocations: 12.03 kB / 409.9 MB, free: 15.09 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.056e-05/0.004042, allocations: 50.73 kB / 410 MB, free: 15.03 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.068e-05/0.004073, allocations: 20.8 kB / 410 MB, free: 15.01 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001537/0.004226, allocations: 153.5 kB / 410.1 MB, free: 14.84 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.00424, allocations: 16.7 kB / 410.2 MB, free: 14.82 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.371e-05/0.004274, allocations: 16.38 kB / 410.2 MB, free: 14.8 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002395/0.004513, allocations: 174.1 kB / 410.4 MB, free: 14.62 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.004529, allocations: 192 / 410.4 MB, free: 14.62 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.55e-05/0.004544, allocations: 4.375 kB / 410.4 MB, free: 14.62 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.004553, allocations: 8.125 kB / 410.4 MB, free: 14.61 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001612/0.004714, allocations: 99.88 kB / 410.5 MB, free: 14.52 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006427/0.005357, allocations: 0.5228 MB / 411 MB, free: 13.95 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001588/0.005516, allocations: 133.3 kB / 411.1 MB, free: 13.8 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.451e-05/0.00557, allocations: 53.64 kB / 411.2 MB, free: 13.74 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.211e-05/0.005583, allocations: 4 kB / 411.2 MB, free: 13.73 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.929e-05/0.005602, allocations: 34.56 kB / 411.2 MB, free: 13.69 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 1.192e-06/0.005603, allocations: 0 / 411.2 MB, free: 13.69 MB / 394.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005798/0.006183, allocations: 223.1 kB / 411.4 MB, free: 13.46 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.753e-05/0.00622, allocations: 77.11 kB / 411.5 MB, free: 13.37 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.023e-05/0.006301, allocations: 138.1 kB / 411.6 MB, free: 13.22 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.512e-05/0.006316, allocations: 25.7 kB / 411.7 MB, free: 13.19 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.623e-05/0.006372, allocations: 132.3 kB / 411.8 MB, free: 13.05 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.828e-05/0.0064, allocations: 55.48 kB / 411.8 MB, free: 13 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.852e-05/0.006439, allocations: 37.72 kB / 411.9 MB, free: 12.95 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.536e-05/0.006514, allocations: 318.8 kB / 412.2 MB, free: 12.63 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.595e-05/0.00656, allocations: 43.92 kB / 412.2 MB, free: 12.59 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.388e-05/0.006634, allocations: 108.4 kB / 412.3 MB, free: 12.45 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001298/0.006764, allocations: 152.8 kB / 412.5 MB, free: 12.27 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.006766, allocations: 3.938 kB / 412.5 MB, free: 12.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002507/0.007017, allocations: 226.9 kB / 412.7 MB, free: 12.04 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.007031, allocations: 7.984 kB / 412.7 MB, free: 12.03 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.942e-06/0.007037, allocations: 4 kB / 412.7 MB, free: 12.02 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001495/0.007187, allocations: 49.7 kB / 412.8 MB, free: 11.97 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.479e-05/0.007281, allocations: 36.17 kB / 412.8 MB, free: 11.93 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00146/0.008742, allocations: 2.768 MB / 415.6 MB, free: 8.938 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.33e-05/0.008785, allocations: 19.81 kB / 415.6 MB, free: 8.918 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-06/0.008793, allocations: 12 kB / 415.6 MB, free: 8.906 MB / 394.7 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.499e-05/0.008878, allocations: 130 kB / 415.7 MB, free: 8.77 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.485e-05/0.008903, allocations: 15.89 kB / 415.7 MB, free: 8.754 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.127e-05/0.008925, allocations: 12.78 kB / 415.8 MB, free: 8.742 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-06/0.008927, allocations: 4 kB / 415.8 MB, free: 8.738 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.008934, allocations: 7.938 kB / 415.8 MB, free: 8.73 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.495e-06/0.008942, allocations: 7.984 kB / 415.8 MB, free: 8.723 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002227/0.009164, allocations: 192.7 kB / 416 MB, free: 8.492 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.009166, allocations: 0 / 416 MB, free: 8.492 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.393e-05/0.00926, allocations: 27.98 kB / 416 MB, free: 8.465 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.396e-05/0.009354, allocations: 49.69 kB / 416 MB, free: 8.41 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.009364, allocations: 4 kB / 416 MB, free: 8.406 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001394/0.01076, allocations: 2.771 MB / 418.8 MB, free: 5.406 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.01076, allocations: 4.031 kB / 418.8 MB, free: 5.402 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002764/0.01104, allocations: 368.4 kB / 419.2 MB, free: 5.02 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.927e-06/0.01105, allocations: 7.953 kB / 419.2 MB, free: 5.012 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.232e-05/0.01106, allocations: 8.062 kB / 419.2 MB, free: 5.004 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.098e-05/0.01112, allocations: 0 / 419.2 MB, free: 5.004 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.632e-05/0.01115, allocations: 24.06 kB / 419.2 MB, free: 4.98 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.01115, allocations: 11.98 kB / 419.2 MB, free: 4.969 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.87e-05/0.0112, allocations: 99.06 kB / 419.3 MB, free: 4.875 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0112, allocations: 96 / 419.3 MB, free: 4.875 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002822/0.01148, allocations: 63.89 kB / 419.4 MB, free: 4.812 MB / 394.7 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.0004228/0.01191, allocations: 0.8929 MB / 420.3 MB, free: 3.887 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003984/0.01231, allocations: 353.6 kB / 420.6 MB, free: 3.516 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.01231, allocations: 0 / 420.6 MB, free: 3.516 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001633/0.01247, allocations: 285.3 kB / 420.9 MB, free: 3.211 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003488/0.01282, allocations: 31.91 kB / 420.9 MB, free: 3.18 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001873/0.01469, allocations: 2.185 MB / 423.1 MB, free: 0.8359 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.922e-05/0.01479, allocations: 112.3 kB / 423.2 MB, free: 0.707 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.947e-05/0.01484, allocations: 13.47 kB / 423.3 MB, free: 0.6875 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.179e-05/0.0149, allocations: 48.48 kB / 423.3 MB, free: 0.6406 MB / 394.7 MB Notification: Performance of SimCode: time 9.52e-07/0.0149, allocations: 4 kB / 423.3 MB, free: 0.6367 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02044/0.03535, allocations: 4.569 MB / 427.9 MB, free: 12.05 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.359/7.394, allocations: 11.92 kB / 427.9 MB, free: 12.04 MB / 410.7 MB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_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.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/ConnectionPossibilities/ConnectionPossibilities.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.csv. Warning: Get data of variable inertia1.phi from file ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.csv failed! Error: Could not read variable inertia4.w in file ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.csv. Warning: Get data of variable inertia4.w from file ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.579311360605061]