Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_LowPass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_LowPass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001102/0.001102, allocations: 92.72 kB / 16.98 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001276/0.001276, allocations: 198.8 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.52/1.52, allocations: 227.3 MB / 245.9 MB, free: 12.05 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004167/0.0004168, allocations: 4 kB / 306.7 MB, free: 1.492 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.1551, allocations: 51.49 MB / 358.2 MB, free: 14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.005667/0.1609, allocations: 2.514 MB / 360.7 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002268/0.1632, allocations: 0.7954 MB / 361.5 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004919/0.1637, allocations: 4 kB / 361.5 MB, free: 10.67 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002184/0.164, allocations: 39.69 kB / 361.6 MB, free: 10.63 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006717/0.1647, allocations: 123.6 kB / 361.7 MB, free: 10.51 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005149/0.1652, allocations: 75.91 kB / 361.8 MB, free: 10.44 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007669/0.166, allocations: 295.1 kB / 362 MB, free: 10.15 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003202/0.1663, allocations: 106.6 kB / 362.2 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004599/0.1668, allocations: 147.5 kB / 362.3 MB, free: 9.895 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003576/0.1672, allocations: 155.3 kB / 362.4 MB, free: 9.742 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.262e-05/0.1673, allocations: 20 kB / 362.5 MB, free: 9.723 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.019e-05/0.1673, allocations: 20 kB / 362.5 MB, free: 9.703 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.814e-05/0.1674, allocations: 59.73 kB / 362.5 MB, free: 9.645 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000129/0.1676, allocations: 93.52 kB / 362.6 MB, free: 9.547 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004683/0.168, allocations: 383.1 kB / 363 MB, free: 9.172 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.168, allocations: 0 / 363 MB, free: 9.172 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.1681, allocations: 0 / 363 MB, free: 9.172 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.829e-05/0.1681, allocations: 0 / 363 MB, free: 9.172 MB / 302.1 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.001648/0.1697, allocations: 0.6719 MB / 363.7 MB, free: 8.445 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/0.1698, allocations: 8.031 kB / 363.7 MB, free: 8.438 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001238/0.1699, allocations: 66.53 kB / 363.8 MB, free: 8.363 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001093/0.17, allocations: 31.62 kB / 363.8 MB, free: 8.332 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000599/0.1707, allocations: 313.3 kB / 364.1 MB, free: 7.984 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.393e-05/0.1707, allocations: 24.56 kB / 364.1 MB, free: 7.961 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.055e-05/0.1708, allocations: 27.94 kB / 364.1 MB, free: 7.934 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001213/0.172, allocations: 355.6 kB / 364.5 MB, free: 7.57 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.1721, allocations: 0 / 364.5 MB, free: 7.57 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.736e-05/0.1721, allocations: 12 kB / 364.5 MB, free: 7.559 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.795e-05/0.1721, allocations: 15.92 kB / 364.5 MB, free: 7.543 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00104/0.1732, allocations: 330.1 kB / 364.8 MB, free: 7.223 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002512/0.1757, allocations: 1.303 MB / 366.1 MB, free: 5.832 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009644/0.1767, allocations: 371.3 kB / 366.5 MB, free: 5.441 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.091e-05/0.1767, allocations: 3.984 kB / 366.5 MB, free: 5.438 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006874/0.1774, allocations: 209.9 kB / 366.7 MB, free: 5.211 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 3.166e-06/0.1774, allocations: 0 / 366.7 MB, free: 5.211 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.00234/0.1798, allocations: 0.7199 MB / 367.4 MB, free: 4.465 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.58e-05/0.1799, allocations: 106.8 kB / 367.5 MB, free: 4.336 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000384/0.1803, allocations: 290.9 kB / 367.8 MB, free: 4.047 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.907e-05/0.1804, allocations: 33.69 kB / 367.9 MB, free: 4.008 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001786/0.1805, allocations: 204.2 kB / 368.1 MB, free: 3.801 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.659e-05/0.1806, allocations: 63.17 kB / 368.1 MB, free: 3.738 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.697e-05/0.1806, allocations: 8 kB / 368.1 MB, free: 3.73 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.1808, allocations: 334.8 kB / 368.5 MB, free: 3.395 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003944/0.1812, allocations: 132.2 kB / 368.6 MB, free: 3.266 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004947/0.1817, allocations: 233.5 kB / 368.8 MB, free: 2.996 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004605/0.1822, allocations: 177.5 kB / 369 MB, free: 2.82 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.1822, allocations: 0 / 369 MB, free: 2.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001422/0.1836, allocations: 0.5093 MB / 369.5 MB, free: 2.297 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.503e-05/0.1837, allocations: 37.66 kB / 369.5 MB, free: 2.254 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.54e-05/0.1838, allocations: 12.05 kB / 369.5 MB, free: 2.242 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004181/0.1842, allocations: 72.77 kB / 369.6 MB, free: 2.168 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00033/0.1845, allocations: 79.88 kB / 369.7 MB, free: 2.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00323/0.1878, allocations: 1.767 MB / 371.5 MB, free: 196 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005056/0.1883, allocations: 71.83 kB / 371.5 MB, free: 124 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.147e-05/0.1883, allocations: 12 kB / 371.5 MB, free: 112 kB / 302.1 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 (31): * Single equations (assignments): 29 * 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.2692/0.4575, allocations: 148.1 kB / 371.7 MB, free: 19.35 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001402/0.4577, allocations: 25.09 kB / 371.7 MB, free: 19.35 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001257/0.4578, allocations: 28.81 kB / 371.7 MB, free: 19.34 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.4578, allocations: 6.703 kB / 371.7 MB, free: 19.34 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.4579, allocations: 0.6875 kB / 371.7 MB, free: 19.34 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.174e-06/0.4579, allocations: 5.203 kB / 371.7 MB, free: 19.34 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00214/0.46, allocations: 0.8322 MB / 372.6 MB, free: 19.04 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.46, allocations: 0 / 372.6 MB, free: 19.04 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002758/0.4603, allocations: 49.91 kB / 372.6 MB, free: 19.04 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002888/0.4606, allocations: 74.95 kB / 372.7 MB, free: 19.03 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.47e-05/0.4606, allocations: 2.453 kB / 372.7 MB, free: 19.03 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00207/0.4627, allocations: 1.569 MB / 374.3 MB, free: 17.78 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/0.4627, allocations: 5.062 kB / 374.3 MB, free: 17.78 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001784/0.4645, allocations: 0.631 MB / 374.9 MB, free: 17.62 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/0.4647, allocations: 104 kB / 375 MB, free: 17.52 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.716e-05/0.4647, allocations: 6.562 kB / 375 MB, free: 17.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003185/0.465, allocations: 42.33 kB / 375.1 MB, free: 17.52 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.318e-05/0.4651, allocations: 30.17 kB / 375.1 MB, free: 17.52 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.23e-05/0.4652, allocations: 9.531 kB / 375.1 MB, free: 17.52 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002831/0.4655, allocations: 208.4 kB / 375.3 MB, free: 17.44 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4655, allocations: 0 / 375.3 MB, free: 17.44 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006676/0.4661, allocations: 82.22 kB / 375.4 MB, free: 17.44 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (firstOrder.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 (16): * Single equations (assignments): 13 * 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.002003/0.4681, allocations: 1.247 MB / 376.6 MB, free: 16.67 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001434/0.4696, allocations: 0.5336 MB / 377.2 MB, free: 16.48 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.4696, allocations: 0 / 377.2 MB, free: 16.48 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004818/0.4701, allocations: 258.4 kB / 377.4 MB, free: 16.36 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003575/0.4705, allocations: 49.03 kB / 377.5 MB, free: 16.36 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006651/0.4771, allocations: 4.014 MB / 381.5 MB, free: 13.85 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005529/0.4777, allocations: 0.772 MB / 382.2 MB, free: 13.15 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002707/0.478, allocations: 30.34 kB / 382.3 MB, free: 13.14 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002105/0.4782, allocations: 94.28 kB / 382.4 MB, free: 13.07 MB / 302.1 MB Notification: Performance of SimCode: time 1.513e-06/0.4783, allocations: 4 kB / 382.4 MB, free: 13.07 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02102/0.4993, allocations: 6.305 MB / 388.7 MB, free: 11.7 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001586/0.4995, allocations: 217.2 kB / 388.9 MB, free: 11.46 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.989/2.488, allocations: 1.062 kB / 388.9 MB, free: 11.46 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_LowPass_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_LowPass.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat does not exist to compare? outputFormat=mat