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.001321/0.001321, allocations: 183.3 kB / 13.19 MB, free: 2.129 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.912/1.912, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.001041/0.001041, allocations: 90.91 kB / 267 MB, free: 9.285 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4244/0.4244, allocations: 43.47 MB / 358.6 MB, free: 51.55 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.181e-05/4.188e-05, allocations: 0 / 425.4 MB, free: 8.117 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1251, allocations: 58.84 MB / 484.2 MB, free: 13.17 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4144/0.5395, allocations: 92.49 MB / 0.5632 GB, free: 12.77 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002255/0.5398, allocations: 67.05 kB / 0.5633 GB, free: 12.75 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03006/0.5699, allocations: 13.69 MB / 0.5767 GB, free: 1.773 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.5699, allocations: 0 / 0.5767 GB, free: 1.773 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.856e-05/0.57, allocations: 24 kB / 0.5767 GB, free: 1.75 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.001198/0.5712, allocations: 0.9174 MB / 0.5776 GB, free: 0.8398 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/0.5712, allocations: 8.031 kB / 0.5776 GB, free: 0.832 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001427/0.5714, allocations: 144.8 kB / 0.5777 GB, free: 0.7422 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001247/0.5715, allocations: 102.8 kB / 0.5778 GB, free: 0.6406 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006432/0.5722, allocations: 0.5496 MB / 0.5784 GB, free: 160 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.044e-05/0.5722, allocations: 66.94 kB / 0.5784 GB, free: 120 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.301e-05/0.5723, allocations: 88.75 kB / 0.5785 GB, free: 60 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001424/0.5737, allocations: 0.8584 MB / 0.5793 GB, free: 15.4 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.22e-05/0.5738, allocations: 7.453 kB / 0.5793 GB, free: 15.4 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.344e-05/0.5739, allocations: 38.25 kB / 0.5794 GB, free: 15.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.025e-05/0.5739, allocations: 20 kB / 0.5794 GB, free: 15.37 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008703/0.5748, allocations: 0.4974 MB / 0.5799 GB, free: 15.03 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003347/0.5781, allocations: 3.629 MB / 0.5834 GB, free: 11.82 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004948/0.5786, allocations: 213.5 kB / 0.5836 GB, free: 11.66 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000147/0.5788, allocations: 101.3 kB / 0.5837 GB, free: 11.59 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002422/0.579, allocations: 247.3 kB / 0.584 GB, free: 11.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/0.5791, allocations: 38.19 kB / 0.584 GB, free: 11.25 MB / 410.7 MB Notification: Performance of pre-optimization done (n=30): time 1.663e-06/0.5791, allocations: 0 / 0.584 GB, free: 11.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=35): time 0.00201/0.5811, allocations: 1.192 MB / 0.5852 GB, free: 10.15 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.456e-05/0.5811, allocations: 63.03 kB / 0.5852 GB, free: 10.08 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003311/0.5815, allocations: 340.7 kB / 0.5856 GB, free: 9.809 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.386e-05/0.5815, allocations: 37.44 kB / 0.5856 GB, free: 9.77 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002277/0.5818, allocations: 466.6 kB / 0.586 GB, free: 9.398 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.585e-05/0.5818, allocations: 133.5 kB / 0.5862 GB, free: 9.285 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.62e-05/0.5819, allocations: 17.5 kB / 0.5862 GB, free: 9.277 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.582, allocations: 360.9 kB / 0.5865 GB, free: 8.938 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001572/0.5822, allocations: 101.1 kB / 0.5866 GB, free: 8.871 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002827/0.5825, allocations: 291.2 kB / 0.5869 GB, free: 8.555 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002379/0.5827, allocations: 166.8 kB / 0.5871 GB, free: 8.438 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.5827, allocations: 0 / 0.5871 GB, free: 8.438 MB / 410.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0006889/0.5834, allocations: 0.4954 MB / 0.5875 GB, free: 8.035 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.5834, allocations: 5.25 kB / 0.5875 GB, free: 8.031 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.5835, allocations: 8 kB / 0.5876 GB, free: 8.023 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001785/0.5836, allocations: 36.34 kB / 0.5876 GB, free: 7.988 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003641/0.584, allocations: 135.8 kB / 0.5877 GB, free: 7.859 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000365/0.5844, allocations: 0.5573 MB / 0.5883 GB, free: 7.293 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001914/0.5846, allocations: 18.62 kB / 0.5883 GB, free: 7.285 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.536e-05/0.5847, allocations: 27.5 kB / 0.5883 GB, free: 7.262 MB / 410.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 () * 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.0001016/0.5848, allocations: 139.1 kB / 0.5884 GB, free: 7.133 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.164e-05/0.5848, allocations: 47.34 kB / 0.5885 GB, free: 7.086 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005216/0.5854, allocations: 327.7 kB / 0.5888 GB, free: 6.848 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.042e-06/0.5854, allocations: 4 kB / 0.5888 GB, free: 6.844 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.5854, allocations: 0 / 0.5888 GB, free: 6.844 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.5854, allocations: 0 / 0.5888 GB, free: 6.844 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001315/0.5867, allocations: 1.053 MB / 0.5898 GB, free: 5.965 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.5867, allocations: 0 / 0.5898 GB, free: 5.965 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003656/0.5871, allocations: 82.95 kB / 0.5899 GB, free: 5.887 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001173/0.5872, allocations: 28.09 kB / 0.5899 GB, free: 5.859 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.386e-05/0.5873, allocations: 10.75 kB / 0.5899 GB, free: 5.855 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002914/0.5876, allocations: 0.552 MB / 0.5905 GB, free: 5.293 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.5876, allocations: 0 / 0.5905 GB, free: 5.293 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006743/0.5883, allocations: 0.5903 MB / 0.5911 GB, free: 4.75 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.806e-05/0.5884, allocations: 120.4 kB / 0.5912 GB, free: 4.613 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.604e-05/0.5884, allocations: 10.69 kB / 0.5912 GB, free: 4.609 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001543/0.5886, allocations: 19.44 kB / 0.5912 GB, free: 4.594 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.574e-05/0.5886, allocations: 27.23 kB / 0.5912 GB, free: 4.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.458e-05/0.5887, allocations: 15.38 kB / 0.5912 GB, free: 4.559 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000235/0.5889, allocations: 264.5 kB / 0.5915 GB, free: 4.352 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5889, allocations: 0 / 0.5915 GB, free: 4.352 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000486/0.5894, allocations: 134.3 kB / 0.5916 GB, free: 4.234 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 () * 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.001067/0.5905, allocations: 1.501 MB / 0.5931 GB, free: 2.793 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005392/0.591, allocations: 307.8 kB / 0.5934 GB, free: 2.566 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.5911, allocations: 0 / 0.5934 GB, free: 2.566 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002151/0.5913, allocations: 135.1 kB / 0.5935 GB, free: 2.469 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003892/0.5917, allocations: 63.83 kB / 0.5936 GB, free: 2.422 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002275/0.594, allocations: 1.479 MB / 0.595 GB, free: 0.9922 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004818/0.5945, allocations: 0.982 MB / 0.596 GB, free: 15.99 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001841/0.5947, allocations: 58.03 kB / 0.596 GB, free: 15.93 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002878/0.595, allocations: 296.3 kB / 0.5963 GB, free: 15.87 MB / 426.7 MB Notification: Performance of SimCode: time 3.31e-07/0.595, allocations: 0 / 0.5963 GB, free: 15.87 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02525/0.6202, allocations: 9.328 MB / 0.6054 GB, free: 6.605 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001994/0.6205, allocations: 179.5 kB / 0.6056 GB, free: 6.379 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.17/2.79, allocations: 0 / 0.6056 GB, free: 6.379 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