Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.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.001921/0.001921, allocations: 121 kB / 18.5 MB, free: 4.562 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.002513/0.002513, allocations: 213.5 kB / 21.45 MB, free: 1.617 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.547/1.547, allocations: 230.6 MB / 254.8 MB, free: 15.23 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.2337/0.2337, allocations: 46.92 MB / 357.8 MB, free: 10.34 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.Directions3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002152/0.002152, allocations: 71.88 kB / 0.4916 GB, free: 7.992 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1247, allocations: 65.98 MB / 0.556 GB, free: 5.879 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.003259/0.128, allocations: 1.671 MB / 0.5577 GB, free: 4.195 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003358/0.1283, allocations: 107.6 kB / 0.5578 GB, free: 4.09 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.701e-05/0.1284, allocations: 3.938 kB / 0.5578 GB, free: 4.086 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 6.626e-05/0.1285, allocations: 19.8 kB / 0.5578 GB, free: 4.066 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001427/0.1286, allocations: 39.7 kB / 0.5578 GB, free: 4.027 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001697/0.1288, allocations: 27.97 kB / 0.5579 GB, free: 4 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002041/0.129, allocations: 127.4 kB / 0.558 GB, free: 3.875 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000154/0.1291, allocations: 29.09 kB / 0.558 GB, free: 3.848 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001211/0.1293, allocations: 47.86 kB / 0.5581 GB, free: 3.801 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.1294, allocations: 51.77 kB / 0.5581 GB, free: 3.75 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.804e-05/0.1294, allocations: 8 kB / 0.5581 GB, free: 3.742 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.539e-05/0.1294, allocations: 12 kB / 0.5581 GB, free: 3.73 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 3.869e-05/0.1295, allocations: 19.94 kB / 0.5582 GB, free: 3.711 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.749e-05/0.1295, allocations: 59.73 kB / 0.5582 GB, free: 3.652 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002137/0.1297, allocations: 123.5 kB / 0.5583 GB, free: 3.531 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.331e-06/0.1298, allocations: 0 / 0.5583 GB, free: 3.531 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1298, allocations: 4 kB / 0.5583 GB, free: 3.527 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.046e-05/0.1298, allocations: 0 / 0.5583 GB, free: 3.527 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0006573/0.1304, allocations: 407.2 kB / 0.5587 GB, free: 3.074 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.1305, allocations: 8.031 kB / 0.5587 GB, free: 3.066 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.799e-05/0.1305, allocations: 8.422 kB / 0.5587 GB, free: 3.059 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.966e-05/0.1305, allocations: 46.73 kB / 0.5588 GB, free: 3.004 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.062e-05/0.1306, allocations: 8.891 kB / 0.5588 GB, free: 2.996 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002253/0.1308, allocations: 208.2 kB / 0.559 GB, free: 2.754 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.1308, allocations: 8.609 kB / 0.559 GB, free: 2.746 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.898e-05/0.1309, allocations: 12.38 kB / 0.559 GB, free: 2.734 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002454/0.1311, allocations: 135.6 kB / 0.5591 GB, free: 2.594 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.396e-05/0.1311, allocations: 11.94 kB / 0.5591 GB, free: 2.582 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.757e-05/0.1312, allocations: 7.938 kB / 0.5592 GB, free: 2.574 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.076e-06/0.1312, allocations: 4 kB / 0.5592 GB, free: 2.57 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001319/0.1313, allocations: 51.97 kB / 0.5592 GB, free: 2.52 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008619/0.1322, allocations: 0.5374 MB / 0.5597 GB, free: 1.922 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001567/0.1323, allocations: 89.11 kB / 0.5598 GB, free: 1.816 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.833e-05/0.1324, allocations: 25.8 kB / 0.5598 GB, free: 1.785 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.456e-05/0.1324, allocations: 0 / 0.5598 GB, free: 1.785 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.563e-05/0.1324, allocations: 42.5 kB / 0.5599 GB, free: 1.734 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.433e-06/0.1324, allocations: 0 / 0.5599 GB, free: 1.734 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007511/0.1332, allocations: 301.8 kB / 0.5602 GB, free: 1.391 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.227e-05/0.1332, allocations: 77.11 kB / 0.5602 GB, free: 1.297 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.1334, allocations: 125.8 kB / 0.5604 GB, free: 1.164 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/0.1334, allocations: 25.7 kB / 0.5604 GB, free: 1.133 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.6e-05/0.1335, allocations: 119.8 kB / 0.5605 GB, free: 1.012 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.237e-05/0.1335, allocations: 31.73 kB / 0.5605 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.311e-05/0.1335, allocations: 29.72 kB / 0.5606 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.1337, allocations: 330.7 kB / 0.5609 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.862e-05/0.1337, allocations: 23.98 kB / 0.5609 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.138e-05/0.1338, allocations: 88.52 kB / 0.561 GB, free: 484 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001527/0.134, allocations: 120.5 kB / 0.5611 GB, free: 332 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.134, allocations: 4 kB / 0.5611 GB, free: 328 kB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002966/0.1343, allocations: 163.1 kB / 0.5613 GB, free: 152 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.1343, allocations: 7.938 kB / 0.5613 GB, free: 144 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.1343, allocations: 4 kB / 0.5613 GB, free: 140 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002012/0.1345, allocations: 41.95 kB / 0.5613 GB, free: 92 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.617e-05/0.1346, allocations: 27.92 kB / 0.5613 GB, free: 64 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002247/0.1369, allocations: 2.727 MB / 0.564 GB, free: 13.05 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.382e-05/0.1369, allocations: 19.92 kB / 0.564 GB, free: 13.04 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.588e-05/0.137, allocations: 11.94 kB / 0.564 GB, free: 13.02 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 (14): * Single equations (assignments): 12 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001312/0.1371, allocations: 121.8 kB / 0.5641 GB, free: 12.89 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.459e-05/0.1371, allocations: 7.938 kB / 0.5642 GB, free: 12.89 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.049e-05/0.1372, allocations: 15.91 kB / 0.5642 GB, free: 12.87 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.1372, allocations: 0 / 0.5642 GB, free: 12.87 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.1372, allocations: 4 kB / 0.5642 GB, free: 12.86 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.1372, allocations: 3.984 kB / 0.5642 GB, free: 12.86 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003006/0.1375, allocations: 205.5 kB / 0.5644 GB, free: 12.61 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.92e-06/0.1375, allocations: 4 kB / 0.5644 GB, free: 12.61 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.857e-05/0.1376, allocations: 11.98 kB / 0.5644 GB, free: 12.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001259/0.1377, allocations: 45.58 kB / 0.5644 GB, free: 12.54 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.858e-06/0.1377, allocations: 0 / 0.5644 GB, free: 12.54 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002119/0.1398, allocations: 2.73 MB / 0.5671 GB, free: 9.531 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.1398, allocations: 4.031 kB / 0.5671 GB, free: 9.527 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003251/0.1402, allocations: 300.3 kB / 0.5674 GB, free: 9.211 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.689e-05/0.1402, allocations: 85.14 kB / 0.5675 GB, free: 9.109 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.694e-05/0.1402, allocations: 8 kB / 0.5675 GB, free: 9.102 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.26e-05/0.1403, allocations: 0 / 0.5675 GB, free: 9.102 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.429e-05/0.1404, allocations: 12 kB / 0.5675 GB, free: 9.09 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.1404, allocations: 11.98 kB / 0.5675 GB, free: 9.078 MB / 430.1 MB Notification: Performance of sorting global known variables: time 6.766e-05/0.1404, allocations: 87.28 kB / 0.5676 GB, free: 8.992 MB / 430.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1404, allocations: 0 / 0.5676 GB, free: 8.992 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000397/0.1408, allocations: 43.83 kB / 0.5676 GB, free: 8.949 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (J1.w,J2.phi,J3.w,J4.phi) * 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 (6): * Single equations (assignments): 4 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007128/0.1415, allocations: 0.8322 MB / 0.5684 GB, free: 8.086 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005218/0.1421, allocations: 309.8 kB / 0.5687 GB, free: 7.758 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.1421, allocations: 4.125 kB / 0.5687 GB, free: 7.754 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002859/0.1424, allocations: 253.4 kB / 0.569 GB, free: 7.48 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005004/0.1429, allocations: 32.06 kB / 0.569 GB, free: 7.449 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002441/0.1453, allocations: 1.983 MB / 0.5709 GB, free: 5.32 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003623/0.1457, allocations: 0.7045 MB / 0.5716 GB, free: 4.59 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.385e-05/0.1457, allocations: 16.86 kB / 0.5716 GB, free: 4.57 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.786e-05/0.1458, allocations: 27.44 kB / 0.5717 GB, free: 4.543 MB / 430.1 MB Notification: Performance of SimCode: time 1.162e-06/0.1458, allocations: 0 / 0.5717 GB, free: 4.543 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02646/0.1722, allocations: 3.077 MB / 0.5747 GB, free: 1.613 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.73/10.9, allocations: 6.812 kB / 0.5747 GB, free: 1.609 MB / 430.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Rotational_ForUsersGuide_Directions3_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Rotational_ForUsersGuide_Directions3.fmu > ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.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.215573982975911]