Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001043/0.001043, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.329/1.329, allocations: 225.4 MB / 240.1 MB, free: 15.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008604/0.0008603, allocations: 86.34 kB / 292.1 MB, free: 6 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2172/0.2172, allocations: 45.13 MB / 389.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.185e-05/4.199e-05, allocations: 4 kB / 460.4 MB, free: 70.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1288, allocations: 63.25 MB / 0.5114 GB, free: 6.785 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4776/0.6065, allocations: 89.06 MB / 0.5983 GB, free: 4.938 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002768/0.6069, allocations: 71.27 kB / 0.5984 GB, free: 4.898 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0181/0.625, allocations: 6.494 MB / 0.6047 GB, free: 15.4 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.6251, allocations: 4 kB / 0.6047 GB, free: 15.4 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.063e-05/0.6251, allocations: 8 kB / 0.6048 GB, free: 15.39 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001199/0.6263, allocations: 0.5766 MB / 0.6053 GB, free: 14.79 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.85e-05/0.6264, allocations: 16.03 kB / 0.6053 GB, free: 14.78 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004081/0.6268, allocations: 75.41 kB / 0.6054 GB, free: 14.7 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004013/0.6272, allocations: 267.6 kB / 0.6057 GB, free: 14.42 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.498e-05/0.6272, allocations: 30.45 kB / 0.6057 GB, free: 14.41 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.489e-05/0.6273, allocations: 42.78 kB / 0.6057 GB, free: 14.38 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006391/0.628, allocations: 362.5 kB / 0.6061 GB, free: 14.12 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.876e-05/0.628, allocations: 3.984 kB / 0.6061 GB, free: 14.11 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.791e-05/0.6281, allocations: 17.25 kB / 0.6061 GB, free: 14.11 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.502e-05/0.6281, allocations: 11.95 kB / 0.6061 GB, free: 14.1 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004025/0.6285, allocations: 212.5 kB / 0.6063 GB, free: 13.96 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001764/0.6303, allocations: 1.101 MB / 0.6074 GB, free: 13 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004783/0.6308, allocations: 329.2 kB / 0.6077 GB, free: 12.73 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002272/0.631, allocations: 161.6 kB / 0.6079 GB, free: 12.62 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.004e-05/0.631, allocations: 8 kB / 0.6079 GB, free: 12.61 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.264e-05/0.6311, allocations: 45.86 kB / 0.6079 GB, free: 12.56 MB / 410.7 MB Notification: Performance of pre-optimization done (n=39): time 3.366e-06/0.6311, allocations: 0 / 0.6079 GB, free: 12.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=57): time 0.003395/0.6345, allocations: 2.266 MB / 0.6101 GB, free: 10.34 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.828e-05/0.6346, allocations: 106.8 kB / 0.6102 GB, free: 10.21 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002376/0.6348, allocations: 214.7 kB / 0.6104 GB, free: 10.03 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.702e-05/0.6349, allocations: 36.89 kB / 0.6105 GB, free: 9.992 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.635, allocations: 175.4 kB / 0.6106 GB, free: 9.852 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001438/0.6351, allocations: 202.6 kB / 0.6108 GB, free: 9.676 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.849e-05/0.6352, allocations: 15.56 kB / 0.6108 GB, free: 9.668 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.6353, allocations: 352.2 kB / 0.6112 GB, free: 9.332 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001781/0.6355, allocations: 111.1 kB / 0.6113 GB, free: 9.266 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002758/0.6358, allocations: 216.1 kB / 0.6115 GB, free: 9.07 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002515/0.6361, allocations: 148 kB / 0.6116 GB, free: 8.977 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.6361, allocations: 0 / 0.6116 GB, free: 8.977 MB / 410.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0008256/0.6369, allocations: 0.5333 MB / 0.6121 GB, free: 8.555 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.6369, allocations: 4 kB / 0.6121 GB, free: 8.551 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.637, allocations: 4 kB / 0.6122 GB, free: 8.547 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003478/0.6373, allocations: 116.9 kB / 0.6123 GB, free: 8.445 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003842/0.6377, allocations: 103.1 kB / 0.6124 GB, free: 8.348 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003684/0.6414, allocations: 4.67 MB / 0.6169 GB, free: 3.688 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002843/0.6417, allocations: 25.67 kB / 0.6169 GB, free: 3.672 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.038e-05/0.6417, allocations: 15.19 kB / 0.617 GB, free: 3.66 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 48 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001497/0.6419, allocations: 137.2 kB / 0.6171 GB, free: 3.535 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001266/0.642, allocations: 35.58 kB / 0.6171 GB, free: 3.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001214/0.6422, allocations: 48.95 kB / 0.6172 GB, free: 3.477 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.6422, allocations: 8 kB / 0.6172 GB, free: 3.469 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.488e-05/0.6422, allocations: 0 / 0.6172 GB, free: 3.469 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.718e-06/0.6422, allocations: 7.984 kB / 0.6172 GB, free: 3.461 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001783/0.644, allocations: 1.296 MB / 0.6185 GB, free: 2.355 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.261e-06/0.644, allocations: 7.938 kB / 0.6185 GB, free: 2.348 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003918/0.6444, allocations: 95.14 kB / 0.6186 GB, free: 2.258 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002666/0.6447, allocations: 103.5 kB / 0.6187 GB, free: 2.164 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.584e-05/0.6447, allocations: 10.38 kB / 0.6187 GB, free: 2.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003033/0.6478, allocations: 4.096 MB / 0.6227 GB, free: 13.91 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.6478, allocations: 0 / 0.6227 GB, free: 13.91 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001216/0.649, allocations: 0.9433 MB / 0.6236 GB, free: 13.08 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/0.6491, allocations: 107.9 kB / 0.6237 GB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.866e-05/0.6492, allocations: 10.56 kB / 0.6237 GB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002478/0.6494, allocations: 20.48 kB / 0.6237 GB, free: 12.95 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/0.6496, allocations: 46.09 kB / 0.6238 GB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.468e-05/0.6496, allocations: 18.5 kB / 0.6238 GB, free: 12.89 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001634/0.6498, allocations: 169.4 kB / 0.6239 GB, free: 12.75 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6498, allocations: 0 / 0.6239 GB, free: 12.75 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007215/0.6505, allocations: 121.3 kB / 0.6241 GB, free: 12.65 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (J5.phi,J5.w,J3.phi,J3.w,J1.phi,J1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 45 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001726/0.6507, allocations: 122.6 kB / 0.6242 GB, free: 12.53 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001032/0.6517, allocations: 0.718 MB / 0.6249 GB, free: 11.89 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/0.6517, allocations: 0 / 0.6249 GB, free: 11.89 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006227/0.6524, allocations: 0.5654 MB / 0.6254 GB, free: 11.36 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004554/0.6528, allocations: 56.67 kB / 0.6255 GB, free: 11.32 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001523/0.6544, allocations: 0.9145 MB / 0.6264 GB, free: 10.46 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004096/0.6548, allocations: 0.832 MB / 0.6272 GB, free: 9.598 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001335/0.6549, allocations: 27.28 kB / 0.6272 GB, free: 9.57 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.845e-05/0.655, allocations: 38.86 kB / 0.6272 GB, free: 9.535 MB / 426.7 MB Notification: Performance of SimCode: time 9.52e-07/0.655, allocations: 0 / 0.6272 GB, free: 9.535 MB / 426.7 MB Notification: Performance of Templates: time 0.008942/0.664, allocations: 4.017 MB / 0.6312 GB, free: 5.539 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.csv","../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches