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.0007932/0.0007933, allocations: 94.33 kB / 17 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008732/0.0008733, allocations: 192.7 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.443/1.443, allocations: 227.4 MB / 246 MB, free: 10.25 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002195/0.0002195, allocations: 8 kB / 306.8 MB, free: 1.23 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1342, allocations: 51.49 MB / 358.3 MB, free: 13.73 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.005906/0.1401, allocations: 2.642 MB / 361 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002665/0.1428, allocations: 0.7641 MB / 361.7 MB, free: 10.31 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003476/0.1432, allocations: 4 kB / 361.7 MB, free: 10.31 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002558/0.1435, allocations: 43.69 kB / 361.8 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004703/0.144, allocations: 87.28 kB / 361.9 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005318/0.1446, allocations: 87.84 kB / 362 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008472/0.1454, allocations: 414 kB / 362.4 MB, free: 9.688 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003888/0.1458, allocations: 110.6 kB / 362.5 MB, free: 9.574 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005055/0.1464, allocations: 147.4 kB / 362.6 MB, free: 9.43 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003484/0.1467, allocations: 159.3 kB / 362.8 MB, free: 9.273 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.525e-05/0.1468, allocations: 16 kB / 362.8 MB, free: 9.258 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.84e-05/0.1469, allocations: 20 kB / 362.8 MB, free: 9.238 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001006/0.147, allocations: 55.7 kB / 362.9 MB, free: 9.184 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000159/0.1472, allocations: 85.58 kB / 362.9 MB, free: 9.094 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005719/0.1478, allocations: 391.1 kB / 363.3 MB, free: 8.711 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.958e-06/0.1478, allocations: 4 kB / 363.3 MB, free: 8.707 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1478, allocations: 4 kB / 363.3 MB, free: 8.703 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.699e-05/0.1479, allocations: 4 kB / 363.3 MB, free: 8.699 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.002105/0.15, allocations: 0.6641 MB / 364 MB, free: 7.98 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.909e-05/0.1501, allocations: 19.97 kB / 364 MB, free: 7.961 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000113/0.1502, allocations: 62.53 kB / 364.1 MB, free: 7.891 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001117/0.1503, allocations: 35.62 kB / 364.1 MB, free: 7.855 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005319/0.1509, allocations: 301.4 kB / 364.4 MB, free: 7.52 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.319e-05/0.1509, allocations: 20.52 kB / 364.4 MB, free: 7.5 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.981e-05/0.151, allocations: 31.94 kB / 364.5 MB, free: 7.469 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001215/0.1522, allocations: 367.6 kB / 364.8 MB, free: 7.094 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.1522, allocations: 0 / 364.8 MB, free: 7.094 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.403e-05/0.1523, allocations: 8 kB / 364.8 MB, free: 7.086 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.462e-05/0.1523, allocations: 8 kB / 364.8 MB, free: 7.078 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001463/0.1538, allocations: 334 kB / 365.2 MB, free: 6.754 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003589/0.1574, allocations: 1.307 MB / 366.5 MB, free: 5.359 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001302/0.1587, allocations: 367.4 kB / 366.8 MB, free: 4.973 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007/0.1594, allocations: 156.8 kB / 367 MB, free: 4.816 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.482e-05/0.1595, allocations: 0 / 367 MB, free: 4.816 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008342/0.1603, allocations: 220.3 kB / 367.2 MB, free: 4.582 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 3.116e-06/0.1604, allocations: 0 / 367.2 MB, free: 4.582 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.003396/0.1638, allocations: 0.7098 MB / 367.9 MB, free: 3.844 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.393e-05/0.1639, allocations: 102.8 kB / 368 MB, free: 3.719 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005831/0.1645, allocations: 294.9 kB / 368.3 MB, free: 3.426 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.706e-05/0.1646, allocations: 29.7 kB / 368.3 MB, free: 3.391 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002434/0.1648, allocations: 208.2 kB / 368.5 MB, free: 3.18 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.44e-05/0.1649, allocations: 63.12 kB / 368.6 MB, free: 3.117 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.678e-05/0.165, allocations: 4 kB / 368.6 MB, free: 3.113 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001734/0.1651, allocations: 342.8 kB / 368.9 MB, free: 2.77 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006114/0.1658, allocations: 128.2 kB / 369 MB, free: 2.645 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007121/0.1665, allocations: 237.5 kB / 369.3 MB, free: 2.371 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006617/0.1672, allocations: 175.5 kB / 369.4 MB, free: 2.195 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.476e-06/0.1672, allocations: 4 kB / 369.5 MB, free: 2.191 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.002168/0.1694, allocations: 0.5114 MB / 370 MB, free: 1.668 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.703e-05/0.1695, allocations: 37.66 kB / 370 MB, free: 1.625 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/0.1695, allocations: 4 kB / 370 MB, free: 1.621 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004496/0.1699, allocations: 72.81 kB / 370.1 MB, free: 1.547 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004981/0.1705, allocations: 75.89 kB / 370.1 MB, free: 1.473 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2024/0.3729, allocations: 1.742 MB / 371.9 MB, free: 18.4 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004255/0.3734, allocations: 74.3 kB / 372 MB, free: 18.4 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.452e-05/0.3734, allocations: 12.72 kB / 372 MB, free: 18.4 MB / 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.0001849/0.3736, allocations: 156.2 kB / 372.1 MB, free: 18.29 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.08e-05/0.3737, allocations: 25.12 kB / 372.2 MB, free: 18.29 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.201e-05/0.3737, allocations: 30.22 kB / 372.2 MB, free: 18.28 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.3737, allocations: 2.375 kB / 372.2 MB, free: 18.28 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.3737, allocations: 0.5625 kB / 372.2 MB, free: 18.28 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.3738, allocations: 4.297 kB / 372.2 MB, free: 18.28 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001531/0.3753, allocations: 0.8352 MB / 373 MB, free: 17.97 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.3753, allocations: 4.531 kB / 373 MB, free: 17.97 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002223/0.3755, allocations: 52.98 kB / 373.1 MB, free: 17.97 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002158/0.3758, allocations: 68.41 kB / 373.1 MB, free: 17.96 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.72e-05/0.3758, allocations: 5.672 kB / 373.2 MB, free: 17.96 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001585/0.3774, allocations: 1.535 MB / 374.7 MB, free: 16.72 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.3774, allocations: 0.6875 kB / 374.7 MB, free: 16.72 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001377/0.3788, allocations: 0.6167 MB / 375.3 MB, free: 16.57 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.332e-05/0.3788, allocations: 108.9 kB / 375.4 MB, free: 16.48 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.169e-05/0.3789, allocations: 12.91 kB / 375.4 MB, free: 16.48 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002737/0.3792, allocations: 37.81 kB / 375.5 MB, free: 16.48 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.137e-05/0.3793, allocations: 20.58 kB / 375.5 MB, free: 16.48 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.767e-05/0.3793, allocations: 8.656 kB / 375.5 MB, free: 16.48 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002192/0.3795, allocations: 212.9 kB / 375.7 MB, free: 16.39 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.3795, allocations: 0 / 375.7 MB, free: 16.39 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004601/0.38, allocations: 85.84 kB / 375.8 MB, free: 16.39 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.001691/0.3817, allocations: 1.157 MB / 376.9 MB, free: 15.7 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001249/0.3829, allocations: 0.5329 MB / 377.5 MB, free: 15.51 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.383, allocations: 1.375 kB / 377.5 MB, free: 15.51 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004588/0.3834, allocations: 254.1 kB / 377.7 MB, free: 15.39 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004518/0.3839, allocations: 60.06 kB / 377.8 MB, free: 15.38 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005398/0.3893, allocations: 2.29 MB / 380.1 MB, free: 14.52 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002839/0.3896, allocations: 0.7692 MB / 380.8 MB, free: 13.82 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001748/0.3898, allocations: 33.3 kB / 380.9 MB, free: 13.81 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001627/0.39, allocations: 94.17 kB / 381 MB, free: 13.74 MB / 302.1 MB Notification: Performance of SimCode: time 3.3e-07/0.39, allocations: 1.062 kB / 381 MB, free: 13.74 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02134/0.4113, allocations: 6.343 MB / 387.3 MB, free: 12.41 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002173/0.4116, allocations: 218.7 kB / 387.5 MB, free: 12.16 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.023/2.434, allocations: 3.938 kB / 387.5 MB, free: 12.16 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