Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2.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.Directions2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_Directions2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_Directions2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001413/0.001413, allocations: 196.7 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.338/1.338, allocations: 225.4 MB / 240.1 MB, free: 15.13 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009651/0.0009652, allocations: 93.44 kB / 292.1 MB, free: 5.938 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2113/0.2113, allocations: 45.15 MB / 389.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.946e-05/3.956e-05, allocations: 4 kB / 460.5 MB, free: 69.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.118, allocations: 63.25 MB / 0.5115 GB, free: 6.68 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4324/0.5504, allocations: 89.04 MB / 0.5984 GB, free: 4.766 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001939/0.5507, allocations: 68.66 kB / 0.5985 GB, free: 4.73 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01731/0.568, allocations: 6.346 MB / 0.6047 GB, free: 15.43 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.568, allocations: 0 / 0.6047 GB, free: 15.43 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.723e-05/0.5681, allocations: 12 kB / 0.6047 GB, free: 15.42 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001002/0.5691, allocations: 0.5627 MB / 0.6052 GB, free: 14.83 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/0.5691, allocations: 11.97 kB / 0.6052 GB, free: 14.82 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001183/0.5693, allocations: 74.47 kB / 0.6053 GB, free: 14.76 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002774/0.5695, allocations: 71.45 kB / 0.6054 GB, free: 14.69 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003127/0.5699, allocations: 244.8 kB / 0.6056 GB, free: 14.43 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.448e-05/0.5699, allocations: 35.22 kB / 0.6057 GB, free: 14.41 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.846e-05/0.57, allocations: 47.77 kB / 0.6057 GB, free: 14.38 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005753/0.5706, allocations: 367.1 kB / 0.606 GB, free: 14.08 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.321e-05/0.5706, allocations: 11.89 kB / 0.6061 GB, free: 14.07 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.39e-05/0.5707, allocations: 26.95 kB / 0.6061 GB, free: 14.05 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.325e-05/0.5707, allocations: 12 kB / 0.6061 GB, free: 14.04 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003239/0.571, allocations: 196.7 kB / 0.6063 GB, free: 13.91 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00227/0.5733, allocations: 1.714 MB / 0.608 GB, free: 12.29 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003909/0.5737, allocations: 253.4 kB / 0.6082 GB, free: 12.01 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001358/0.5738, allocations: 85.39 kB / 0.6083 GB, free: 11.92 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.388e-05/0.5739, allocations: 0 / 0.6083 GB, free: 11.92 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.734e-05/0.5739, allocations: 46.38 kB / 0.6083 GB, free: 11.87 MB / 410.7 MB Notification: Performance of pre-optimization done (n=26): time 1.323e-06/0.5739, allocations: 0 / 0.6083 GB, free: 11.87 MB / 410.7 MB Notification: Performance of matching and sorting (n=26): time 0.0004679/0.5744, allocations: 190.2 kB / 0.6085 GB, free: 11.7 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000111/0.5745, allocations: 216.7 kB / 0.6087 GB, free: 11.45 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002251/0.5748, allocations: 237.7 kB / 0.6089 GB, free: 11.25 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.283e-05/0.5748, allocations: 29.02 kB / 0.609 GB, free: 11.21 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00014/0.5749, allocations: 239.2 kB / 0.6092 GB, free: 11 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.066e-05/0.575, allocations: 117.5 kB / 0.6093 GB, free: 10.91 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.854e-05/0.575, allocations: 13.5 kB / 0.6093 GB, free: 10.9 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.5752, allocations: 350.2 kB / 0.6097 GB, free: 10.57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001444/0.5753, allocations: 80.31 kB / 0.6097 GB, free: 10.51 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003361/0.5757, allocations: 420.1 kB / 0.6101 GB, free: 9.988 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002294/0.5759, allocations: 153.1 kB / 0.6103 GB, free: 9.875 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.885e-06/0.5759, allocations: 4 kB / 0.6103 GB, free: 9.871 MB / 410.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0007077/0.5766, allocations: 0.5048 MB / 0.6108 GB, free: 9.449 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/0.5767, allocations: 8 kB / 0.6108 GB, free: 9.441 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.518e-05/0.5767, allocations: 12 kB / 0.6108 GB, free: 9.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.938e-05/0.5767, allocations: 16 kB / 0.6108 GB, free: 9.414 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004398/0.5772, allocations: 155.4 kB / 0.611 GB, free: 9.266 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.215e-05/0.5772, allocations: 27.92 kB / 0.611 GB, free: 9.238 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003052/0.5775, allocations: 65.73 kB / 0.611 GB, free: 9.184 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.426e-05/0.5776, allocations: 31.5 kB / 0.6111 GB, free: 9.156 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 71 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001009/0.5777, allocations: 146 kB / 0.6112 GB, free: 9.02 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001528/0.5778, allocations: 34.94 kB / 0.6112 GB, free: 8.988 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.618e-05/0.5779, allocations: 38.97 kB / 0.6113 GB, free: 8.965 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.5779, allocations: 4 kB / 0.6113 GB, free: 8.961 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.5779, allocations: 4 kB / 0.6113 GB, free: 8.957 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.578, allocations: 7.984 kB / 0.6113 GB, free: 8.949 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001317/0.5793, allocations: 0.6393 MB / 0.6119 GB, free: 8.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.5793, allocations: 4 kB / 0.6119 GB, free: 8.316 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00045/0.5798, allocations: 91.38 kB / 0.612 GB, free: 8.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.043e-05/0.5798, allocations: 4.062 kB / 0.612 GB, free: 8.227 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.766e-05/0.5798, allocations: 15.81 kB / 0.612 GB, free: 8.215 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-06/0.5798, allocations: 4 kB / 0.612 GB, free: 8.211 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/0.5798, allocations: 7.938 kB / 0.612 GB, free: 8.203 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007896/0.5806, allocations: 0.8993 MB / 0.6129 GB, free: 7.285 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001041/0.5808, allocations: 104.8 kB / 0.613 GB, free: 7.164 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.462e-05/0.5808, allocations: 11.33 kB / 0.613 GB, free: 7.156 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003726/0.5812, allocations: 18.8 kB / 0.6131 GB, free: 7.141 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.14e-05/0.5813, allocations: 24.28 kB / 0.6131 GB, free: 7.121 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.646e-05/0.5813, allocations: 10.56 kB / 0.6131 GB, free: 7.113 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001579/0.5815, allocations: 180.4 kB / 0.6133 GB, free: 6.969 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5815, allocations: 0 / 0.6133 GB, free: 6.969 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007541/0.5822, allocations: 102.1 kB / 0.6134 GB, free: 6.879 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 18 (inertia5.phi,inertia5.w,inertia6.phi,inertia6.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,inertia2.phi,inertia2.w,inertia1.phi,inertia1.w,J6.phi,J6.w,J4.phi,J4.w,J2.phi,J2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001209/0.5835, allocations: 2.001 MB / 0.6153 GB, free: 4.875 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005174/0.584, allocations: 261.4 kB / 0.6156 GB, free: 4.672 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.584, allocations: 0 / 0.6156 GB, free: 4.672 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001221/0.5841, allocations: 77.92 kB / 0.6156 GB, free: 4.609 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006788/0.5848, allocations: 73.64 kB / 0.6157 GB, free: 4.555 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002745/0.5876, allocations: 1.63 MB / 0.6173 GB, free: 2.93 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004417/0.588, allocations: 0.8072 MB / 0.6181 GB, free: 2.098 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001993/0.5882, allocations: 47.25 kB / 0.6181 GB, free: 2.047 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001258/0.5884, allocations: 111.2 kB / 0.6182 GB, free: 2.012 MB / 410.7 MB Notification: Performance of SimCode: time 8.01e-07/0.5884, allocations: 0 / 0.6182 GB, free: 2.012 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01912/0.6075, allocations: 5.934 MB / 0.624 GB, free: 12.23 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002288/0.6078, allocations: 155.4 kB / 0.6242 GB, free: 12.01 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.886/2.494, allocations: 0 / 0.6242 GB, free: 12.01 MB / 426.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_Directions2_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_Directions2.fmu > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2_res.mat does not exist to compare? outputFormat=mat