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.0008727/0.0008728, allocations: 95.34 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009531/0.0009534, allocations: 202 kB / 18.28 MB, free: 5.496 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.7 MB / 246.8 MB, free: 9.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2/0.2, allocations: 46.19 MB / 345.2 MB, free: 11.24 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002883/0.0002886, allocations: 11.98 kB / 419.5 MB, free: 19.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1292, allocations: 63.56 MB / 483.1 MB, free: 4.117 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.002199/0.1314, allocations: 1.379 MB / 484.5 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003384/0.1318, allocations: 111.6 kB / 484.6 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.096e-05/0.1319, allocations: 0 / 484.6 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.401e-05/0.1319, allocations: 11.92 kB / 484.6 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001567/0.1321, allocations: 35.75 kB / 484.6 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001432/0.1322, allocations: 12 kB / 484.6 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001694/0.1324, allocations: 127.4 kB / 484.8 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001856/0.1326, allocations: 29.05 kB / 484.8 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.105e-05/0.1327, allocations: 43.8 kB / 484.8 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001059/0.1329, allocations: 47.78 kB / 484.9 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.037e-05/0.1329, allocations: 8 kB / 484.9 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.314e-05/0.1329, allocations: 4 kB / 484.9 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.488e-05/0.133, allocations: 23.91 kB / 484.9 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.447e-05/0.1331, allocations: 73.45 kB / 485 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002036/0.1333, allocations: 119.8 kB / 485.1 MB, free: 2.086 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.765e-06/0.1333, allocations: 0 / 485.1 MB, free: 2.086 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.1333, allocations: 0 / 485.1 MB, free: 2.086 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.1333, allocations: 0 / 485.1 MB, free: 2.086 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.0006443/0.134, allocations: 390 kB / 485.5 MB, free: 1.652 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.415e-05/0.134, allocations: 16.81 kB / 485.5 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.443e-05/0.1341, allocations: 8.844 kB / 485.5 MB, free: 1.629 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002314/0.1344, allocations: 192.2 kB / 485.7 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.9e-05/0.1344, allocations: 12.61 kB / 485.7 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.112e-05/0.1344, allocations: 12.38 kB / 485.7 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002636/0.1347, allocations: 135.3 kB / 485.8 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.772e-05/0.1347, allocations: 4.094 kB / 485.8 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.22e-05/0.1348, allocations: 11.94 kB / 485.9 MB, free: 1.223 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.1348, allocations: 0 / 485.9 MB, free: 1.223 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000126/0.1349, allocations: 59.95 kB / 485.9 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008268/0.1357, allocations: 0.5372 MB / 486.5 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001473/0.1359, allocations: 93.16 kB / 486.5 MB, free: 468 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.338e-05/0.136, allocations: 25.72 kB / 486.6 MB, free: 436 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.216e-05/0.136, allocations: 7.922 kB / 486.6 MB, free: 428 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.136, allocations: 34.66 kB / 486.6 MB, free: 384 kB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.282e-06/0.136, allocations: 0 / 486.6 MB, free: 384 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006259/0.1366, allocations: 305.4 kB / 486.9 MB, free: 28 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.761e-05/0.1367, allocations: 81.11 kB / 487 MB, free: 15.93 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.092e-05/0.1368, allocations: 122.1 kB / 487.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.1368, allocations: 29.7 kB / 487.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.033e-05/0.1369, allocations: 123.6 kB / 487.3 MB, free: 15.64 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.119e-05/0.137, allocations: 35.48 kB / 487.3 MB, free: 15.61 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.785e-05/0.137, allocations: 21.72 kB / 487.3 MB, free: 15.58 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.1371, allocations: 322.8 kB / 487.6 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.939e-05/0.1372, allocations: 24 kB / 487.7 MB, free: 15.23 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.597e-05/0.1373, allocations: 83.09 kB / 487.7 MB, free: 15.12 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000139/0.1374, allocations: 120.5 kB / 487.9 MB, free: 14.97 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.1374, allocations: 4 kB / 487.9 MB, free: 14.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002595/0.1377, allocations: 167 kB / 488 MB, free: 14.79 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.1377, allocations: 8 kB / 488 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.1377, allocations: 0 / 488 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000172/0.1379, allocations: 45.89 kB / 488.1 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.73e-05/0.138, allocations: 27.92 kB / 488.1 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002272/0.1403, allocations: 2.542 MB / 490.6 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.876e-05/0.1404, allocations: 11.84 kB / 490.7 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.423e-05/0.1404, allocations: 8 kB / 490.7 MB, free: 11.88 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.0001356/0.1405, allocations: 126.3 kB / 490.8 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.461e-05/0.1406, allocations: 4 kB / 490.8 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.348e-05/0.1406, allocations: 11.89 kB / 490.8 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.407e-05/0.1406, allocations: 4 kB / 490.8 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.1406, allocations: 4.094 kB / 490.8 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.1407, allocations: 0 / 490.8 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002931/0.1409, allocations: 205.4 kB / 491 MB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.141, allocations: 3.938 kB / 491 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001095/0.1411, allocations: 15.98 kB / 491 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001014/0.1412, allocations: 33.7 kB / 491.1 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.1412, allocations: 7.938 kB / 491.1 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00188/0.1431, allocations: 2.544 MB / 493.6 MB, free: 8.594 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1431, allocations: 0 / 493.6 MB, free: 8.594 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003235/0.1434, allocations: 316.4 kB / 493.9 MB, free: 8.262 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.469e-05/0.1435, allocations: 85.02 kB / 494 MB, free: 8.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.185e-05/0.1435, allocations: 0 / 494 MB, free: 8.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.1436, allocations: 4 kB / 494 MB, free: 8.156 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.376e-05/0.1436, allocations: 8.031 kB / 494 MB, free: 8.148 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.1437, allocations: 4 kB / 494 MB, free: 8.145 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.187e-05/0.1437, allocations: 99.25 kB / 494.1 MB, free: 8.047 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1437, allocations: 0 / 494.1 MB, free: 8.047 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003504/0.1441, allocations: 35.94 kB / 494.2 MB, free: 8.012 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.0001408/0.1442, allocations: 103.2 kB / 494.3 MB, free: 7.902 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000518/0.1447, allocations: 305.2 kB / 494.6 MB, free: 7.578 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.1448, allocations: 0.5 kB / 494.6 MB, free: 7.578 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000293/0.1451, allocations: 253.6 kB / 494.8 MB, free: 7.305 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004945/0.1456, allocations: 23.98 kB / 494.8 MB, free: 7.281 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001/0.1466, allocations: 0.5784 MB / 495.4 MB, free: 6.672 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004525/0.1471, allocations: 0.72 MB / 496.1 MB, free: 5.926 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.867e-05/0.1471, allocations: 4.891 kB / 496.1 MB, free: 5.918 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.05e-05/0.1471, allocations: 11.44 kB / 496.1 MB, free: 5.91 MB / 366.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1471, allocations: 0 / 496.1 MB, free: 5.91 MB / 366.1 MB Notification: Performance of Templates: time 0.004562/0.1517, allocations: 1.445 MB / 497.6 MB, free: 4.477 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