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.00108/0.001079, allocations: 99.02 kB / 17 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001065/0.001065, allocations: 192.7 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.539/1.539, allocations: 227.7 MB / 246.4 MB, free: 9.816 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2459/0.2459, allocations: 46.19 MB / 344.8 MB, free: 11.42 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003009/0.0003011, allocations: 8.219 kB / 418.8 MB, free: 20.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1323, allocations: 63.57 MB / 482.4 MB, free: 4.539 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.002319/0.1347, allocations: 1.348 MB / 483.8 MB, free: 3.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003936/0.1351, allocations: 111.7 kB / 483.9 MB, free: 3.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001079/0.1353, allocations: 3.938 kB / 483.9 MB, free: 3.066 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.581e-05/0.1353, allocations: 11.92 kB / 483.9 MB, free: 3.055 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001444/0.1355, allocations: 27.77 kB / 483.9 MB, free: 3.027 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001626/0.1356, allocations: 19.98 kB / 483.9 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001994/0.1358, allocations: 119.3 kB / 484 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000156/0.136, allocations: 33.09 kB / 484.1 MB, free: 2.859 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001314/0.1362, allocations: 39.86 kB / 484.1 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.548e-05/0.1363, allocations: 39.84 kB / 484.1 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.445e-05/0.1363, allocations: 7.938 kB / 484.2 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.632e-05/0.1363, allocations: 8 kB / 484.2 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.165e-05/0.1363, allocations: 11.98 kB / 484.2 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.922e-05/0.1364, allocations: 45.64 kB / 484.2 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001465/0.1366, allocations: 92.03 kB / 484.3 MB, free: 2.613 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1366, allocations: 4 kB / 484.3 MB, free: 2.609 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1366, allocations: 0 / 484.3 MB, free: 2.609 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.326e-06/0.1366, allocations: 0 / 484.3 MB, free: 2.609 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.000496/0.1371, allocations: 387.2 kB / 484.7 MB, free: 2.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.1372, allocations: 8.562 kB / 484.7 MB, free: 2.172 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.844e-05/0.1372, allocations: 15.89 kB / 484.7 MB, free: 2.156 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000213/0.1374, allocations: 198.8 kB / 484.9 MB, free: 1.922 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.1374, allocations: 8.234 kB / 484.9 MB, free: 1.914 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.806e-05/0.1375, allocations: 16 kB / 484.9 MB, free: 1.898 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002434/0.1377, allocations: 134.8 kB / 485.1 MB, free: 1.758 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.1378, allocations: 0 / 485.1 MB, free: 1.758 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.679e-05/0.1378, allocations: 8 kB / 485.1 MB, free: 1.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.1378, allocations: 0 / 485.1 MB, free: 1.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001346/0.1379, allocations: 59.91 kB / 485.1 MB, free: 1.691 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008142/0.1388, allocations: 0.5449 MB / 485.7 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001373/0.1389, allocations: 85.08 kB / 485.8 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.056e-05/0.139, allocations: 33.89 kB / 485.8 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.142e-05/0.139, allocations: 0 / 485.8 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/0.139, allocations: 30.56 kB / 485.8 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 9.32e-07/0.139, allocations: 0 / 485.8 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005988/0.1396, allocations: 309.8 kB / 486.1 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.691e-05/0.1397, allocations: 81.09 kB / 486.2 MB, free: 468 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/0.1398, allocations: 125.7 kB / 486.3 MB, free: 332 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.1398, allocations: 25.7 kB / 486.4 MB, free: 300 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.672e-05/0.1399, allocations: 115.7 kB / 486.5 MB, free: 180 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.073e-05/0.1399, allocations: 31.55 kB / 486.5 MB, free: 148 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.719e-06/0.14, allocations: 4 kB / 486.5 MB, free: 144 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001847/0.1401, allocations: 318.8 kB / 486.8 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.943e-05/0.1402, allocations: 27.98 kB / 486.8 MB, free: 15.79 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.962e-05/0.1403, allocations: 88.52 kB / 486.9 MB, free: 15.68 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.949e-05/0.1404, allocations: 32 kB / 487 MB, free: 15.64 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.1404, allocations: 3.938 kB / 487 MB, free: 15.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002872/0.1407, allocations: 171.3 kB / 487.1 MB, free: 15.46 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/0.1407, allocations: 11.95 kB / 487.1 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/0.1408, allocations: 4 kB / 487.1 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002187/0.141, allocations: 33.7 kB / 487.2 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.402e-05/0.1411, allocations: 19.94 kB / 487.2 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002094/0.1432, allocations: 2.542 MB / 489.7 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.11e-05/0.1433, allocations: 15.84 kB / 489.8 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.1433, allocations: 7.938 kB / 489.8 MB, free: 12.56 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.0001208/0.1434, allocations: 121.8 kB / 489.9 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.294e-05/0.1435, allocations: 15.95 kB / 489.9 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.177e-05/0.1435, allocations: 15.84 kB / 489.9 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1435, allocations: 0 / 489.9 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1435, allocations: 0 / 489.9 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1435, allocations: 0 / 489.9 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003094/0.1439, allocations: 209.5 kB / 490.1 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.1439, allocations: 0 / 490.1 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.517e-05/0.144, allocations: 15.98 kB / 490.1 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.858e-05/0.1441, allocations: 41.59 kB / 490.2 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.1441, allocations: 4 kB / 490.2 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001885/0.146, allocations: 2.533 MB / 492.7 MB, free: 9.273 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.146, allocations: 0 / 492.7 MB, free: 9.273 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003025/0.1463, allocations: 312.4 kB / 493 MB, free: 8.945 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.908e-05/0.1464, allocations: 77.11 kB / 493.1 MB, free: 8.852 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.529e-05/0.1464, allocations: 8 kB / 493.1 MB, free: 8.844 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.678e-05/0.1465, allocations: 0 / 493.1 MB, free: 8.844 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.896e-05/0.1465, allocations: 11.97 kB / 493.1 MB, free: 8.832 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.864e-06/0.1465, allocations: 8 kB / 493.1 MB, free: 8.824 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.375e-05/0.1466, allocations: 95.27 kB / 493.2 MB, free: 8.73 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1466, allocations: 0 / 493.2 MB, free: 8.73 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003636/0.147, allocations: 39.84 kB / 493.2 MB, free: 8.691 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.0001122/0.1471, allocations: 91.25 kB / 493.3 MB, free: 8.594 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004057/0.1475, allocations: 297.6 kB / 493.6 MB, free: 8.277 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.1475, allocations: 0 / 493.6 MB, free: 8.277 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002583/0.1478, allocations: 253.3 kB / 493.9 MB, free: 8.004 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004463/0.1482, allocations: 27.94 kB / 493.9 MB, free: 7.977 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008288/0.1491, allocations: 0.5657 MB / 494.5 MB, free: 7.383 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002976/0.1494, allocations: 0.7044 MB / 495.2 MB, free: 6.652 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.932e-05/0.1494, allocations: 12.86 kB / 495.2 MB, free: 6.637 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.589e-05/0.1495, allocations: 15.38 kB / 495.2 MB, free: 6.625 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1495, allocations: 4 kB / 495.2 MB, free: 6.621 MB / 366.1 MB Notification: Performance of Templates: time 0.004379/0.1539, allocations: 1.397 MB / 496.6 MB, free: 5.238 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