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/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.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/ModelicaServices trunk/package.mo): time 0.001051/0.001051, allocations: 100.1 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001238/0.001238, allocations: 205.6 kB / 17.9 MB, free: 5.594 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.3 MB / 245.9 MB, free: 10.29 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002549/0.0002549, allocations: 8 kB / 306.7 MB, free: 1.254 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1426, allocations: 51.5 MB / 358.2 MB, free: 13.75 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.003699/0.1464, allocations: 2.51 MB / 360.7 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001684/0.1481, allocations: 0.7876 MB / 361.5 MB, free: 10.44 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001687/0.1483, allocations: 4 kB / 361.5 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 9.654e-05/0.1484, allocations: 43.67 kB / 361.6 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003124/0.1487, allocations: 123.6 kB / 361.7 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003326/0.1491, allocations: 79.89 kB / 361.8 MB, free: 10.19 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004088/0.1495, allocations: 287.4 kB / 362 MB, free: 9.91 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002537/0.1497, allocations: 102.3 kB / 362.1 MB, free: 9.805 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002783/0.15, allocations: 143.5 kB / 362.3 MB, free: 9.664 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002373/0.1503, allocations: 155.3 kB / 362.4 MB, free: 9.512 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.028e-05/0.1503, allocations: 20 kB / 362.4 MB, free: 9.492 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.898e-05/0.1504, allocations: 20 kB / 362.5 MB, free: 9.473 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.543e-05/0.1505, allocations: 59.75 kB / 362.5 MB, free: 9.414 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.886e-05/0.1506, allocations: 93.52 kB / 362.6 MB, free: 9.316 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003771/0.1509, allocations: 387.1 kB / 363 MB, free: 8.938 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.151, allocations: 0 / 363 MB, free: 8.938 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.151, allocations: 0 / 363 MB, free: 8.938 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.151, allocations: 0 / 363 MB, free: 8.938 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.001389/0.1524, allocations: 0.6719 MB / 363.7 MB, free: 8.211 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.158e-05/0.1524, allocations: 8.031 kB / 363.7 MB, free: 8.203 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.921e-05/0.1525, allocations: 58.55 kB / 363.7 MB, free: 8.137 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.77e-05/0.1526, allocations: 39.53 kB / 363.8 MB, free: 8.098 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004327/0.1531, allocations: 305.5 kB / 364.1 MB, free: 7.754 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.439e-05/0.1531, allocations: 28.45 kB / 364.1 MB, free: 7.727 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.04e-05/0.1531, allocations: 24 kB / 364.1 MB, free: 7.703 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007825/0.1539, allocations: 359.6 kB / 364.5 MB, free: 7.34 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.154, allocations: 0 / 364.5 MB, free: 7.34 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.68e-05/0.154, allocations: 12 kB / 364.5 MB, free: 7.328 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.154, allocations: 12 kB / 364.5 MB, free: 7.316 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009093/0.1549, allocations: 334 kB / 364.8 MB, free: 6.988 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002605/0.1575, allocations: 1.314 MB / 366.1 MB, free: 5.586 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007737/0.1583, allocations: 262.4 kB / 366.4 MB, free: 5.32 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.024e-05/0.1584, allocations: 7.922 kB / 366.4 MB, free: 5.312 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005789/0.159, allocations: 204 kB / 366.6 MB, free: 5.094 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 2.695e-06/0.159, allocations: 0 / 366.6 MB, free: 5.094 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.002613/0.1616, allocations: 0.7566 MB / 367.4 MB, free: 4.309 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.584e-05/0.1617, allocations: 110.8 kB / 367.5 MB, free: 4.176 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003789/0.1621, allocations: 294.9 kB / 367.8 MB, free: 3.883 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.033e-05/0.1621, allocations: 29.7 kB / 367.8 MB, free: 3.848 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000164/0.1623, allocations: 203.6 kB / 368 MB, free: 3.645 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.887e-05/0.1624, allocations: 59.22 kB / 368 MB, free: 3.586 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.517e-05/0.1624, allocations: 4 kB / 368 MB, free: 3.582 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.1626, allocations: 338.8 kB / 368.4 MB, free: 3.242 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003805/0.163, allocations: 123.9 kB / 368.5 MB, free: 3.121 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004609/0.1634, allocations: 227.9 kB / 368.7 MB, free: 2.855 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004151/0.1639, allocations: 172 kB / 368.9 MB, free: 2.684 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.1639, allocations: 0 / 368.9 MB, free: 2.684 MB / 302.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001374/0.1653, allocations: 0.5192 MB / 369.4 MB, free: 2.148 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.353e-05/0.1653, allocations: 33.7 kB / 369.4 MB, free: 2.109 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.1653, allocations: 0 / 369.4 MB, free: 2.109 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004518/0.1658, allocations: 92.86 kB / 369.5 MB, free: 2.016 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002917/0.1661, allocations: 59.91 kB / 369.6 MB, free: 1.957 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2784/0.4445, allocations: 1.866 MB / 371.5 MB, free: 18.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005441/0.4451, allocations: 68.23 kB / 371.5 MB, free: 18.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.949e-05/0.4451, allocations: 11.8 kB / 371.5 MB, free: 18.77 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 (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.0002851/0.4454, allocations: 151.7 kB / 371.7 MB, free: 18.66 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.956e-05/0.4455, allocations: 34.91 kB / 371.7 MB, free: 18.66 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.874e-05/0.4456, allocations: 28.47 kB / 371.7 MB, free: 18.65 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.962e-06/0.4456, allocations: 1.906 kB / 371.7 MB, free: 18.65 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.4456, allocations: 1.609 kB / 371.7 MB, free: 18.65 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.4456, allocations: 1.734 kB / 371.7 MB, free: 18.65 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004849/0.4461, allocations: 338.7 kB / 372.1 MB, free: 18.46 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.4461, allocations: 0.5625 kB / 372.1 MB, free: 18.46 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002331/0.4464, allocations: 38.23 kB / 372.1 MB, free: 18.46 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003636/0.4467, allocations: 86.19 kB / 372.2 MB, free: 18.45 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.386e-05/0.4468, allocations: 6.75 kB / 372.2 MB, free: 18.45 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002585/0.4494, allocations: 1.747 MB / 374 MB, free: 17.22 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.4494, allocations: 5.312 kB / 374 MB, free: 17.22 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001725/0.4511, allocations: 0.543 MB / 374.5 MB, free: 17.14 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001052/0.4512, allocations: 103.4 kB / 374.6 MB, free: 17.05 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.507e-05/0.4513, allocations: 10.39 kB / 374.6 MB, free: 17.05 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002857/0.4516, allocations: 45.22 kB / 374.7 MB, free: 17.05 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.435e-05/0.4517, allocations: 20.8 kB / 374.7 MB, free: 17.05 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.156e-05/0.4517, allocations: 4.688 kB / 374.7 MB, free: 17.05 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003151/0.452, allocations: 210.2 kB / 374.9 MB, free: 16.97 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.452, allocations: 0 / 374.9 MB, free: 16.97 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005153/0.4526, allocations: 86.09 kB / 375 MB, free: 16.97 MB / 302.1 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) * 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.002145/0.4547, allocations: 1.089 MB / 376.1 MB, free: 16.36 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001326/0.456, allocations: 476 kB / 376.5 MB, free: 16.18 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.4561, allocations: 2.812 kB / 376.5 MB, free: 16.18 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005628/0.4566, allocations: 258.3 kB / 376.8 MB, free: 16.07 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003645/0.457, allocations: 47.09 kB / 376.8 MB, free: 16.07 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00479/0.4618, allocations: 3.652 MB / 380.5 MB, free: 13.59 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003485/0.4622, allocations: 0.7725 MB / 381.2 MB, free: 12.88 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001954/0.4624, allocations: 29.31 kB / 381.3 MB, free: 12.88 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001471/0.4626, allocations: 87.94 kB / 381.4 MB, free: 12.81 MB / 302.1 MB Notification: Performance of SimCode: time 1.713e-06/0.4626, allocations: 1.219 kB / 381.4 MB, free: 12.81 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02461/0.4872, allocations: 6.514 MB / 387.9 MB, free: 11.54 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002033/0.4874, allocations: 229.1 kB / 388.1 MB, free: 11.29 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.035/2.522, allocations: 0 / 388.1 MB, free: 11.29 MB / 302.1 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