Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.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) 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(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Integrator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Integrator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001081/0.001081, allocations: 197.8 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.202/1.202, allocations: 227.2 MB / 245 MB, free: 5.797 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008003/0.0008004, allocations: 106.1 kB / 297.3 MB, free: 5.965 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002187/0.0002189, allocations: 8 kB / 358 MB, free: 9.215 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1893/0.1895, allocations: 51.49 MB / 409.5 MB, free: 26.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08939/0.279, allocations: 82.32 MB / 491.8 MB, free: 8.16 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002011/0.2792, allocations: 83.95 kB / 491.9 MB, free: 8.078 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01645/0.2957, allocations: 6.368 MB / 498.3 MB, free: 1.688 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2957, allocations: 0 / 498.3 MB, free: 1.688 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.483e-05/0.2957, allocations: 4 kB / 498.3 MB, free: 1.684 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0009862/0.2967, allocations: 0.6221 MB / 498.9 MB, free: 1.008 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.2967, allocations: 11.97 kB / 498.9 MB, free: 0.9961 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.719e-05/0.2968, allocations: 62.55 kB / 499 MB, free: 0.9258 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.576e-05/0.2969, allocations: 36.3 kB / 499 MB, free: 0.8906 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003228/0.2972, allocations: 291.9 kB / 499.3 MB, free: 0.5625 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/0.2972, allocations: 16.56 kB / 499.3 MB, free: 0.5469 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.483e-05/0.2973, allocations: 24 kB / 499.3 MB, free: 0.5234 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006372/0.2979, allocations: 323.6 kB / 499.7 MB, free: 200 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.298, allocations: 3.938 kB / 499.7 MB, free: 196 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.573e-05/0.298, allocations: 11.94 kB / 499.7 MB, free: 184 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.298, allocations: 4 kB / 499.7 MB, free: 180 kB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007684/0.2988, allocations: 306.1 kB / 500 MB, free: 15.88 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001985/0.3008, allocations: 1.216 MB / 0.4894 GB, free: 14.57 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008555/0.3016, allocations: 282.5 kB / 0.4897 GB, free: 14.29 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.47e-05/0.3017, allocations: 4 kB / 0.4897 GB, free: 14.29 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005001/0.3022, allocations: 189.1 kB / 0.4899 GB, free: 14.09 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 1.462e-06/0.3022, allocations: 224 / 0.4899 GB, free: 14.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=12): time 0.002017/0.3042, allocations: 0.6708 MB / 0.4906 GB, free: 13.39 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.492e-05/0.3043, allocations: 81.09 kB / 0.4906 GB, free: 13.29 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002602/0.3046, allocations: 241.6 kB / 0.4909 GB, free: 13.04 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.99e-05/0.3046, allocations: 29.7 kB / 0.4909 GB, free: 13.01 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/0.3047, allocations: 191.6 kB / 0.4911 GB, free: 12.82 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.405e-05/0.3048, allocations: 43.39 kB / 0.4911 GB, free: 12.77 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.33e-05/0.3048, allocations: 8 kB / 0.4911 GB, free: 12.77 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.3049, allocations: 334.8 kB / 0.4914 GB, free: 12.43 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000345/0.3053, allocations: 116.2 kB / 0.4916 GB, free: 12.31 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003836/0.3057, allocations: 203.4 kB / 0.4917 GB, free: 12.07 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000377/0.306, allocations: 156.6 kB / 0.4919 GB, free: 11.92 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.3061, allocations: 0 / 0.4919 GB, free: 11.92 MB / 378.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001202/0.3073, allocations: 479.7 kB / 0.4924 GB, free: 11.43 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.334e-05/0.3073, allocations: 37.69 kB / 0.4924 GB, free: 11.39 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/0.3074, allocations: 11.94 kB / 0.4924 GB, free: 11.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003212/0.3077, allocations: 76.81 kB / 0.4925 GB, free: 11.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002379/0.3079, allocations: 55.97 kB / 0.4925 GB, free: 11.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002038/0.31, allocations: 1.573 MB / 0.4941 GB, free: 9.543 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003336/0.3103, allocations: 59.81 kB / 0.4941 GB, free: 9.484 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.62e-05/0.3104, allocations: 12 kB / 0.4941 GB, free: 9.473 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 1 * 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 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001551/0.3105, allocations: 145.8 kB / 0.4943 GB, free: 9.32 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.488e-05/0.3106, allocations: 19.72 kB / 0.4943 GB, free: 9.301 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.51e-05/0.3106, allocations: 37.64 kB / 0.4943 GB, free: 9.262 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.083e-06/0.3106, allocations: 0 / 0.4943 GB, free: 9.262 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.3107, allocations: 4 kB / 0.4943 GB, free: 9.258 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.3107, allocations: 3.938 kB / 0.4943 GB, free: 9.254 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000278/0.3109, allocations: 309.4 kB / 0.4946 GB, free: 8.902 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.311, allocations: 0 / 0.4946 GB, free: 8.902 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001975/0.3112, allocations: 35.97 kB / 0.4947 GB, free: 8.867 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002332/0.3114, allocations: 72.81 kB / 0.4947 GB, free: 8.793 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.651e-05/0.3114, allocations: 0 / 0.4947 GB, free: 8.793 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001836/0.3133, allocations: 1.573 MB / 0.4963 GB, free: 7.09 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3133, allocations: 0 / 0.4963 GB, free: 7.09 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001253/0.3146, allocations: 0.4991 MB / 0.4968 GB, free: 6.57 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.356e-05/0.3146, allocations: 96.89 kB / 0.4968 GB, free: 6.457 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.16e-05/0.3147, allocations: 4 kB / 0.4969 GB, free: 6.453 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002271/0.3149, allocations: 35.97 kB / 0.4969 GB, free: 6.418 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.239e-05/0.315, allocations: 19.97 kB / 0.4969 GB, free: 6.398 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/0.315, allocations: 8.047 kB / 0.4969 GB, free: 6.391 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001615/0.3152, allocations: 190 kB / 0.4971 GB, free: 6.203 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3152, allocations: 0 / 0.4971 GB, free: 6.203 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003143/0.3155, allocations: 75.69 kB / 0.4972 GB, free: 6.129 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (integrator.c.v) * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001512/0.317, allocations: 1.039 MB / 0.4982 GB, free: 5.059 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008338/0.3178, allocations: 438.4 kB / 0.4986 GB, free: 4.605 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3179, allocations: 4.062 kB / 0.4986 GB, free: 4.602 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003986/0.3183, allocations: 234.5 kB / 0.4988 GB, free: 4.359 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002357/0.3185, allocations: 50.03 kB / 0.4989 GB, free: 4.316 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005871/0.3244, allocations: 3.849 MB / 0.5026 GB, free: 376 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1425/0.4669, allocations: 0.752 MB / 0.5034 GB, free: 95.95 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001774/0.4671, allocations: 25.89 kB / 0.5034 GB, free: 95.95 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001599/0.4672, allocations: 76.17 kB / 0.5035 GB, free: 95.95 MB / 378.7 MB Notification: Performance of SimCode: time 1.462e-06/0.4673, allocations: 0 / 0.5035 GB, free: 95.95 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01862/0.4859, allocations: 5.546 MB / 0.5089 GB, free: 95.71 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001368/0.4861, allocations: 216.8 kB / 0.5091 GB, free: 95.47 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.702/2.188, allocations: 0 / 0.5091 GB, free: 95.47 MB / 378.7 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Integrator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Integrator.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.mat does not exist to compare? outputFormat=mat