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.001159/0.001159, allocations: 115.8 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001193/0.001193, allocations: 203.4 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.308/1.308, allocations: 227.4 MB / 247.5 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.2147/0.2147, allocations: 46.11 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 75.81 kB / 419 MB, free: 19.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1122, allocations: 62.43 MB / 481.4 MB, free: 4.555 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.003823/0.1161, allocations: 1.678 MB / 483.1 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003286/0.1164, allocations: 119.6 kB / 483.2 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.307e-05/0.1165, allocations: 0 / 483.2 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.991e-05/0.1166, allocations: 15.86 kB / 483.2 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001252/0.1168, allocations: 35.64 kB / 483.3 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001403/0.1169, allocations: 23.97 kB / 483.3 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001884/0.1171, allocations: 127.4 kB / 483.4 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001627/0.1173, allocations: 37.09 kB / 483.5 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.909e-05/0.1174, allocations: 47.86 kB / 483.5 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.1175, allocations: 47.73 kB / 483.6 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.509e-05/0.1175, allocations: 8 kB / 483.6 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.813e-05/0.1176, allocations: 8 kB / 483.6 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.73e-05/0.1176, allocations: 27.91 kB / 483.6 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.353e-05/0.1177, allocations: 55.73 kB / 483.7 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002237/0.1179, allocations: 127.6 kB / 483.8 MB, free: 2.199 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.1179, allocations: 0 / 483.8 MB, free: 2.199 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.118, allocations: 0 / 483.8 MB, free: 2.199 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.062e-06/0.118, allocations: 0 / 483.8 MB, free: 2.199 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.0006596/0.1186, allocations: 403.3 kB / 484.2 MB, free: 1.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.1187, allocations: 12.03 kB / 484.2 MB, free: 1.738 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.242e-05/0.1188, allocations: 12.75 kB / 484.2 MB, free: 1.727 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002313/0.119, allocations: 196.2 kB / 484.4 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.921e-05/0.119, allocations: 8.609 kB / 484.4 MB, free: 1.488 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.076e-05/0.1191, allocations: 20.28 kB / 484.4 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002872/0.1194, allocations: 125.6 kB / 484.5 MB, free: 1.336 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.071e-05/0.1194, allocations: 4.172 kB / 484.5 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.366e-05/0.1194, allocations: 11.94 kB / 484.6 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.1195, allocations: 0 / 484.6 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001591/0.1196, allocations: 59.91 kB / 484.6 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000944/0.1206, allocations: 0.5372 MB / 485.2 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001822/0.1208, allocations: 89.16 kB / 485.2 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.012e-05/0.1209, allocations: 33.8 kB / 485.3 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.877e-05/0.1209, allocations: 7.938 kB / 485.3 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/0.1209, allocations: 30.56 kB / 485.3 MB, free: 484 kB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.643e-06/0.1209, allocations: 0 / 485.3 MB, free: 484 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007598/0.1217, allocations: 305.3 kB / 485.6 MB, free: 128 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.192e-05/0.1218, allocations: 81.05 kB / 485.7 MB, free: 28 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001586/0.1219, allocations: 125.8 kB / 485.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.122, allocations: 29.64 kB / 485.8 MB, free: 15.86 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.782e-05/0.1221, allocations: 119.6 kB / 486 MB, free: 15.74 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.802e-05/0.1221, allocations: 39.55 kB / 486 MB, free: 15.7 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.2e-05/0.1222, allocations: 25.72 kB / 486 MB, free: 15.67 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.1224, allocations: 322.8 kB / 486.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.113e-05/0.1224, allocations: 23.98 kB / 486.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001155/0.1226, allocations: 84.58 kB / 486.4 MB, free: 15.21 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002078/0.1228, allocations: 128.4 kB / 486.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.1228, allocations: 0 / 486.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000393/0.1232, allocations: 167.2 kB / 486.7 MB, free: 14.88 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.1232, allocations: 8 kB / 486.7 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.1232, allocations: 0 / 486.7 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002345/0.1235, allocations: 41.58 kB / 486.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.1236, allocations: 27.98 kB / 486.8 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002663/0.1263, allocations: 2.736 MB / 489.5 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.657e-05/0.1264, allocations: 11.84 kB / 489.6 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.391e-05/0.1264, allocations: 12.16 kB / 489.6 MB, free: 11.76 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.0001408/0.1266, allocations: 125.8 kB / 489.7 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.062e-05/0.1267, allocations: 7.906 kB / 489.7 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.343e-05/0.1267, allocations: 11.84 kB / 489.7 MB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.1267, allocations: 4 kB / 489.7 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.1267, allocations: 0 / 489.7 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.1268, allocations: 3.984 kB / 489.7 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003733/0.1271, allocations: 201.6 kB / 489.9 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.1272, allocations: 0 / 489.9 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001212/0.1273, allocations: 19.98 kB / 489.9 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001237/0.1274, allocations: 33.7 kB / 490 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/0.1274, allocations: 7.938 kB / 490 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002389/0.1298, allocations: 2.73 MB / 492.7 MB, free: 8.27 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.1299, allocations: 0 / 492.7 MB, free: 8.27 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000418/0.1303, allocations: 308.4 kB / 493 MB, free: 7.945 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.859e-05/0.1304, allocations: 85.14 kB / 493.1 MB, free: 7.844 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.876e-05/0.1304, allocations: 0 / 493.1 MB, free: 7.844 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001542/0.1306, allocations: 8 kB / 493.1 MB, free: 7.836 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.516e-05/0.1306, allocations: 7.938 kB / 493.1 MB, free: 7.828 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.1306, allocations: 3.984 kB / 493.1 MB, free: 7.824 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.141e-05/0.1307, allocations: 91.28 kB / 493.2 MB, free: 7.734 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1307, allocations: 4 kB / 493.2 MB, free: 7.73 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000592/0.1313, allocations: 39.84 kB / 493.2 MB, free: 7.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 (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.000145/0.1315, allocations: 107.1 kB / 493.3 MB, free: 7.578 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006157/0.1321, allocations: 301.6 kB / 493.6 MB, free: 7.258 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/0.1321, allocations: 0 / 493.6 MB, free: 7.258 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003303/0.1325, allocations: 257.2 kB / 493.9 MB, free: 6.98 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007043/0.1332, allocations: 36.5 kB / 493.9 MB, free: 6.945 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009901/0.1342, allocations: 476.6 kB / 494.4 MB, free: 6.449 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003534/0.1346, allocations: 0.7084 MB / 495.1 MB, free: 5.715 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.665e-05/0.1346, allocations: 8.891 kB / 495.1 MB, free: 5.703 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.357e-05/0.1347, allocations: 11.44 kB / 495.1 MB, free: 5.695 MB / 366.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1347, allocations: 0 / 495.1 MB, free: 5.695 MB / 366.1 MB Notification: Performance of Templates: time 0.005537/0.1402, allocations: 1.511 MB / 496.6 MB, free: 4.195 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches