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/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.Directions3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00192/0.00192, allocations: 197.5 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.508/1.508, allocations: 227.2 MB / 245 MB, free: 7.594 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001165/0.001165, allocations: 100.6 kB / 297.3 MB, free: 6.184 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.39/0.39, allocations: 45.22 MB / 394.6 MB, free: 31.65 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002598/0.0002599, allocations: 8.219 kB / 468.5 MB, free: 7.633 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.372/0.3723, allocations: 63.25 MB / 0.5193 GB, free: 43.33 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1055/0.4779, allocations: 86.88 MB / 0.6041 GB, free: 2.625 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002458/0.4782, allocations: 75.92 kB / 0.6042 GB, free: 2.555 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00555/0.4837, allocations: 2.061 MB / 0.6062 GB, free: 0.5117 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.475e-06/0.4838, allocations: 0 / 0.6062 GB, free: 0.5117 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.257e-05/0.4838, allocations: 4 kB / 0.6062 GB, free: 0.5078 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0004509/0.4842, allocations: 392.6 kB / 0.6066 GB, free: 76 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.4843, allocations: 8.031 kB / 0.6066 GB, free: 68 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.518e-05/0.4844, allocations: 43.11 kB / 0.6066 GB, free: 16 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.265e-05/0.4844, allocations: 7.906 kB / 0.6066 GB, free: 8 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001594/0.4846, allocations: 175.7 kB / 0.6068 GB, free: 15.8 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.4846, allocations: 12.23 kB / 0.6068 GB, free: 15.79 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.196e-05/0.4846, allocations: 18.72 kB / 0.6068 GB, free: 15.77 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002255/0.4849, allocations: 128.9 kB / 0.607 GB, free: 15.63 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.4849, allocations: 4 kB / 0.607 GB, free: 15.63 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.4849, allocations: 4 kB / 0.607 GB, free: 15.62 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.4849, allocations: 4 kB / 0.607 GB, free: 15.62 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001073/0.485, allocations: 54.66 kB / 0.607 GB, free: 15.57 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007715/0.4858, allocations: 0.5536 MB / 0.6076 GB, free: 14.96 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001195/0.4859, allocations: 81.23 kB / 0.6076 GB, free: 14.86 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.337e-05/0.486, allocations: 4 kB / 0.6076 GB, free: 14.86 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/0.486, allocations: 38.5 kB / 0.6077 GB, free: 14.81 MB / 426.7 MB Notification: Performance of pre-optimization done (n=8): time 1.312e-06/0.486, allocations: 0 / 0.6077 GB, free: 14.81 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005722/0.4866, allocations: 301.5 kB / 0.608 GB, free: 14.47 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.715e-05/0.4866, allocations: 81.06 kB / 0.608 GB, free: 14.37 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.967e-05/0.4867, allocations: 122.7 kB / 0.6082 GB, free: 14.25 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/0.4868, allocations: 25.7 kB / 0.6082 GB, free: 14.21 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.719e-05/0.4868, allocations: 119.7 kB / 0.6083 GB, free: 14.09 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.897e-05/0.4869, allocations: 35.53 kB / 0.6083 GB, free: 14.06 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.089e-06/0.4869, allocations: 4 kB / 0.6083 GB, free: 14.05 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.487, allocations: 320 kB / 0.6086 GB, free: 13.73 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.885e-05/0.487, allocations: 16 kB / 0.6087 GB, free: 13.72 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.572e-05/0.4871, allocations: 98.75 kB / 0.6087 GB, free: 13.59 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.873e-05/0.4872, allocations: 36.36 kB / 0.6088 GB, free: 13.56 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.4872, allocations: 0 / 0.6088 GB, free: 13.56 MB / 426.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002669/0.4875, allocations: 171 kB / 0.6089 GB, free: 13.38 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.4875, allocations: 7.953 kB / 0.609 GB, free: 13.37 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.4875, allocations: 7.938 kB / 0.609 GB, free: 13.36 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001714/0.4877, allocations: 37.95 kB / 0.609 GB, free: 13.32 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.301e-05/0.4878, allocations: 19.94 kB / 0.609 GB, free: 13.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001767/0.4896, allocations: 2.544 MB / 0.6115 GB, free: 10.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.227e-05/0.4896, allocations: 15.97 kB / 0.6115 GB, free: 10.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.4897, allocations: 4 kB / 0.6115 GB, free: 10.48 MB / 426.7 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.0001074/0.4898, allocations: 129.7 kB / 0.6116 GB, free: 10.34 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.543e-05/0.4898, allocations: 11.86 kB / 0.6117 GB, free: 10.33 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.327e-05/0.4899, allocations: 15.98 kB / 0.6117 GB, free: 10.31 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.4899, allocations: 0 / 0.6117 GB, free: 10.31 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.4899, allocations: 0 / 0.6117 GB, free: 10.31 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.4899, allocations: 0 / 0.6117 GB, free: 10.31 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002424/0.4901, allocations: 205.6 kB / 0.6119 GB, free: 10.06 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.4901, allocations: 0 / 0.6119 GB, free: 10.06 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.688e-05/0.4902, allocations: 15.98 kB / 0.6119 GB, free: 10.05 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.201e-05/0.4903, allocations: 37.66 kB / 0.6119 GB, free: 10 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.4904, allocations: 0 / 0.6119 GB, free: 10 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001641/0.492, allocations: 2.553 MB / 0.6144 GB, free: 7.184 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.492, allocations: 0 / 0.6144 GB, free: 7.184 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002921/0.4923, allocations: 326.2 kB / 0.6147 GB, free: 6.836 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.778e-05/0.4924, allocations: 84.95 kB / 0.6148 GB, free: 6.734 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.274e-05/0.4924, allocations: 4 kB / 0.6148 GB, free: 6.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.783e-05/0.4925, allocations: 0 / 0.6148 GB, free: 6.73 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.661e-05/0.4925, allocations: 20.06 kB / 0.6148 GB, free: 6.711 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.57e-06/0.4925, allocations: 4 kB / 0.6148 GB, free: 6.707 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.723e-05/0.4926, allocations: 92.69 kB / 0.6149 GB, free: 6.617 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4926, allocations: 0 / 0.6149 GB, free: 6.617 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003361/0.4929, allocations: 35.91 kB / 0.6149 GB, free: 6.582 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (J1.phi,J2.w,J3.phi,J4.w) * 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.0005719/0.4935, allocations: 0.9281 MB / 0.6159 GB, free: 5.617 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003597/0.4939, allocations: 284.3 kB / 0.6161 GB, free: 5.316 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.4939, allocations: 0 / 0.6161 GB, free: 5.316 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002329/0.4941, allocations: 261.3 kB / 0.6164 GB, free: 5.035 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002996/0.4944, allocations: 25.5 kB / 0.6164 GB, free: 5.012 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001708/0.4962, allocations: 2.362 MB / 0.6187 GB, free: 2.559 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002529/0.4964, allocations: 0.72 MB / 0.6194 GB, free: 1.812 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.806e-05/0.4965, allocations: 8.875 kB / 0.6194 GB, free: 1.801 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.402e-05/0.4965, allocations: 31.42 kB / 0.6194 GB, free: 1.773 MB / 426.7 MB Notification: Performance of SimCode: time 3.4e-07/0.4965, allocations: 0 / 0.6194 GB, free: 1.773 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01648/0.513, allocations: 2.635 MB / 0.622 GB, free: 15.33 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002348/0.5133, allocations: 204.3 kB / 0.6222 GB, free: 15.09 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.601/2.115, allocations: 3.938 kB / 0.6222 GB, free: 15.09 MB / 442.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_Directions3_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_Directions3.fmu > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat does not exist to compare? outputFormat=mat