Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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: translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008911/0.0008912, allocations: 96.23 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009554/0.0009554, allocations: 205.4 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.423/1.423, allocations: 227.2 MB / 245.9 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2405/0.2405, allocations: 45.91 MB / 344 MB, free: 12.16 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003405/0.0003407, allocations: 8 kB / 417.9 MB, free: 20.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1422, allocations: 63.46 MB / 481.4 MB, free: 5.438 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.002489/0.1447, allocations: 2.273 MB / 483.7 MB, free: 3.148 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001147/0.1458, allocations: 0.7444 MB / 484.4 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001574/0.146, allocations: 8 kB / 484.4 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.041e-05/0.1461, allocations: 39.64 kB / 484.4 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002584/0.1464, allocations: 131.6 kB / 484.6 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002265/0.1466, allocations: 71.92 kB / 484.6 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003277/0.1469, allocations: 303.8 kB / 484.9 MB, free: 1.855 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002123/0.1472, allocations: 141.4 kB / 485.1 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001816/0.1474, allocations: 143.4 kB / 485.2 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001742/0.1475, allocations: 159.2 kB / 485.4 MB, free: 1.422 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.259e-05/0.1476, allocations: 20 kB / 485.4 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.623e-05/0.1477, allocations: 27.98 kB / 485.4 MB, free: 1.375 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.858e-05/0.1477, allocations: 63.75 kB / 485.5 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.971e-05/0.1478, allocations: 97.45 kB / 485.6 MB, free: 1.211 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002644/0.1481, allocations: 319.3 kB / 485.9 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.1481, allocations: 0 / 485.9 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1481, allocations: 0 / 485.9 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.1481, allocations: 4 kB / 485.9 MB, free: 0.8945 MB / 350.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.0007543/0.1488, allocations: 0.6082 MB / 486.5 MB, free: 240 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.69e-05/0.1489, allocations: 8.031 kB / 486.5 MB, free: 232 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003007/0.1492, allocations: 79.5 kB / 486.6 MB, free: 152 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002878/0.1495, allocations: 283.3 kB / 486.9 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.43e-05/0.1495, allocations: 29 kB / 486.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.395e-05/0.1496, allocations: 40 kB / 486.9 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000571/0.1502, allocations: 377 kB / 487.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.102e-05/0.1502, allocations: 15.84 kB / 487.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.042e-05/0.1502, allocations: 16 kB / 487.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.969e-06/0.1502, allocations: 8 kB / 487.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004669/0.1507, allocations: 256.3 kB / 487.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001425/0.1521, allocations: 1.124 MB / 488.7 MB, free: 13.9 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004954/0.1527, allocations: 359.9 kB / 489.1 MB, free: 13.52 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.058e-05/0.1527, allocations: 4.25 kB / 489.1 MB, free: 13.52 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.1527, allocations: 42.56 kB / 489.1 MB, free: 13.47 MB / 366.1 MB Notification: Performance of pre-optimization done (n=39): time 1.663e-06/0.1527, allocations: 3.938 kB / 489.1 MB, free: 13.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=57): time 0.00343/0.1562, allocations: 2.467 MB / 491.6 MB, free: 10.73 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.671e-05/0.1562, allocations: 110.8 kB / 491.7 MB, free: 10.6 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002107/0.1564, allocations: 238.6 kB / 491.9 MB, free: 10.36 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.566e-05/0.1565, allocations: 37.64 kB / 492 MB, free: 10.32 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.609e-05/0.1566, allocations: 180.7 kB / 492.1 MB, free: 10.13 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001249/0.1567, allocations: 201 kB / 492.3 MB, free: 9.934 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.981e-05/0.1567, allocations: 12 kB / 492.3 MB, free: 9.922 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.1569, allocations: 346.8 kB / 492.7 MB, free: 9.574 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002407/0.1571, allocations: 133 kB / 492.8 MB, free: 9.445 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002903/0.1574, allocations: 235.8 kB / 493 MB, free: 9.184 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002822/0.1577, allocations: 168 kB / 493.2 MB, free: 9.02 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.1577, allocations: 0 / 493.2 MB, free: 9.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009642/0.1587, allocations: 0.5732 MB / 493.8 MB, free: 8.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.1587, allocations: 4 kB / 493.8 MB, free: 8.426 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.1587, allocations: 4 kB / 493.8 MB, free: 8.422 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003142/0.159, allocations: 130.7 kB / 493.9 MB, free: 8.285 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003705/0.1594, allocations: 99.88 kB / 494 MB, free: 8.188 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003725/0.1631, allocations: 4.711 MB / 498.7 MB, free: 3.074 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002684/0.1634, allocations: 20.62 kB / 498.7 MB, free: 3.055 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.486e-05/0.1635, allocations: 20 kB / 498.8 MB, free: 3.035 MB / 366.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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002033/0.1637, allocations: 165.8 kB / 498.9 MB, free: 2.863 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.001e-05/0.1638, allocations: 39.53 kB / 499 MB, free: 2.824 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.504e-05/0.1639, allocations: 50.17 kB / 499 MB, free: 2.781 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.1639, allocations: 4 kB / 499 MB, free: 2.777 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.999e-05/0.1639, allocations: 11.95 kB / 499 MB, free: 2.766 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.1639, allocations: 0 / 499 MB, free: 2.766 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001918/0.1658, allocations: 1.331 MB / 0.4886 GB, free: 1.359 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.1659, allocations: 8.094 kB / 0.4886 GB, free: 1.352 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003972/0.1663, allocations: 103.8 kB / 0.4887 GB, free: 1.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002698/0.1665, allocations: 90.45 kB / 0.4888 GB, free: 1.152 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.62e-05/0.1666, allocations: 12 kB / 0.4888 GB, free: 1.141 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002928/0.1695, allocations: 4.155 MB / 0.4929 GB, free: 12.58 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.1695, allocations: 0 / 0.4929 GB, free: 12.58 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001317/0.1709, allocations: 1.001 MB / 0.4939 GB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.171, allocations: 104.7 kB / 0.494 GB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.345e-05/0.171, allocations: 16.02 kB / 0.494 GB, free: 11.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002707/0.1713, allocations: 23.98 kB / 0.494 GB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.407e-05/0.1714, allocations: 39.94 kB / 0.494 GB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.451e-05/0.1714, allocations: 16 kB / 0.4941 GB, free: 11.3 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001534/0.1716, allocations: 174 kB / 0.4942 GB, free: 11.13 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1716, allocations: 0 / 0.4942 GB, free: 11.13 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007166/0.1723, allocations: 120 kB / 0.4943 GB, free: 11.02 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001441/0.1725, allocations: 119.1 kB / 0.4945 GB, free: 10.89 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001202/0.1737, allocations: 0.7614 MB / 0.4952 GB, free: 10.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.1737, allocations: 0 / 0.4952 GB, free: 10.09 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007211/0.1744, allocations: 0.5818 MB / 0.4958 GB, free: 9.465 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000477/0.1749, allocations: 45.09 kB / 0.4958 GB, free: 9.422 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001744/0.1767, allocations: 1.312 MB / 0.4971 GB, free: 8.074 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003495/0.177, allocations: 0.8241 MB / 0.4979 GB, free: 7.223 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001116/0.1771, allocations: 39.25 kB / 0.4979 GB, free: 7.184 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.538e-05/0.1772, allocations: 31.44 kB / 0.498 GB, free: 7.152 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1772, allocations: 0 / 0.498 GB, free: 7.152 MB / 382.1 MB Notification: Performance of Templates: time 0.007466/0.1847, allocations: 3.993 MB / 0.5019 GB, free: 3.164 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.csv","../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches