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.001108/0.001108, allocations: 106.3 kB / 17.33 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001315/0.001315, allocations: 209.8 kB / 18.27 MB, free: 5.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.393/1.393, allocations: 227.4 MB / 246.4 MB, free: 9.074 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.283/0.283, allocations: 46.1 MB / 343.8 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002889/0.00289, allocations: 70.59 kB / 417 MB, free: 20.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1377, allocations: 62.45 MB / 479.5 MB, free: 5.57 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.003396/0.1412, allocations: 1.718 MB / 481.2 MB, free: 3.836 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003066/0.1415, allocations: 111.6 kB / 481.3 MB, free: 3.727 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.482e-05/0.1416, allocations: 0 / 481.3 MB, free: 3.727 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.886e-05/0.1417, allocations: 11.92 kB / 481.3 MB, free: 3.715 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001174/0.1418, allocations: 35.7 kB / 481.4 MB, free: 3.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001169/0.1419, allocations: 19.98 kB / 481.4 MB, free: 3.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001439/0.1421, allocations: 123.4 kB / 481.5 MB, free: 3.539 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.1422, allocations: 45.05 kB / 481.5 MB, free: 3.496 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.394e-05/0.1423, allocations: 39.86 kB / 481.6 MB, free: 3.457 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.077e-05/0.1424, allocations: 51.77 kB / 481.6 MB, free: 3.406 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.008e-05/0.1424, allocations: 8 kB / 481.6 MB, free: 3.398 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.205e-05/0.1425, allocations: 12 kB / 481.7 MB, free: 3.387 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.493e-05/0.1425, allocations: 23.94 kB / 481.7 MB, free: 3.363 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.752e-05/0.1425, allocations: 55.73 kB / 481.7 MB, free: 3.309 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001411/0.1427, allocations: 119.9 kB / 481.8 MB, free: 3.191 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1427, allocations: 0 / 481.8 MB, free: 3.191 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1427, allocations: 0 / 481.8 MB, free: 3.191 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.1427, allocations: 0 / 481.8 MB, free: 3.191 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.0004605/0.1432, allocations: 415.3 kB / 482.3 MB, free: 2.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.1432, allocations: 8.031 kB / 482.3 MB, free: 2.723 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.374e-05/0.1433, allocations: 16.73 kB / 482.3 MB, free: 2.707 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001895/0.1435, allocations: 204.2 kB / 482.5 MB, free: 2.469 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.1435, allocations: 8.609 kB / 482.5 MB, free: 2.461 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.59e-05/0.1435, allocations: 20.28 kB / 482.5 MB, free: 2.441 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002356/0.1438, allocations: 127.4 kB / 482.6 MB, free: 2.309 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.1438, allocations: 4.188 kB / 482.6 MB, free: 2.305 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.917e-05/0.1438, allocations: 7.938 kB / 482.6 MB, free: 2.297 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.648e-05/0.1438, allocations: 4 kB / 482.6 MB, free: 2.293 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000108/0.144, allocations: 55.91 kB / 482.7 MB, free: 2.238 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007875/0.1448, allocations: 0.5411 MB / 483.2 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001451/0.1449, allocations: 89.08 kB / 483.3 MB, free: 1.531 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.198e-05/0.145, allocations: 25.89 kB / 483.4 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.238e-05/0.145, allocations: 7.938 kB / 483.4 MB, free: 1.492 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.145, allocations: 34.56 kB / 483.4 MB, free: 1.449 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 3.026e-06/0.145, allocations: 7.922 kB / 483.4 MB, free: 1.441 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005723/0.1456, allocations: 301.3 kB / 483.7 MB, free: 1.098 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.359e-05/0.1457, allocations: 85.09 kB / 483.8 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.1458, allocations: 117.8 kB / 483.9 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.1458, allocations: 29.7 kB / 483.9 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.002e-05/0.1459, allocations: 119.6 kB / 484 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.888e-05/0.1459, allocations: 31.55 kB / 484.1 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.106e-05/0.146, allocations: 33.7 kB / 484.1 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.1461, allocations: 322.8 kB / 484.4 MB, free: 328 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.209e-05/0.1461, allocations: 23.98 kB / 484.4 MB, free: 304 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.397e-05/0.1462, allocations: 84.52 kB / 484.5 MB, free: 188 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001251/0.1464, allocations: 128.5 kB / 484.7 MB, free: 28 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1464, allocations: 0 / 484.7 MB, free: 28 kB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002876/0.1467, allocations: 167.1 kB / 484.8 MB, free: 15.85 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.1467, allocations: 7.938 kB / 484.8 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.1467, allocations: 4 kB / 484.8 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001647/0.1469, allocations: 41.89 kB / 484.9 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.225e-05/0.147, allocations: 16 kB / 484.9 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001937/0.1489, allocations: 2.731 MB / 487.6 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.354e-05/0.149, allocations: 19.84 kB / 487.6 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.507e-06/0.149, allocations: 8 kB / 487.6 MB, free: 12.74 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 (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.0001012/0.1491, allocations: 129.6 kB / 487.8 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.4e-05/0.1492, allocations: 7.906 kB / 487.8 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.952e-05/0.1492, allocations: 19.83 kB / 487.8 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.644e-06/0.1492, allocations: 0 / 487.8 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.1492, allocations: 0 / 487.8 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.1492, allocations: 4 kB / 487.8 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002547/0.1495, allocations: 201.6 kB / 488 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.237e-06/0.1495, allocations: 3.984 kB / 488 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.83e-05/0.1496, allocations: 12 kB / 488 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.545e-05/0.1497, allocations: 37.7 kB / 488 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.1497, allocations: 3.938 kB / 488.1 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001772/0.1515, allocations: 2.741 MB / 490.8 MB, free: 9.242 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.1515, allocations: 0 / 490.8 MB, free: 9.242 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002996/0.1518, allocations: 308.4 kB / 491.1 MB, free: 8.918 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.271e-05/0.1519, allocations: 85.05 kB / 491.2 MB, free: 8.816 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.749e-05/0.1519, allocations: 4 kB / 491.2 MB, free: 8.812 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.314e-05/0.152, allocations: 0 / 491.2 MB, free: 8.812 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.929e-05/0.152, allocations: 12.03 kB / 491.2 MB, free: 8.801 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.645e-06/0.152, allocations: 4 kB / 491.2 MB, free: 8.797 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.125e-05/0.1521, allocations: 91.27 kB / 491.3 MB, free: 8.707 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1521, allocations: 11.88 kB / 491.3 MB, free: 8.695 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003616/0.1525, allocations: 39.84 kB / 491.3 MB, free: 8.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 (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.0001067/0.1526, allocations: 95.25 kB / 491.4 MB, free: 8.555 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004471/0.153, allocations: 317.8 kB / 491.7 MB, free: 8.219 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.1531, allocations: 0 / 491.7 MB, free: 8.219 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002493/0.1533, allocations: 253.3 kB / 492 MB, free: 7.945 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004658/0.1538, allocations: 20.75 kB / 492 MB, free: 7.926 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007622/0.1546, allocations: 0.5048 MB / 492.5 MB, free: 7.391 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002829/0.1549, allocations: 0.7123 MB / 493.2 MB, free: 6.652 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.974e-05/0.1549, allocations: 8.875 kB / 493.2 MB, free: 6.645 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.98e-05/0.1549, allocations: 11.44 kB / 493.2 MB, free: 6.637 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1549, allocations: 0 / 493.2 MB, free: 6.637 MB / 366.1 MB Notification: Performance of Templates: time 0.004432/0.1594, allocations: 1.521 MB / 494.8 MB, free: 5.129 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches