Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.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.TestSpeed,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_TestSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.TestSpeed,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_TestSpeed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00122/0.00122, 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.284/1.284, 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.0009938/0.0009938, allocations: 89.88 kB / 292.1 MB, free: 5.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1974/0.1974, allocations: 45.15 MB / 389.3 MB, free: 11.87 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.305e-05/3.314e-05, allocations: 4 kB / 460.5 MB, free: 69.94 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09981/0.09986, allocations: 63.24 MB / 0.5114 GB, free: 6.711 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3729/0.4728, allocations: 89.77 MB / 0.5991 GB, free: 4.137 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001672/0.473, allocations: 59.72 kB / 0.5992 GB, free: 4.109 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01421/0.4872, allocations: 5.003 MB / 0.6041 GB, free: 15.89 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.4873, allocations: 0 / 0.6041 GB, free: 15.89 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.587e-05/0.4873, allocations: 8 kB / 0.6041 GB, free: 15.88 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0007105/0.488, allocations: 0.5282 MB / 0.6046 GB, free: 15.33 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.4881, allocations: 11.97 kB / 0.6046 GB, free: 15.32 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.655e-05/0.4881, allocations: 62.78 kB / 0.6046 GB, free: 15.26 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003099/0.4885, allocations: 59.56 kB / 0.6047 GB, free: 15.2 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003266/0.4888, allocations: 244.8 kB / 0.6049 GB, free: 14.94 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.899e-05/0.4888, allocations: 19.88 kB / 0.605 GB, free: 14.93 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.906e-05/0.4889, allocations: 26.88 kB / 0.605 GB, free: 14.91 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003715/0.4893, allocations: 254.7 kB / 0.6052 GB, free: 14.7 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.07e-05/0.4893, allocations: 7.906 kB / 0.6052 GB, free: 14.69 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.088e-05/0.4893, allocations: 10.62 kB / 0.6052 GB, free: 14.69 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.4893, allocations: 13.08 kB / 0.6053 GB, free: 14.68 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002404/0.4896, allocations: 153.9 kB / 0.6054 GB, free: 14.57 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001494/0.4911, allocations: 1.306 MB / 0.6067 GB, free: 13.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002892/0.4914, allocations: 227.1 kB / 0.6069 GB, free: 13.09 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001065/0.4915, allocations: 80.42 kB / 0.607 GB, free: 13.02 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.271e-05/0.4915, allocations: 4 kB / 0.607 GB, free: 13.01 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/0.4916, allocations: 37.88 kB / 0.607 GB, free: 12.97 MB / 410.7 MB Notification: Performance of pre-optimization done (n=26): time 1.844e-06/0.4916, allocations: 0 / 0.607 GB, free: 12.97 MB / 410.7 MB Notification: Performance of matching and sorting (n=32): time 0.001847/0.4934, allocations: 1.41 MB / 0.6084 GB, free: 11.47 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.11e-05/0.4935, allocations: 136.1 kB / 0.6085 GB, free: 11.31 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001978/0.4937, allocations: 188.6 kB / 0.6087 GB, free: 11.14 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.859e-05/0.4938, allocations: 31.89 kB / 0.6087 GB, free: 11.11 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.4939, allocations: 176.9 kB / 0.6089 GB, free: 10.96 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.079e-05/0.494, allocations: 115.7 kB / 0.609 GB, free: 10.86 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.388e-05/0.494, allocations: 7.375 kB / 0.609 GB, free: 10.86 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.4941, allocations: 345 kB / 0.6093 GB, free: 10.53 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001276/0.4943, allocations: 81.56 kB / 0.6094 GB, free: 10.47 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002153/0.4945, allocations: 202.5 kB / 0.6096 GB, free: 10.25 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001646/0.4947, allocations: 104.6 kB / 0.6097 GB, free: 10.17 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.4947, allocations: 0 / 0.6097 GB, free: 10.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0004784/0.4952, allocations: 335.4 kB / 0.61 GB, free: 9.902 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.4952, allocations: 8.75 kB / 0.61 GB, free: 9.895 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.4952, allocations: 7.938 kB / 0.61 GB, free: 9.887 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.4952, allocations: 8 kB / 0.6101 GB, free: 9.879 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003941/0.4956, allocations: 107.8 kB / 0.6102 GB, free: 9.773 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.519e-05/0.4956, allocations: 12.19 kB / 0.6102 GB, free: 9.762 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002024/0.4959, allocations: 34.48 kB / 0.6102 GB, free: 9.734 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.424e-05/0.4959, allocations: 15.62 kB / 0.6102 GB, free: 9.723 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.957e-05/0.496, allocations: 133.6 kB / 0.6103 GB, free: 9.598 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001016/0.4961, allocations: 35.38 kB / 0.6104 GB, free: 9.566 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.187e-05/0.4962, allocations: 35.52 kB / 0.6104 GB, free: 9.543 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.4962, allocations: 8 kB / 0.6104 GB, free: 9.535 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.4962, allocations: 0 / 0.6104 GB, free: 9.535 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.371e-06/0.4962, allocations: 3.984 kB / 0.6104 GB, free: 9.531 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001141/0.4974, allocations: 0.9285 MB / 0.6113 GB, free: 8.664 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.4974, allocations: 0 / 0.6113 GB, free: 8.664 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003629/0.4977, allocations: 87.88 kB / 0.6114 GB, free: 8.578 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.725e-06/0.4978, allocations: 12.02 kB / 0.6114 GB, free: 8.566 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.103e-05/0.4978, allocations: 11 kB / 0.6114 GB, free: 8.562 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.4978, allocations: 3.984 kB / 0.6114 GB, free: 8.559 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.4978, allocations: 4 kB / 0.6114 GB, free: 8.555 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006304/0.4984, allocations: 0.6977 MB / 0.6121 GB, free: 7.895 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.474e-05/0.4985, allocations: 104.8 kB / 0.6122 GB, free: 7.773 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.439e-05/0.4986, allocations: 7.5 kB / 0.6122 GB, free: 7.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002774/0.4988, allocations: 31.75 kB / 0.6123 GB, free: 7.742 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.289e-05/0.4989, allocations: 27.33 kB / 0.6123 GB, free: 7.719 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.751e-05/0.499, allocations: 15.8 kB / 0.6123 GB, free: 7.707 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001218/0.4991, allocations: 154.6 kB / 0.6125 GB, free: 7.578 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4991, allocations: 0 / 0.6125 GB, free: 7.578 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004461/0.4995, allocations: 63.12 kB / 0.6125 GB, free: 7.523 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (speed4.s,speed3.s,speed3.v,speed1.phi,speed1.w,speed2.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * 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.001075/0.5006, allocations: 1.594 MB / 0.6141 GB, free: 5.98 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003966/0.501, allocations: 218.5 kB / 0.6143 GB, free: 5.816 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.501, allocations: 0 / 0.6143 GB, free: 5.816 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001605/0.5012, allocations: 111.6 kB / 0.6144 GB, free: 5.73 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000412/0.5016, allocations: 42.61 kB / 0.6144 GB, free: 5.703 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001424/0.5031, allocations: 0.7964 MB / 0.6152 GB, free: 4.914 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003785/0.5035, allocations: 0.7761 MB / 0.616 GB, free: 4.102 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001515/0.5036, allocations: 30.95 kB / 0.616 GB, free: 4.07 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001293/0.5038, allocations: 89.91 kB / 0.6161 GB, free: 4.039 MB / 410.7 MB Notification: Performance of SimCode: time 5.61e-07/0.5038, allocations: 0 / 0.6161 GB, free: 4.039 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01797/0.5217, allocations: 4.738 MB / 0.6207 GB, free: 15.42 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002303/0.522, allocations: 136.8 kB / 0.6208 GB, free: 15.2 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.066/2.588, allocations: 0 / 0.6208 GB, free: 15.2 MB / 426.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Rotational_TestSpeed_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Rotational_TestSpeed.fmu > ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed_res.mat does not exist to compare? outputFormat=mat