Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001585/0.001585, allocations: 112.4 kB / 18.5 MB, free: 4.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0019/0.0019, allocations: 204.9 kB / 21.46 MB, free: 1.629 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.521/1.521, allocations: 230.2 MB / 254.5 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.234/0.234, allocations: 46.91 MB / 357.4 MB, free: 10.48 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002324/0.002324, allocations: 75.88 kB / 0.4912 GB, free: 8.352 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1412, allocations: 65.99 MB / 0.5557 GB, free: 6.23 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.003053/0.1443, allocations: 1.682 MB / 0.5573 GB, free: 4.531 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003173/0.1446, allocations: 103.6 kB / 0.5574 GB, free: 4.43 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.626e-05/0.1447, allocations: 4 kB / 0.5574 GB, free: 4.426 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 6.031e-05/0.1447, allocations: 11.86 kB / 0.5574 GB, free: 4.414 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000125/0.1448, allocations: 47.62 kB / 0.5575 GB, free: 4.367 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001534/0.145, allocations: 19.98 kB / 0.5575 GB, free: 4.348 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000173/0.1452, allocations: 131.4 kB / 0.5576 GB, free: 4.219 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001374/0.1453, allocations: 29.11 kB / 0.5576 GB, free: 4.191 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.093e-05/0.1454, allocations: 43.86 kB / 0.5577 GB, free: 4.148 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001033/0.1455, allocations: 51.77 kB / 0.5577 GB, free: 4.098 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.451e-05/0.1455, allocations: 12 kB / 0.5577 GB, free: 4.086 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.156e-05/0.1455, allocations: 12 kB / 0.5578 GB, free: 4.074 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 2.884e-05/0.1456, allocations: 23.92 kB / 0.5578 GB, free: 4.051 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.942e-05/0.1456, allocations: 55.73 kB / 0.5578 GB, free: 3.996 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002075/0.1458, allocations: 127.5 kB / 0.558 GB, free: 3.871 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1459, allocations: 0 / 0.558 GB, free: 3.871 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1459, allocations: 0 / 0.558 GB, free: 3.871 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.1459, allocations: 0 / 0.558 GB, free: 3.871 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.0005918/0.1465, allocations: 411.1 kB / 0.5583 GB, free: 3.414 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.1465, allocations: 8.031 kB / 0.5584 GB, free: 3.406 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.386e-05/0.1465, allocations: 50.73 kB / 0.5584 GB, free: 3.348 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.662e-05/0.1466, allocations: 12.89 kB / 0.5584 GB, free: 3.336 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002153/0.1468, allocations: 196.2 kB / 0.5586 GB, free: 3.105 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/0.1468, allocations: 8.594 kB / 0.5586 GB, free: 3.098 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.632e-05/0.1469, allocations: 20.38 kB / 0.5586 GB, free: 3.078 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002391/0.1471, allocations: 125.5 kB / 0.5587 GB, free: 2.945 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.915e-05/0.1471, allocations: 7.891 kB / 0.5588 GB, free: 2.938 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.1471, allocations: 4 kB / 0.5588 GB, free: 2.934 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.1471, allocations: 4 kB / 0.5588 GB, free: 2.93 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001244/0.1473, allocations: 67.89 kB / 0.5588 GB, free: 2.863 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008173/0.1481, allocations: 0.5296 MB / 0.5593 GB, free: 2.273 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000155/0.1482, allocations: 85.06 kB / 0.5594 GB, free: 2.172 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.095e-05/0.1483, allocations: 33.83 kB / 0.5595 GB, free: 2.133 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.583e-05/0.1483, allocations: 4 kB / 0.5595 GB, free: 2.129 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.094e-05/0.1483, allocations: 30.56 kB / 0.5595 GB, free: 2.09 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.863e-06/0.1483, allocations: 0 / 0.5595 GB, free: 2.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006896/0.149, allocations: 309.4 kB / 0.5598 GB, free: 1.738 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.505e-05/0.1491, allocations: 81.11 kB / 0.5599 GB, free: 1.641 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.1492, allocations: 121.7 kB / 0.56 GB, free: 1.512 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/0.1492, allocations: 33.64 kB / 0.56 GB, free: 1.473 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.21e-05/0.1493, allocations: 119.8 kB / 0.5601 GB, free: 1.352 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.966e-05/0.1493, allocations: 31.73 kB / 0.5602 GB, free: 1.32 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.108e-05/0.1494, allocations: 29.7 kB / 0.5602 GB, free: 1.285 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.1496, allocations: 326.8 kB / 0.5605 GB, free: 0.957 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.785e-05/0.1496, allocations: 23.98 kB / 0.5605 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001025/0.1497, allocations: 84.52 kB / 0.5606 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001529/0.1499, allocations: 124.5 kB / 0.5607 GB, free: 0.668 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.1499, allocations: 4 kB / 0.5607 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003096/0.1502, allocations: 163.1 kB / 0.5609 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.1502, allocations: 8 kB / 0.5609 GB, free: 496 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.1502, allocations: 7.938 kB / 0.5609 GB, free: 488 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001966/0.1504, allocations: 37.95 kB / 0.5609 GB, free: 444 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.1505, allocations: 20 kB / 0.5609 GB, free: 424 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002578/0.1531, allocations: 2.743 MB / 0.5636 GB, free: 13.39 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.435e-05/0.1532, allocations: 11.89 kB / 0.5636 GB, free: 13.38 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.264e-05/0.1532, allocations: 8 kB / 0.5636 GB, free: 13.37 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.0001413/0.1533, allocations: 125.8 kB / 0.5638 GB, free: 13.24 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.003e-05/0.1534, allocations: 7.938 kB / 0.5638 GB, free: 13.23 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.196e-05/0.1534, allocations: 19.89 kB / 0.5638 GB, free: 13.21 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1534, allocations: 4 kB / 0.5638 GB, free: 13.2 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.1534, allocations: 0 / 0.5638 GB, free: 13.2 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1534, allocations: 0 / 0.5638 GB, free: 13.2 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003067/0.1537, allocations: 205.5 kB / 0.564 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.1537, allocations: 0 / 0.564 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.308e-05/0.1538, allocations: 12 kB / 0.564 GB, free: 12.94 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000132/0.154, allocations: 41.64 kB / 0.564 GB, free: 12.89 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.154, allocations: 0 / 0.564 GB, free: 12.89 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002305/0.1563, allocations: 2.742 MB / 0.5667 GB, free: 9.871 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.1563, allocations: 0 / 0.5667 GB, free: 9.871 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004023/0.1567, allocations: 312.3 kB / 0.567 GB, free: 9.543 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.615e-05/0.1567, allocations: 77.11 kB / 0.5671 GB, free: 9.449 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.587e-05/0.1568, allocations: 4 kB / 0.5671 GB, free: 9.445 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.1569, allocations: 4 kB / 0.5671 GB, free: 9.441 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.644e-05/0.1569, allocations: 12.09 kB / 0.5671 GB, free: 9.43 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.1569, allocations: 0 / 0.5671 GB, free: 9.43 MB / 430.1 MB Notification: Performance of sorting global known variables: time 7.05e-05/0.157, allocations: 99.2 kB / 0.5672 GB, free: 9.332 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.157, allocations: 0 / 0.5672 GB, free: 9.332 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004023/0.1574, allocations: 39.89 kB / 0.5672 GB, free: 9.293 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.0007426/0.1581, allocations: 0.8343 MB / 0.5681 GB, free: 8.426 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005456/0.1586, allocations: 301.9 kB / 0.5683 GB, free: 8.105 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.1587, allocations: 4.062 kB / 0.5684 GB, free: 8.102 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000309/0.159, allocations: 253.4 kB / 0.5686 GB, free: 7.828 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005166/0.1595, allocations: 28.78 kB / 0.5686 GB, free: 7.805 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002587/0.1621, allocations: 1.985 MB / 0.5706 GB, free: 5.672 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004197/0.1625, allocations: 0.7084 MB / 0.5713 GB, free: 4.934 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.068e-05/0.1625, allocations: 8.891 kB / 0.5713 GB, free: 4.922 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.119e-05/0.1626, allocations: 31.42 kB / 0.5713 GB, free: 4.891 MB / 430.1 MB Notification: Performance of SimCode: time 1.353e-06/0.1626, allocations: 0 / 0.5713 GB, free: 4.891 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03615/0.1988, allocations: 3.029 MB / 0.5742 GB, free: 1.973 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.43/10.63, allocations: 8.047 kB / 0.5743 GB, free: 1.965 MB / 430.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_Directions3_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_Directions3.fmu > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 13.75621699495241]