Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.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.HighPass,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_HighPass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_HighPass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001467/0.001467, allocations: 197.1 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.356/1.356, allocations: 225.4 MB / 240.1 MB, free: 15.06 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008574/0.0008574, allocations: 89.16 kB / 292.1 MB, free: 5.945 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.736e-05/2.742e-05, allocations: 4.219 kB / 350.7 MB, free: 2.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1007, allocations: 51.48 MB / 402.1 MB, free: 14.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2917/0.3925, allocations: 82.42 MB / 484.6 MB, free: 7.027 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002021/0.3927, allocations: 83.33 kB / 484.6 MB, free: 6.984 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01666/0.4094, allocations: 6.969 MB / 491.6 MB, free: 1.105 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.4095, allocations: 0 / 491.6 MB, free: 1.105 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.465e-05/0.4095, allocations: 8 kB / 491.6 MB, free: 1.098 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0008394/0.4103, allocations: 0.6213 MB / 492.2 MB, free: 468 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.4104, allocations: 8.031 kB / 492.2 MB, free: 460 kB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.493e-05/0.4104, allocations: 60.61 kB / 492.3 MB, free: 408 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.148e-05/0.4105, allocations: 42.45 kB / 492.3 MB, free: 368 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003034/0.4108, allocations: 309 kB / 492.6 MB, free: 64 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.4108, allocations: 19.12 kB / 492.7 MB, free: 52 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.646e-05/0.4109, allocations: 33.84 kB / 492.7 MB, free: 28 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004739/0.4114, allocations: 292.1 kB / 493 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.4114, allocations: 0 / 493 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.879e-05/0.4114, allocations: 15 kB / 493 MB, free: 15.81 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.947e-05/0.4114, allocations: 8 kB / 493 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003338/0.4118, allocations: 207.9 kB / 493.2 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002082/0.4139, allocations: 1.325 MB / 494.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002162/0.4141, allocations: 144.6 kB / 494.7 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001217/0.4142, allocations: 68.86 kB / 494.7 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.356e-05/0.4143, allocations: 0 / 494.7 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002393/0.4145, allocations: 151.3 kB / 494.9 MB, free: 14.16 MB / 362.7 MB Notification: Performance of pre-optimization done (n=15): time 1.213e-06/0.4145, allocations: 0 / 494.9 MB, free: 14.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.0006616/0.4152, allocations: 254 kB / 495.1 MB, free: 13.91 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.389e-05/0.4153, allocations: 106.8 kB / 495.2 MB, free: 13.78 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002988/0.4156, allocations: 263.4 kB / 495.5 MB, free: 13.52 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.628e-05/0.4156, allocations: 25.7 kB / 495.5 MB, free: 13.48 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/0.4157, allocations: 215.5 kB / 495.7 MB, free: 13.27 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.094e-05/0.4158, allocations: 51.3 kB / 495.8 MB, free: 13.22 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.3e-05/0.4158, allocations: 4 kB / 495.8 MB, free: 13.22 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.4159, allocations: 335.4 kB / 496.1 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001187/0.4161, allocations: 68 kB / 496.2 MB, free: 12.82 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001826/0.4163, allocations: 164.2 kB / 496.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001617/0.4164, allocations: 111.4 kB / 496.4 MB, free: 12.5 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.4164, allocations: 8 kB / 496.5 MB, free: 12.49 MB / 362.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007404/0.4172, allocations: 379.8 kB / 496.8 MB, free: 12.11 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.685e-05/0.4172, allocations: 44.69 kB / 496.9 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.4172, allocations: 0 / 496.9 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002022/0.4175, allocations: 48.84 kB / 496.9 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002724/0.4177, allocations: 75.91 kB / 497 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001722/0.4195, allocations: 1.664 MB / 498.7 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003724/0.4199, allocations: 59.75 kB / 498.7 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.288e-05/0.4199, allocations: 11.94 kB / 498.7 MB, free: 10.07 MB / 362.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.000113/0.42, allocations: 126.2 kB / 498.9 MB, free: 9.938 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.294e-05/0.4201, allocations: 31.58 kB / 498.9 MB, free: 9.906 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.218e-05/0.4201, allocations: 29.98 kB / 498.9 MB, free: 9.875 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.4201, allocations: 3.938 kB / 498.9 MB, free: 9.871 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.4201, allocations: 0 / 498.9 MB, free: 9.871 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.4202, allocations: 0 / 498.9 MB, free: 9.871 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003161/0.4205, allocations: 341.4 kB / 499.2 MB, free: 9.488 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.4205, allocations: 0 / 499.2 MB, free: 9.488 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002067/0.4207, allocations: 35.97 kB / 499.3 MB, free: 9.453 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000133/0.4208, allocations: 56.8 kB / 499.3 MB, free: 9.395 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.548e-05/0.4209, allocations: 1.594 kB / 499.3 MB, free: 9.395 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001395/0.4223, allocations: 1.545 MB / 0.4891 GB, free: 7.719 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.4223, allocations: 3.984 kB / 0.4892 GB, free: 7.715 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000703/0.423, allocations: 359 kB / 0.4895 GB, free: 7.344 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.896e-05/0.4231, allocations: 107.8 kB / 0.4896 GB, free: 7.223 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.672e-05/0.4231, allocations: 7.984 kB / 0.4896 GB, free: 7.215 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002664/0.4234, allocations: 44.03 kB / 0.4896 GB, free: 7.172 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.102e-05/0.4235, allocations: 15.97 kB / 0.4897 GB, free: 7.156 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.718e-05/0.4235, allocations: 12.3 kB / 0.4897 GB, free: 7.145 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002076/0.4237, allocations: 203.1 kB / 0.4899 GB, free: 6.945 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4237, allocations: 0 / 0.4899 GB, free: 6.945 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003776/0.4241, allocations: 91.84 kB / 0.49 GB, free: 6.855 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (derivative.c.v) * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.001/0.4251, allocations: 0.8987 MB / 0.4908 GB, free: 5.926 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005223/0.4257, allocations: 361 kB / 0.4912 GB, free: 5.555 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.4257, allocations: 2.344 kB / 0.4912 GB, free: 5.555 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002569/0.4259, allocations: 190.6 kB / 0.4914 GB, free: 5.355 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003489/0.4263, allocations: 57.48 kB / 0.4914 GB, free: 5.301 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009862/0.4273, allocations: 449.3 kB / 0.4918 GB, free: 4.824 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003644/0.4277, allocations: 0.7721 MB / 0.4926 GB, free: 4.023 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001294/0.4278, allocations: 30.97 kB / 0.4926 GB, free: 3.996 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001336/0.428, allocations: 95.41 kB / 0.4927 GB, free: 3.902 MB / 362.7 MB Notification: Performance of SimCode: time 5.51e-07/0.428, allocations: 0 / 0.4927 GB, free: 3.902 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01787/0.4458, allocations: 6.468 MB / 0.499 GB, free: 13.71 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001636/0.446, allocations: 189.2 kB / 0.4992 GB, free: 13.48 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.88/2.326, allocations: 2.109 kB / 0.4992 GB, free: 13.48 MB / 378.7 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_HighPass_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_HighPass.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.mat does not exist to compare? outputFormat=mat