Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.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) 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(Modelica.Mechanics.Rotational.Examples.FirstGrounded,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_FirstGrounded",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.FirstGrounded,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_FirstGrounded",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.001165/0.001165, allocations: 172.9 kB / 14.1 MB, free: 1.223 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.426/1.426, allocations: 205.2 MB / 219.8 MB, free: 14.21 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.0007491/0.0007494, allocations: 78.73 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.493e-05/2.499e-05, allocations: 0 / 322.5 MB, free: 17.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08179/0.08183, allocations: 47.57 MB / 370.1 MB, free: 1.621 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2891/0.371, allocations: 77.49 MB / 447.6 MB, free: 15.8 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000176/0.3712, allocations: 70.77 kB / 447.7 MB, free: 15.76 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009678/0.3809, allocations: 3.791 MB / 451.5 MB, free: 12.6 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3809, allocations: 0 / 451.5 MB, free: 12.6 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.367e-05/0.381, allocations: 4 kB / 451.5 MB, free: 12.59 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0005445/0.3815, allocations: 477.7 kB / 451.9 MB, free: 12.09 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.3816, allocations: 8.797 kB / 451.9 MB, free: 12.09 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.404e-05/0.3816, allocations: 59.59 kB / 452 MB, free: 12.03 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.241e-05/0.3817, allocations: 23.72 kB / 452 MB, free: 12.01 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002328/0.3819, allocations: 222 kB / 452.2 MB, free: 11.76 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.803e-05/0.3819, allocations: 15.95 kB / 452.3 MB, free: 11.75 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.875e-05/0.382, allocations: 26.22 kB / 452.3 MB, free: 11.73 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003004/0.3823, allocations: 202.3 kB / 452.5 MB, free: 11.57 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.3823, allocations: 9.328 kB / 452.5 MB, free: 11.57 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.758e-05/0.3823, allocations: 9.25 kB / 452.5 MB, free: 11.57 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.3824, allocations: 4 kB / 452.5 MB, free: 11.56 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001871/0.3825, allocations: 107.5 kB / 452.6 MB, free: 11.49 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009067/0.3835, allocations: 0.7109 MB / 453.3 MB, free: 10.84 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002085/0.3837, allocations: 138.8 kB / 453.4 MB, free: 10.74 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.274e-05/0.3838, allocations: 62.42 kB / 453.5 MB, free: 10.7 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.241e-05/0.3838, allocations: 4 kB / 453.5 MB, free: 10.69 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.209e-05/0.3839, allocations: 34.91 kB / 453.5 MB, free: 10.65 MB / 330.7 MB Notification: Performance of pre-optimization done (n=20): time 1.473e-06/0.3839, allocations: 0 / 453.5 MB, free: 10.65 MB / 330.7 MB Notification: Performance of matching and sorting (n=24): time 0.001238/0.3851, allocations: 0.8071 MB / 454.4 MB, free: 9.863 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.065e-05/0.3851, allocations: 55.41 kB / 454.4 MB, free: 9.797 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/0.3853, allocations: 163.7 kB / 454.6 MB, free: 9.641 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.3853, allocations: 29.27 kB / 454.6 MB, free: 9.609 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.889e-05/0.3854, allocations: 141.1 kB / 454.7 MB, free: 9.484 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.196e-05/0.3855, allocations: 87.56 kB / 454.8 MB, free: 9.41 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.754e-06/0.3855, allocations: 3.25 kB / 454.8 MB, free: 9.41 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.3856, allocations: 332.3 kB / 455.1 MB, free: 9.086 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.05e-05/0.3857, allocations: 48.44 kB / 455.2 MB, free: 9.055 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001108/0.3858, allocations: 101.2 kB / 455.3 MB, free: 8.961 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001026/0.3859, allocations: 74.72 kB / 455.4 MB, free: 8.91 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.3859, allocations: 0 / 455.4 MB, free: 8.91 MB / 330.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003478/0.3863, allocations: 238 kB / 455.6 MB, free: 8.715 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.3863, allocations: 4 kB / 455.6 MB, free: 8.711 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.3863, allocations: 0 / 455.6 MB, free: 8.711 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001466/0.3864, allocations: 39.77 kB / 455.6 MB, free: 8.676 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000202/0.3867, allocations: 51.91 kB / 455.7 MB, free: 8.625 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00107/0.3877, allocations: 1.382 MB / 457.1 MB, free: 7.191 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001041/0.3879, allocations: 7.688 kB / 457.1 MB, free: 7.188 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.499e-05/0.3879, allocations: 8 kB / 457.1 MB, free: 7.18 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 27 * 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: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.527e-05/0.388, allocations: 127.5 kB / 457.2 MB, free: 7.059 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.786e-05/0.388, allocations: 19.81 kB / 457.2 MB, free: 7.039 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.723e-05/0.3881, allocations: 22.34 kB / 457.3 MB, free: 7.031 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.3881, allocations: 0 / 457.3 MB, free: 7.031 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.3881, allocations: 0 / 457.3 MB, free: 7.031 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.3881, allocations: 11.94 kB / 457.3 MB, free: 7.02 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007699/0.3889, allocations: 0.6372 MB / 457.9 MB, free: 6.414 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.3889, allocations: 0 / 457.9 MB, free: 6.414 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002057/0.3891, allocations: 43.92 kB / 457.9 MB, free: 6.371 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001017/0.3892, allocations: 35.2 kB / 458 MB, free: 6.34 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.385e-05/0.3892, allocations: 6.5 kB / 458 MB, free: 6.336 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009357/0.3902, allocations: 1.381 MB / 459.4 MB, free: 4.859 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.3902, allocations: 7.984 kB / 459.4 MB, free: 4.852 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004437/0.3906, allocations: 409.8 kB / 459.8 MB, free: 4.414 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.723e-05/0.3907, allocations: 88.92 kB / 459.9 MB, free: 4.309 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.13e-05/0.3907, allocations: 8 kB / 459.9 MB, free: 4.301 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.3909, allocations: 12.03 kB / 459.9 MB, free: 4.289 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.161e-05/0.3909, allocations: 15.98 kB / 459.9 MB, free: 4.273 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.3909, allocations: 4 kB / 459.9 MB, free: 4.27 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.579e-05/0.391, allocations: 140.8 kB / 460 MB, free: 4.133 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.391, allocations: 0 / 460 MB, free: 4.133 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002845/0.3913, allocations: 60 kB / 460.1 MB, free: 4.074 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (inertia3.phi,inertia3.w,damper.phi_rel,damper.w_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 20 * 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: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007418/0.3921, allocations: 1.083 MB / 461.2 MB, free: 2.945 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004508/0.3925, allocations: 278.4 kB / 461.5 MB, free: 2.66 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.3925, allocations: 0 / 461.5 MB, free: 2.66 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002463/0.3928, allocations: 206.5 kB / 461.7 MB, free: 2.445 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002983/0.3931, allocations: 34.59 kB / 461.7 MB, free: 2.414 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001049/0.3942, allocations: 0.6052 MB / 462.3 MB, free: 1.77 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003268/0.3945, allocations: 0.7522 MB / 463 MB, free: 0.9883 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.455e-05/0.3946, allocations: 22.06 kB / 463.1 MB, free: 0.9648 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.182e-05/0.3947, allocations: 67.41 kB / 463.1 MB, free: 0.8984 MB / 330.7 MB Notification: Performance of SimCode: time 3.1e-07/0.3947, allocations: 0 / 463.1 MB, free: 0.8984 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01548/0.4102, allocations: 4.208 MB / 467.3 MB, free: 12.7 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002245/0.4104, allocations: 181.9 kB / 467.5 MB, free: 12.46 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.609/2.019, allocations: 0 / 467.5 MB, free: 12.46 MB / 346.7 MB (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_FirstGrounded_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_FirstGrounded.fmu > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat does not exist to compare? outputFormat=mat