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.001926/0.001926, allocations: 121 kB / 18.49 MB, free: 4.586 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.001774/0.001774, allocations: 213.5 kB / 21.45 MB, free: 1.641 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.653/1.653, allocations: 230.6 MB / 254.8 MB, free: 15.08 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.2362/0.2362, allocations: 44.92 MB / 355.8 MB, free: 12.3 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="cs",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.002224/0.002224, allocations: 67.89 kB / 0.4885 GB, free: 11.69 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1299, allocations: 65.43 MB / 0.5524 GB, free: 10.13 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003222/0.1331, allocations: 1.867 MB / 0.5542 GB, free: 8.254 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004882/0.1336, allocations: 147.5 kB / 0.5544 GB, free: 8.109 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.749e-05/0.1337, allocations: 8 kB / 0.5544 GB, free: 8.102 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 7.706e-05/0.1337, allocations: 23.72 kB / 0.5544 GB, free: 8.078 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001546/0.1339, allocations: 51.55 kB / 0.5545 GB, free: 8.027 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001646/0.1341, allocations: 39.95 kB / 0.5545 GB, free: 7.988 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002333/0.1343, allocations: 187.1 kB / 0.5547 GB, free: 7.805 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001716/0.1345, allocations: 45.52 kB / 0.5547 GB, free: 7.762 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001187/0.1346, allocations: 67.8 kB / 0.5548 GB, free: 7.695 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001381/0.1347, allocations: 67.7 kB / 0.5549 GB, free: 7.629 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.482e-05/0.1348, allocations: 16 kB / 0.5549 GB, free: 7.613 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.959e-05/0.1348, allocations: 20 kB / 0.5549 GB, free: 7.594 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.46e-05/0.1348, allocations: 39.83 kB / 0.5549 GB, free: 7.555 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.248e-05/0.1349, allocations: 83.55 kB / 0.555 GB, free: 7.473 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003112/0.1352, allocations: 183.5 kB / 0.5552 GB, free: 7.293 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.1353, allocations: 0 / 0.5552 GB, free: 7.293 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1353, allocations: 0 / 0.5552 GB, free: 7.293 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.604e-06/0.1353, allocations: 0 / 0.5552 GB, free: 7.293 MB / 414.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.0007375/0.136, allocations: 453.2 kB / 0.5556 GB, free: 6.797 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.136, allocations: 12.03 kB / 0.5556 GB, free: 6.785 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.129e-05/0.1361, allocations: 12.5 kB / 0.5556 GB, free: 6.773 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.376e-05/0.1361, allocations: 46.73 kB / 0.5557 GB, free: 6.719 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.645e-05/0.1362, allocations: 20.84 kB / 0.5557 GB, free: 6.699 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002633/0.1364, allocations: 212 kB / 0.5559 GB, free: 6.453 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.631e-05/0.1365, allocations: 12.7 kB / 0.5559 GB, free: 6.441 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.8e-05/0.1365, allocations: 20.33 kB / 0.5559 GB, free: 6.422 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003291/0.1368, allocations: 173.9 kB / 0.5561 GB, free: 6.242 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.67e-05/0.1369, allocations: 7.938 kB / 0.5561 GB, free: 6.234 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.153e-05/0.1369, allocations: 12 kB / 0.5561 GB, free: 6.223 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/0.1369, allocations: 8 kB / 0.5561 GB, free: 6.215 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001684/0.1371, allocations: 86.12 kB / 0.5562 GB, free: 6.133 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009446/0.138, allocations: 0.6073 MB / 0.5568 GB, free: 5.465 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002426/0.1382, allocations: 133.1 kB / 0.5569 GB, free: 5.316 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.583e-05/0.1383, allocations: 49.7 kB / 0.557 GB, free: 5.262 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.968e-05/0.1384, allocations: 4 kB / 0.557 GB, free: 5.258 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/0.1384, allocations: 34.69 kB / 0.557 GB, free: 5.215 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.703e-06/0.1384, allocations: 0 / 0.557 GB, free: 5.215 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008929/0.1393, allocations: 377.3 kB / 0.5574 GB, free: 4.797 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.039e-05/0.1393, allocations: 81.11 kB / 0.5575 GB, free: 4.699 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001487/0.1395, allocations: 132.4 kB / 0.5576 GB, free: 4.559 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.361e-05/0.1395, allocations: 29.7 kB / 0.5576 GB, free: 4.523 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.1396, allocations: 132.2 kB / 0.5577 GB, free: 4.391 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.347e-05/0.1397, allocations: 63.47 kB / 0.5578 GB, free: 4.328 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.106e-05/0.1397, allocations: 37.7 kB / 0.5578 GB, free: 4.285 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.1399, allocations: 322.8 kB / 0.5581 GB, free: 3.961 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.357e-05/0.14, allocations: 35.98 kB / 0.5582 GB, free: 3.926 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001243/0.1401, allocations: 112.5 kB / 0.5583 GB, free: 3.785 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002068/0.1403, allocations: 144.5 kB / 0.5584 GB, free: 3.613 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/0.1403, allocations: 4 kB / 0.5584 GB, free: 3.609 MB / 414.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004026/0.1407, allocations: 227.4 kB / 0.5586 GB, free: 3.375 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.1407, allocations: 8 kB / 0.5586 GB, free: 3.367 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.1407, allocations: 0 / 0.5586 GB, free: 3.367 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002444/0.141, allocations: 53.62 kB / 0.5587 GB, free: 3.309 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001412/0.1411, allocations: 31.98 kB / 0.5587 GB, free: 3.277 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002731/0.1439, allocations: 2.99 MB / 0.5616 GB, free: 4 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001288/0.144, allocations: 24.06 kB / 0.5617 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.552e-05/0.144, allocations: 8 kB / 0.5617 GB, free: 15.97 MB / 430.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.0001585/0.1442, allocations: 137.7 kB / 0.5618 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.454e-05/0.1442, allocations: 15.66 kB / 0.5618 GB, free: 15.81 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.593e-05/0.1442, allocations: 16.72 kB / 0.5618 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.732e-06/0.1443, allocations: 4 kB / 0.5618 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.1443, allocations: 4.062 kB / 0.5618 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.1443, allocations: 8.016 kB / 0.5619 GB, free: 15.78 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003271/0.1446, allocations: 229.6 kB / 0.5621 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.1446, allocations: 3.984 kB / 0.5621 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001554/0.1447, allocations: 27.92 kB / 0.5621 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001701/0.1449, allocations: 53.62 kB / 0.5622 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.1449, allocations: 0 / 0.5622 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002603/0.1475, allocations: 2.982 MB / 0.5651 GB, free: 12.16 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.1475, allocations: 160 / 0.5651 GB, free: 12.16 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005481/0.1481, allocations: 380.4 kB / 0.5654 GB, free: 11.77 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.033e-05/0.1482, allocations: 85.06 kB / 0.5655 GB, free: 11.66 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.225e-05/0.1482, allocations: 12 kB / 0.5655 GB, free: 11.65 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.1483, allocations: 0 / 0.5655 GB, free: 11.65 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.005e-05/0.1483, allocations: 15.98 kB / 0.5655 GB, free: 11.64 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.975e-05/0.1483, allocations: 7.984 kB / 0.5655 GB, free: 11.63 MB / 430.1 MB Notification: Performance of sorting global known variables: time 7.868e-05/0.1484, allocations: 95.27 kB / 0.5656 GB, free: 11.54 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1484, allocations: 0 / 0.5656 GB, free: 11.54 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004775/0.1489, allocations: 59.89 kB / 0.5657 GB, free: 11.48 MB / 430.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.0008536/0.1498, allocations: 0.8958 MB / 0.5666 GB, free: 10.55 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006666/0.1504, allocations: 361.6 kB / 0.5669 GB, free: 10.17 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.1504, allocations: 0 / 0.5669 GB, free: 10.17 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003661/0.1508, allocations: 277.3 kB / 0.5672 GB, free: 9.875 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005447/0.1513, allocations: 30.08 kB / 0.5672 GB, free: 9.848 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003009/0.1543, allocations: 2.338 MB / 0.5695 GB, free: 7.352 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004137/0.1548, allocations: 0.7242 MB / 0.5702 GB, free: 6.602 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.039e-05/0.1548, allocations: 5.438 kB / 0.5702 GB, free: 6.598 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.732e-05/0.1549, allocations: 43.42 kB / 0.5702 GB, free: 6.555 MB / 430.1 MB Notification: Performance of SimCode: time 8.72e-07/0.1549, allocations: 0 / 0.5702 GB, free: 6.555 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02831/0.1832, allocations: 3.844 MB / 0.574 GB, free: 2.91 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11, allocations: 2.188 kB / 0.574 GB, free: 2.91 MB / 430.1 MB " [Timeout remaining time 649] (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: 14.383008948003408]