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: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_Directions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_Directions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001595/0.001595, allocations: 195.1 kB / 14.16 MB, free: 1.152 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.367/1.367, allocations: 225.4 MB / 240.1 MB, free: 15.11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008705/0.0008707, allocations: 94.31 kB / 292.1 MB, free: 5.992 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2084/0.2084, allocations: 45.14 MB / 389.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.159e-05/3.163e-05, allocations: 0 / 460.5 MB, free: 69.92 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1164, allocations: 63.24 MB / 0.5115 GB, free: 6.707 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4243/0.5408, allocations: 89.06 MB / 0.5984 GB, free: 4.816 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002228/0.541, allocations: 63.22 kB / 0.5985 GB, free: 4.785 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01706/0.5581, allocations: 6.511 MB / 0.6048 GB, free: 15.29 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.5581, allocations: 0 / 0.6048 GB, free: 15.29 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.893e-05/0.5582, allocations: 8 kB / 0.6049 GB, free: 15.28 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.0007735/0.5589, allocations: 0.5851 MB / 0.6054 GB, free: 14.67 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.559, allocations: 15.97 kB / 0.6054 GB, free: 14.66 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.552e-05/0.5591, allocations: 78.14 kB / 0.6055 GB, free: 14.59 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002958/0.5594, allocations: 79.44 kB / 0.6056 GB, free: 14.52 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002911/0.5597, allocations: 269.5 kB / 0.6058 GB, free: 14.23 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.637e-05/0.5597, allocations: 35.39 kB / 0.6059 GB, free: 14.21 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.161e-05/0.5598, allocations: 42.53 kB / 0.6059 GB, free: 14.18 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000538/0.5603, allocations: 355.5 kB / 0.6063 GB, free: 13.93 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/0.5604, allocations: 3.375 kB / 0.6063 GB, free: 13.93 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.299e-05/0.5604, allocations: 22.58 kB / 0.6063 GB, free: 13.92 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/0.5604, allocations: 8 kB / 0.6063 GB, free: 13.91 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003399/0.5608, allocations: 210 kB / 0.6065 GB, free: 13.77 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001393/0.5622, allocations: 1.101 MB / 0.6076 GB, free: 12.81 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004493/0.5626, allocations: 332.4 kB / 0.6079 GB, free: 12.55 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002014/0.5628, allocations: 160.1 kB / 0.608 GB, free: 12.43 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.638e-05/0.5629, allocations: 7.938 kB / 0.608 GB, free: 12.43 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/0.5629, allocations: 38.94 kB / 0.6081 GB, free: 12.38 MB / 410.7 MB Notification: Performance of pre-optimization done (n=39): time 1.553e-06/0.5629, allocations: 0 / 0.6081 GB, free: 12.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=57): time 0.002964/0.5659, allocations: 2.273 MB / 0.6103 GB, free: 10.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.354e-05/0.566, allocations: 106.8 kB / 0.6104 GB, free: 10.03 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002/0.5662, allocations: 214.4 kB / 0.6106 GB, free: 9.84 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.902e-05/0.5662, allocations: 37.2 kB / 0.6106 GB, free: 9.805 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.5663, allocations: 187.8 kB / 0.6108 GB, free: 9.652 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001452/0.5665, allocations: 194 kB / 0.611 GB, free: 9.484 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.063e-05/0.5665, allocations: 13.81 kB / 0.611 GB, free: 9.48 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.5666, allocations: 345.2 kB / 0.6113 GB, free: 9.148 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001834/0.5668, allocations: 109.6 kB / 0.6115 GB, free: 9.082 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002432/0.5671, allocations: 218.5 kB / 0.6117 GB, free: 8.887 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000209/0.5673, allocations: 135.8 kB / 0.6118 GB, free: 8.801 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.5673, allocations: 0 / 0.6118 GB, free: 8.801 MB / 410.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0007985/0.5681, allocations: 0.536 MB / 0.6123 GB, free: 8.379 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.5681, allocations: 4 kB / 0.6123 GB, free: 8.375 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.5682, allocations: 4 kB / 0.6123 GB, free: 8.371 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003251/0.5685, allocations: 119.2 kB / 0.6124 GB, free: 8.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003698/0.5689, allocations: 103.4 kB / 0.6125 GB, free: 8.172 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003663/0.5725, allocations: 4.658 MB / 0.6171 GB, free: 3.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002047/0.5728, allocations: 27.86 kB / 0.6171 GB, free: 3.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.751e-05/0.5728, allocations: 18.94 kB / 0.6171 GB, free: 3.488 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.000114/0.5729, allocations: 130.7 kB / 0.6173 GB, free: 3.367 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.191e-05/0.573, allocations: 39.14 kB / 0.6173 GB, free: 3.332 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.112e-05/0.5731, allocations: 46.77 kB / 0.6173 GB, free: 3.309 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/0.5731, allocations: 8 kB / 0.6173 GB, free: 3.301 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.053e-05/0.5731, allocations: 4 kB / 0.6173 GB, free: 3.297 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.859e-06/0.5731, allocations: 11.97 kB / 0.6174 GB, free: 3.285 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001685/0.5748, allocations: 1.302 MB / 0.6186 GB, free: 2.176 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.5749, allocations: 8.031 kB / 0.6186 GB, free: 2.168 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003927/0.5753, allocations: 99.75 kB / 0.6187 GB, free: 2.074 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002485/0.5755, allocations: 88.28 kB / 0.6188 GB, free: 1.992 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.48e-05/0.5756, allocations: 11 kB / 0.6188 GB, free: 1.988 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003008/0.5786, allocations: 4.101 MB / 0.6228 GB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.5786, allocations: 4.031 kB / 0.6228 GB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001057/0.5796, allocations: 0.9408 MB / 0.6238 GB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.059e-05/0.5798, allocations: 104.7 kB / 0.6239 GB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.068e-05/0.5798, allocations: 21.92 kB / 0.6239 GB, free: 12.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002404/0.58, allocations: 15.06 kB / 0.6239 GB, free: 12.77 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.948e-05/0.5801, allocations: 39.44 kB / 0.6239 GB, free: 12.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.486e-05/0.5802, allocations: 15.44 kB / 0.6239 GB, free: 12.72 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001505/0.5803, allocations: 173.1 kB / 0.6241 GB, free: 12.57 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.433e-06/0.5803, allocations: 0 / 0.6241 GB, free: 12.57 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006348/0.581, allocations: 129.6 kB / 0.6242 GB, free: 12.47 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.001518/0.5825, allocations: 1.845 MB / 0.626 GB, free: 10.76 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001067/0.5836, allocations: 0.7222 MB / 0.6267 GB, free: 10.12 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.5836, allocations: 0 / 0.6267 GB, free: 10.12 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006432/0.5843, allocations: 0.5584 MB / 0.6273 GB, free: 9.59 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004323/0.5847, allocations: 51.2 kB / 0.6273 GB, free: 9.559 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001691/0.5864, allocations: 1.01 MB / 0.6283 GB, free: 8.602 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003946/0.5868, allocations: 0.8281 MB / 0.6291 GB, free: 7.746 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001234/0.5869, allocations: 35.27 kB / 0.6292 GB, free: 7.711 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001512/0.5871, allocations: 130.5 kB / 0.6293 GB, free: 7.672 MB / 426.7 MB Notification: Performance of SimCode: time 4.1e-07/0.5871, allocations: 0 / 0.6293 GB, free: 7.672 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02129/0.6084, allocations: 7.485 MB / 0.6366 GB, free: 360 kB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001916/0.6086, allocations: 177.4 kB / 0.6368 GB, free: 128 kB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.034/2.643, allocations: 0 / 0.6368 GB, free: 128 kB / 426.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_Directions_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_Directions.fmu > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat does not exist to compare? outputFormat=mat