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) 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.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009976/0.0009976, allocations: 99.8 kB / 16.99 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009797/0.0009797, allocations: 198.1 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.405/1.405, 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.1917/0.1917, allocations: 45.92 MB / 344 MB, free: 12.17 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002726/0.0002726, allocations: 8 kB / 417.9 MB, free: 20.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.1439, allocations: 63.46 MB / 481.4 MB, free: 5.453 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.001799/0.1457, allocations: 1.301 MB / 482.7 MB, free: 4.141 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000255/0.146, allocations: 123.7 kB / 482.8 MB, free: 4.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.162e-05/0.146, allocations: 0 / 482.8 MB, free: 4.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.327e-05/0.1461, allocations: 11.92 kB / 482.8 MB, free: 4.008 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001089/0.1462, allocations: 39.91 kB / 482.9 MB, free: 3.969 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001175/0.1463, allocations: 19.92 kB / 482.9 MB, free: 3.949 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001248/0.1464, allocations: 87.81 kB / 483 MB, free: 3.863 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.1466, allocations: 29.05 kB / 483 MB, free: 3.836 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.424e-05/0.1467, allocations: 39.86 kB / 483 MB, free: 3.797 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.813e-05/0.1467, allocations: 47.77 kB / 483.1 MB, free: 3.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.845e-05/0.1468, allocations: 8 kB / 483.1 MB, free: 3.742 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.892e-05/0.1468, allocations: 4 kB / 483.1 MB, free: 3.738 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.058e-05/0.1468, allocations: 19.92 kB / 483.1 MB, free: 3.719 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.338e-05/0.1469, allocations: 53.64 kB / 483.2 MB, free: 3.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001007/0.147, allocations: 84.03 kB / 483.2 MB, free: 3.578 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.147, allocations: 0 / 483.2 MB, free: 3.578 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.147, allocations: 0 / 483.2 MB, free: 3.578 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.379e-06/0.147, allocations: 0 / 483.2 MB, free: 3.578 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0004652/0.1475, allocations: 387.2 kB / 483.6 MB, free: 3.148 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.1475, allocations: 12.5 kB / 483.6 MB, free: 3.137 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.021e-05/0.1476, allocations: 11.91 kB / 483.6 MB, free: 3.125 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002017/0.1478, allocations: 190.8 kB / 483.8 MB, free: 2.898 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.1478, allocations: 12.23 kB / 483.8 MB, free: 2.887 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.498e-05/0.1479, allocations: 12 kB / 483.8 MB, free: 2.875 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002318/0.1481, allocations: 132.9 kB / 484 MB, free: 2.734 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.1481, allocations: 0 / 484 MB, free: 2.734 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.798e-05/0.1481, allocations: 8 kB / 484 MB, free: 2.727 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.1481, allocations: 0 / 484 MB, free: 2.727 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001057/0.1483, allocations: 59.95 kB / 484 MB, free: 2.668 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007642/0.149, allocations: 0.541 MB / 484.6 MB, free: 2.066 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001336/0.1492, allocations: 97.16 kB / 484.7 MB, free: 1.953 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.244e-05/0.1492, allocations: 4 kB / 484.7 MB, free: 1.949 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/0.1492, allocations: 34.56 kB / 484.7 MB, free: 1.906 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.282e-06/0.1492, allocations: 0 / 484.7 MB, free: 1.906 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006408/0.1499, allocations: 293.6 kB / 485 MB, free: 1.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.843e-05/0.1499, allocations: 85.06 kB / 485.1 MB, free: 1.469 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.1501, allocations: 121.7 kB / 485.2 MB, free: 1.34 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.1501, allocations: 33.64 kB / 485.2 MB, free: 1.301 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.763e-05/0.1502, allocations: 119.7 kB / 485.4 MB, free: 1.18 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.42e-05/0.1502, allocations: 35.55 kB / 485.4 MB, free: 1.145 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-06/0.1502, allocations: 3.938 kB / 485.4 MB, free: 1.141 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.1504, allocations: 322.8 kB / 485.7 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.768e-05/0.1504, allocations: 24 kB / 485.7 MB, free: 0.793 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.641e-05/0.1505, allocations: 80.58 kB / 485.8 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.124e-05/0.1506, allocations: 44.28 kB / 485.9 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.1506, allocations: 0 / 485.9 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002503/0.1509, allocations: 159.3 kB / 486 MB, free: 484 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.1509, allocations: 15.95 kB / 486 MB, free: 468 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.916e-05/0.1509, allocations: 4 kB / 486 MB, free: 464 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002034/0.1511, allocations: 41.64 kB / 486.1 MB, free: 416 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.1512, allocations: 23.98 kB / 486.1 MB, free: 392 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002117/0.1534, allocations: 2.544 MB / 488.6 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.071e-05/0.1534, allocations: 11.84 kB / 488.7 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.1534, allocations: 8 kB / 488.7 MB, free: 13.55 MB / 366.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001045/0.1536, allocations: 129.8 kB / 488.8 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.395e-05/0.1536, allocations: 12.05 kB / 488.8 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.507e-05/0.1536, allocations: 11.91 kB / 488.8 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.1537, allocations: 8.078 kB / 488.8 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.1537, allocations: 0 / 488.8 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.1537, allocations: 0 / 488.8 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002665/0.1539, allocations: 201.6 kB / 489 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1539, allocations: 0 / 489 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.744e-05/0.1541, allocations: 12 kB / 489 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.807e-05/0.1541, allocations: 37.66 kB / 489.1 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.1542, allocations: 11.98 kB / 489.1 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001709/0.1559, allocations: 2.537 MB / 491.6 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1559, allocations: 0 / 491.6 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000295/0.1562, allocations: 326.2 kB / 491.9 MB, free: 9.918 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.511e-05/0.1562, allocations: 77.11 kB / 492 MB, free: 9.824 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.31e-05/0.1563, allocations: 8 kB / 492 MB, free: 9.816 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.754e-05/0.1564, allocations: 0 / 492 MB, free: 9.816 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.519e-05/0.1564, allocations: 15.92 kB / 492 MB, free: 9.801 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.1564, allocations: 4.094 kB / 492 MB, free: 9.797 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.603e-05/0.1565, allocations: 103.6 kB / 492.1 MB, free: 9.695 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1565, allocations: 0 / 492.1 MB, free: 9.695 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003282/0.1568, allocations: 39.84 kB / 492.2 MB, free: 9.656 MB / 366.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001168/0.1569, allocations: 95.23 kB / 492.3 MB, free: 9.555 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004994/0.1574, allocations: 297.5 kB / 492.6 MB, free: 9.238 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1575, allocations: 0 / 492.6 MB, free: 9.238 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002316/0.1577, allocations: 257.3 kB / 492.8 MB, free: 8.961 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003276/0.158, allocations: 20.31 kB / 492.8 MB, free: 8.941 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008194/0.1589, allocations: 0.5631 MB / 493.4 MB, free: 8.348 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002575/0.1591, allocations: 0.7161 MB / 494.1 MB, free: 7.605 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.43e-05/0.1592, allocations: 8.875 kB / 494.1 MB, free: 7.594 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.077e-05/0.1592, allocations: 15.44 kB / 494.1 MB, free: 7.578 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1592, allocations: 4 kB / 494.1 MB, free: 7.574 MB / 366.1 MB Notification: Performance of Templates: time 0.003789/0.163, allocations: 1.395 MB / 495.5 MB, free: 6.188 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.makefile (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 & ./ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.csv","../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches