Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.GenerationOfFMUs,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.GenerationOfFMUs,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001148/0.001149, allocations: 183.4 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.741/1.741, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001265/0.001265, allocations: 90.84 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.234/0.234, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003445/0.0003446, allocations: 8 kB / 431.5 MB, free: 19.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1365, allocations: 58.85 MB / 490.3 MB, free: 8.59 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4406/0.5772, allocations: 92.58 MB / 0.5693 GB, free: 7.234 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000236/0.5775, allocations: 72.53 kB / 0.5693 GB, free: 7.199 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03377/0.6113, allocations: 13.71 MB / 0.5827 GB, free: 11.81 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.6113, allocations: 0 / 0.5827 GB, free: 11.81 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.189e-05/0.6114, allocations: 27.98 kB / 0.5827 GB, free: 11.78 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.002472/0.6139, allocations: 0.9601 MB / 0.5837 GB, free: 10.83 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.006e-05/0.614, allocations: 8.031 kB / 0.5837 GB, free: 10.82 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003509/0.6143, allocations: 149.5 kB / 0.5838 GB, free: 10.72 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002161/0.6146, allocations: 98.78 kB / 0.5839 GB, free: 10.62 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009846/0.6156, allocations: 0.5492 MB / 0.5845 GB, free: 10.14 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.342e-05/0.6156, allocations: 68.56 kB / 0.5845 GB, free: 10.1 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001157/0.6158, allocations: 93.88 kB / 0.5846 GB, free: 10.04 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001423/0.6172, allocations: 0.8705 MB / 0.5855 GB, free: 9.367 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.603e-05/0.6172, allocations: 22.72 kB / 0.5855 GB, free: 9.348 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.633e-05/0.6173, allocations: 40.62 kB / 0.5855 GB, free: 9.336 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.135e-05/0.6173, allocations: 20 kB / 0.5855 GB, free: 9.316 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009731/0.6183, allocations: 0.5202 MB / 0.5861 GB, free: 8.953 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003704/0.622, allocations: 3.628 MB / 0.5896 GB, free: 5.742 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004998/0.6226, allocations: 224.7 kB / 0.5898 GB, free: 5.574 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002432/0.6228, allocations: 255.2 kB / 0.5901 GB, free: 5.273 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/0.6229, allocations: 34.56 kB / 0.5901 GB, free: 5.23 MB / 394.7 MB Notification: Performance of pre-optimization done (n=30): time 4.378e-06/0.6229, allocations: 0 / 0.5901 GB, free: 5.23 MB / 394.7 MB Notification: Performance of matching and sorting (n=35): time 0.002341/0.6252, allocations: 1.309 MB / 0.5914 GB, free: 4.062 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.579e-05/0.6253, allocations: 59.41 kB / 0.5914 GB, free: 3.992 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003774/0.6257, allocations: 349.9 kB / 0.5918 GB, free: 3.707 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.6257, allocations: 33.45 kB / 0.5918 GB, free: 3.672 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002721/0.626, allocations: 464.5 kB / 0.5922 GB, free: 3.301 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.386e-05/0.6261, allocations: 139 kB / 0.5924 GB, free: 3.184 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.601e-05/0.6261, allocations: 10.94 kB / 0.5924 GB, free: 3.184 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.6262, allocations: 359.2 kB / 0.5927 GB, free: 2.844 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001928/0.6264, allocations: 112.8 kB / 0.5928 GB, free: 2.766 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003065/0.6268, allocations: 311.3 kB / 0.5931 GB, free: 2.434 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002528/0.627, allocations: 159.3 kB / 0.5933 GB, free: 2.34 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.627, allocations: 4 kB / 0.5933 GB, free: 2.336 MB / 394.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0007503/0.6278, allocations: 0.5167 MB / 0.5938 GB, free: 1.93 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.67e-05/0.6278, allocations: 11.98 kB / 0.5938 GB, free: 1.918 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/0.6278, allocations: 8 kB / 0.5938 GB, free: 1.91 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001787/0.628, allocations: 36.66 kB / 0.5938 GB, free: 1.875 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003661/0.6284, allocations: 119.3 kB / 0.5939 GB, free: 1.762 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003706/0.6288, allocations: 0.5578 MB / 0.5945 GB, free: 1.195 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001978/0.629, allocations: 27.44 kB / 0.5945 GB, free: 1.176 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.776e-05/0.6291, allocations: 27 kB / 0.5945 GB, free: 1.156 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (68): * Single equations (assignments): 67 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003641/0.6294, allocations: 237 kB / 0.5948 GB, free: 0.9727 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.41e-05/0.6295, allocations: 47.44 kB / 0.5948 GB, free: 0.9258 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006019/0.6301, allocations: 338.3 kB / 0.5951 GB, free: 0.6836 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/0.6301, allocations: 7.984 kB / 0.5951 GB, free: 0.6758 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.6301, allocations: 0 / 0.5951 GB, free: 0.6758 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.6302, allocations: 0 / 0.5951 GB, free: 0.6758 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001505/0.6317, allocations: 1.059 MB / 0.5962 GB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.268e-06/0.6317, allocations: 15.88 kB / 0.5962 GB, free: 15.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003519/0.6321, allocations: 71.22 kB / 0.5963 GB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001363/0.6322, allocations: 36.03 kB / 0.5963 GB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.727e-05/0.6322, allocations: 18.95 kB / 0.5963 GB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003179/0.6326, allocations: 0.5453 MB / 0.5968 GB, free: 15.11 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.6326, allocations: 0 / 0.5968 GB, free: 15.11 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000773/0.6334, allocations: 0.6204 MB / 0.5975 GB, free: 14.55 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/0.6335, allocations: 124.4 kB / 0.5976 GB, free: 14.41 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.606e-05/0.6335, allocations: 7.688 kB / 0.5976 GB, free: 14.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00015/0.6337, allocations: 10.44 kB / 0.5976 GB, free: 14.4 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.434e-05/0.6338, allocations: 27.5 kB / 0.5976 GB, free: 14.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-05/0.6338, allocations: 19.94 kB / 0.5976 GB, free: 14.36 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002658/0.6341, allocations: 261.9 kB / 0.5979 GB, free: 14.15 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6341, allocations: 4 kB / 0.5979 GB, free: 14.15 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005513/0.6346, allocations: 137.4 kB / 0.598 GB, free: 14.03 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 10 (directInertia.inertia.w,directInertia.torqueToAngle.phi,inertia2a.w,torqueToAngle2a.y,inertia2b.w,torqueToAngle2b.y,inertia3a.phi,inertia3a.w,inertia3b.phi,inertia3b.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 (33): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001187/0.6358, allocations: 1.532 MB / 0.5995 GB, free: 12.57 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005789/0.6364, allocations: 328.5 kB / 0.5998 GB, free: 12.32 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.6364, allocations: 0 / 0.5998 GB, free: 12.32 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002443/0.6367, allocations: 147.3 kB / 0.6 GB, free: 12.21 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003831/0.6371, allocations: 64.56 kB / 0.6 GB, free: 12.17 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006747/0.6438, allocations: 7.841 MB / 0.6077 GB, free: 4.555 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005871/0.6444, allocations: 0.9778 MB / 0.6086 GB, free: 3.559 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002181/0.6447, allocations: 61.03 kB / 0.6087 GB, free: 3.496 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002784/0.645, allocations: 295.7 kB / 0.609 GB, free: 3.43 MB / 410.7 MB Notification: Performance of SimCode: time 1.202e-06/0.645, allocations: 0 / 0.609 GB, free: 3.43 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02796/0.6729, allocations: 9.305 MB / 0.6181 GB, free: 10.17 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003616/0.6734, allocations: 193.6 kB / 0.6183 GB, free: 9.938 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.09/2.763, allocations: 0 / 0.6183 GB, free: 9.938 MB / 426.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Rotational_GenerationOfFMUs_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Rotational_GenerationOfFMUs.fmu > ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs_res.mat does not exist to compare? outputFormat=mat