Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.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.001895/0.001895, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.002718/0.002718, allocations: 200.3 kB / 20.74 MB, free: 2.32 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.532/1.532, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.263/0.263, allocations: 46.92 MB / 357.1 MB, free: 10.32 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.Directions,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Rotational_ForUsersGuide_Directions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Rotational_ForUsersGuide_Directions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002008/0.002008, allocations: 67.89 kB / 0.4909 GB, free: 7.996 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1284, allocations: 65.99 MB / 0.5554 GB, free: 5.883 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.004495/0.1329, allocations: 2.858 MB / 0.5582 GB, free: 3.008 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001799/0.1347, allocations: 0.814 MB / 0.5589 GB, free: 2.188 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002283/0.1349, allocations: 11.94 kB / 0.559 GB, free: 2.176 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002422/0.1351, allocations: 67.31 kB / 0.559 GB, free: 2.109 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002842/0.1354, allocations: 122.9 kB / 0.5591 GB, free: 1.988 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000354/0.1358, allocations: 119.8 kB / 0.5593 GB, free: 1.871 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005397/0.1363, allocations: 454.3 kB / 0.5597 GB, free: 1.422 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002932/0.1366, allocations: 142.1 kB / 0.5598 GB, free: 1.277 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003207/0.1369, allocations: 187.3 kB / 0.56 GB, free: 1.094 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002638/0.1372, allocations: 191.1 kB / 0.5602 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.629e-05/0.1373, allocations: 36 kB / 0.5602 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001008/0.1374, allocations: 43.94 kB / 0.5603 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.472e-05/0.1374, allocations: 83.75 kB / 0.5603 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001987/0.1376, allocations: 206.9 kB / 0.5605 GB, free: 0.543 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005671/0.1382, allocations: 454 kB / 0.561 GB, free: 100 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.076e-05/0.1382, allocations: 4 kB / 0.561 GB, free: 96 kB / 414.1 MB Notification: Performance of FrontEnd: time 3.988e-06/0.1382, allocations: 3.984 kB / 0.561 GB, free: 92 kB / 414.1 MB Notification: Performance of Transformations before backend: time 9.198e-06/0.1382, allocations: 0 / 0.561 GB, free: 92 kB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.00124/0.1395, allocations: 0.686 MB / 0.5617 GB, free: 15.35 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/0.1395, allocations: 8.031 kB / 0.5617 GB, free: 15.34 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001031/0.1396, allocations: 82.7 kB / 0.5617 GB, free: 15.25 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003827/0.14, allocations: 72.62 kB / 0.5618 GB, free: 15.18 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005292/0.1405, allocations: 307.4 kB / 0.5621 GB, free: 14.84 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.665e-05/0.1406, allocations: 29.38 kB / 0.5621 GB, free: 14.82 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.034e-05/0.1406, allocations: 40.38 kB / 0.5622 GB, free: 14.78 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007751/0.1414, allocations: 385.1 kB / 0.5625 GB, free: 14.38 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.594e-05/0.1414, allocations: 7.953 kB / 0.5625 GB, free: 14.38 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.513e-05/0.1415, allocations: 20 kB / 0.5626 GB, free: 14.36 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.176e-05/0.1415, allocations: 8 kB / 0.5626 GB, free: 14.35 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005389/0.142, allocations: 243.8 kB / 0.5628 GB, free: 14.11 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001828/0.1438, allocations: 1.105 MB / 0.5639 GB, free: 12.95 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006429/0.1445, allocations: 319.6 kB / 0.5642 GB, free: 12.61 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003138/0.1448, allocations: 166.4 kB / 0.5643 GB, free: 12.43 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.742e-05/0.1448, allocations: 8 kB / 0.5644 GB, free: 12.43 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.604e-05/0.1449, allocations: 34.5 kB / 0.5644 GB, free: 12.38 MB / 430.1 MB Notification: Performance of pre-optimization done (n=39): time 2.094e-06/0.1449, allocations: 4 kB / 0.5644 GB, free: 12.38 MB / 430.1 MB Notification: Performance of matching and sorting (n=57): time 0.004536/0.1494, allocations: 2.455 MB / 0.5668 GB, free: 9.66 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.829e-05/0.1495, allocations: 122.7 kB / 0.5669 GB, free: 9.516 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003274/0.1498, allocations: 242.7 kB / 0.5671 GB, free: 9.27 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.205e-05/0.1499, allocations: 37.7 kB / 0.5672 GB, free: 9.227 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001673/0.15, allocations: 188.9 kB / 0.5673 GB, free: 9.039 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001902/0.1502, allocations: 210.2 kB / 0.5675 GB, free: 8.832 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001491/0.1504, allocations: 86.25 kB / 0.5676 GB, free: 8.738 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002223/0.1506, allocations: 350.7 kB / 0.568 GB, free: 8.387 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002989/0.1509, allocations: 125.1 kB / 0.5681 GB, free: 8.266 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00037/0.1513, allocations: 231.8 kB / 0.5683 GB, free: 8.008 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000695/0.152, allocations: 401.9 kB / 0.5687 GB, free: 7.578 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.152, allocations: 0 / 0.5687 GB, free: 7.578 MB / 430.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001216/0.1532, allocations: 0.554 MB / 0.5692 GB, free: 7.008 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.528e-05/0.1532, allocations: 8 kB / 0.5692 GB, free: 7 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.1532, allocations: 0 / 0.5692 GB, free: 7 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004073/0.1536, allocations: 122.5 kB / 0.5694 GB, free: 6.871 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004124/0.154, allocations: 99.81 kB / 0.5695 GB, free: 6.773 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005239/0.1593, allocations: 5.223 MB / 0.5746 GB, free: 1.133 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003005/0.1596, allocations: 16 kB / 0.5746 GB, free: 1.117 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-05/0.1596, allocations: 23.98 kB / 0.5746 GB, free: 1.094 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (51): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002497/0.1599, allocations: 165.7 kB / 0.5747 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001317/0.16, allocations: 35.77 kB / 0.5748 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001184/0.1601, allocations: 58.17 kB / 0.5748 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.877e-06/0.1602, allocations: 8 kB / 0.5748 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-05/0.1602, allocations: 3.938 kB / 0.5748 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.1602, allocations: 7.984 kB / 0.5749 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002255/0.1624, allocations: 1.311 MB / 0.5761 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-06/0.1624, allocations: 0 / 0.5761 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004285/0.1629, allocations: 99.88 kB / 0.5762 GB, free: 15.33 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003171/0.1632, allocations: 102.5 kB / 0.5763 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.42e-05/0.1632, allocations: 8 kB / 0.5763 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004216/0.1674, allocations: 4.443 MB / 0.5807 GB, free: 10.35 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.1674, allocations: 0 / 0.5807 GB, free: 10.35 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001576/0.169, allocations: 0.9218 MB / 0.5816 GB, free: 9.391 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001625/0.1692, allocations: 116.9 kB / 0.5817 GB, free: 9.258 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.467e-05/0.1692, allocations: 16 kB / 0.5817 GB, free: 9.242 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002911/0.1695, allocations: 15.98 kB / 0.5817 GB, free: 9.227 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001306/0.1696, allocations: 47.81 kB / 0.5818 GB, free: 9.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.706e-05/0.1697, allocations: 16 kB / 0.5818 GB, free: 9.164 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002083/0.1699, allocations: 178 kB / 0.5819 GB, free: 8.992 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1699, allocations: 0 / 0.5819 GB, free: 8.992 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007731/0.1707, allocations: 116 kB / 0.5821 GB, free: 8.879 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (J5.phi,J5.w,J3.phi,J3.w,J1.phi,J1.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 (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,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.001993/0.1726, allocations: 1.476 MB / 0.5835 GB, free: 7.355 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001646/0.1743, allocations: 0.7587 MB / 0.5842 GB, free: 6.559 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.1743, allocations: 0 / 0.5842 GB, free: 6.559 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008929/0.1752, allocations: 0.5724 MB / 0.5848 GB, free: 5.949 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007309/0.1759, allocations: 60.61 kB / 0.5849 GB, free: 5.895 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006766/0.1827, allocations: 4.171 MB / 0.5889 GB, free: 1.535 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005659/0.1833, allocations: 0.8241 MB / 0.5897 GB, free: 0.6797 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001593/0.1834, allocations: 35.27 kB / 0.5898 GB, free: 0.6445 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002184/0.1836, allocations: 127.4 kB / 0.5899 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of SimCode: time 1.252e-06/0.1836, allocations: 0 / 0.5899 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3043/0.4879, allocations: 8.46 MB / 0.5982 GB, free: 34.98 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.51, allocations: 3.656 kB / 0.5982 GB, free: 34.98 MB / 446.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Rotational_ForUsersGuide_Directions_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Rotational_ForUsersGuide_Directions.fmu > ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.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.785457357065752]