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.0007883/0.0007883, allocations: 98.61 kB / 17 MB, free: 6.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008726/0.0008727, allocations: 197.9 kB / 17.91 MB, free: 5.902 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.456/1.456, allocations: 227.3 MB / 246 MB, free: 11.99 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002301/0.0002302, allocations: 8 kB / 306.8 MB, free: 1.453 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1201, allocations: 51.5 MB / 358.3 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.003543/0.1237, allocations: 2.642 MB / 361 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001459/0.1252, allocations: 0.7641 MB / 361.7 MB, free: 10.53 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002394/0.1255, allocations: 4 kB / 361.7 MB, free: 10.53 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001473/0.1256, allocations: 43.69 kB / 361.8 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002077/0.1259, allocations: 99.22 kB / 361.9 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002748/0.1261, allocations: 75.91 kB / 361.9 MB, free: 10.31 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003786/0.1265, allocations: 406.3 kB / 362.3 MB, free: 9.914 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001988/0.1267, allocations: 102.3 kB / 362.4 MB, free: 9.809 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002426/0.127, allocations: 147.4 kB / 362.6 MB, free: 9.664 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001838/0.1272, allocations: 159.3 kB / 362.7 MB, free: 9.508 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.594e-05/0.1272, allocations: 20 kB / 362.8 MB, free: 9.488 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.659e-05/0.1273, allocations: 20 kB / 362.8 MB, free: 9.469 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.479e-05/0.1273, allocations: 59.7 kB / 362.8 MB, free: 9.41 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.026e-05/0.1274, allocations: 89.52 kB / 362.9 MB, free: 9.316 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003126/0.1277, allocations: 387.1 kB / 363.3 MB, free: 8.938 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1277, allocations: 0 / 363.3 MB, free: 8.938 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1278, allocations: 0 / 363.3 MB, free: 8.938 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.1278, allocations: 4 kB / 363.3 MB, free: 8.934 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.001138/0.1289, allocations: 0.6714 MB / 364 MB, free: 8.211 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.129, allocations: 12.03 kB / 364 MB, free: 8.199 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.815e-05/0.129, allocations: 62.55 kB / 364.1 MB, free: 8.129 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.649e-05/0.1291, allocations: 39.53 kB / 364.1 MB, free: 8.09 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003337/0.1294, allocations: 301.4 kB / 364.4 MB, free: 7.75 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/0.1295, allocations: 20.56 kB / 364.4 MB, free: 7.73 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.621e-05/0.1295, allocations: 32 kB / 364.4 MB, free: 7.699 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006867/0.1302, allocations: 363.5 kB / 364.8 MB, free: 7.332 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/0.1302, allocations: 0 / 364.8 MB, free: 7.332 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.92e-05/0.1303, allocations: 12 kB / 364.8 MB, free: 7.32 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.1303, allocations: 8 kB / 364.8 MB, free: 7.312 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000747/0.131, allocations: 338 kB / 365.1 MB, free: 6.98 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001959/0.133, allocations: 1.31 MB / 366.5 MB, free: 5.582 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006111/0.1336, allocations: 258.4 kB / 366.7 MB, free: 5.32 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003047/0.134, allocations: 137 kB / 366.8 MB, free: 5.184 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.218e-05/0.134, allocations: 4 kB / 366.8 MB, free: 5.18 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004507/0.1344, allocations: 209.7 kB / 367 MB, free: 4.953 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.262e-06/0.1345, allocations: 0 / 367 MB, free: 4.953 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.002077/0.1365, allocations: 0.7588 MB / 367.8 MB, free: 4.168 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.14e-05/0.1366, allocations: 114.8 kB / 367.9 MB, free: 4.031 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003007/0.1369, allocations: 290.9 kB / 368.2 MB, free: 3.742 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.393e-05/0.1369, allocations: 29.7 kB / 368.2 MB, free: 3.707 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001327/0.1371, allocations: 207.5 kB / 368.4 MB, free: 3.5 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.25e-05/0.1371, allocations: 55.3 kB / 368.5 MB, free: 3.445 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.315e-05/0.1372, allocations: 4 kB / 368.5 MB, free: 3.441 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.1373, allocations: 334.8 kB / 368.8 MB, free: 3.105 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003333/0.1376, allocations: 127.9 kB / 368.9 MB, free: 2.98 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003761/0.138, allocations: 227.8 kB / 369.2 MB, free: 2.715 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003486/0.1384, allocations: 169.7 kB / 369.3 MB, free: 2.543 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.1384, allocations: 0 / 369.3 MB, free: 2.543 MB / 302.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.00113/0.1395, allocations: 0.5192 MB / 369.9 MB, free: 2.008 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.174e-05/0.1395, allocations: 29.7 kB / 369.9 MB, free: 1.973 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.1396, allocations: 4 kB / 369.9 MB, free: 1.969 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003322/0.1399, allocations: 96.84 kB / 370 MB, free: 1.871 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002312/0.1401, allocations: 63.84 kB / 370 MB, free: 1.809 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2025/0.3426, allocations: 1.827 MB / 371.9 MB, free: 18.75 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004824/0.3432, allocations: 68.84 kB / 371.9 MB, free: 18.75 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.313e-05/0.3432, allocations: 11.66 kB / 371.9 MB, free: 18.75 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.0002402/0.3435, allocations: 152.1 kB / 372.1 MB, free: 18.64 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.254e-05/0.3435, allocations: 29.47 kB / 372.1 MB, free: 18.64 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.129e-05/0.3436, allocations: 33.52 kB / 372.2 MB, free: 18.63 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-06/0.3436, allocations: 1.406 kB / 372.2 MB, free: 18.63 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.3436, allocations: 0.9062 kB / 372.2 MB, free: 18.63 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.3436, allocations: 0.8906 kB / 372.2 MB, free: 18.63 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004426/0.3441, allocations: 341.7 kB / 372.5 MB, free: 18.45 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.3441, allocations: 4.344 kB / 372.5 MB, free: 18.45 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002164/0.3443, allocations: 38.08 kB / 372.5 MB, free: 18.45 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003191/0.3446, allocations: 88.97 kB / 372.6 MB, free: 18.44 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.762e-05/0.3447, allocations: 4.75 kB / 372.6 MB, free: 18.44 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001936/0.3466, allocations: 1.711 MB / 374.3 MB, free: 17.2 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.3466, allocations: 1.625 kB / 374.3 MB, free: 17.2 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001356/0.348, allocations: 0.5401 MB / 374.9 MB, free: 17.13 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.148e-05/0.3481, allocations: 106.1 kB / 375 MB, free: 17.04 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.986e-05/0.3481, allocations: 6.391 kB / 375 MB, free: 17.04 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002329/0.3483, allocations: 46.3 kB / 375 MB, free: 17.04 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.792e-05/0.3484, allocations: 19.97 kB / 375.1 MB, free: 17.04 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.495e-05/0.3484, allocations: 5.75 kB / 375.1 MB, free: 17.04 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002242/0.3487, allocations: 210.4 kB / 375.3 MB, free: 16.96 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3487, allocations: 0 / 375.3 MB, free: 16.96 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004516/0.3491, allocations: 86.39 kB / 375.4 MB, free: 16.96 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.001788/0.3509, allocations: 1.09 MB / 376.4 MB, free: 16.35 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00102/0.352, allocations: 470.1 kB / 376.9 MB, free: 16.18 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.352, allocations: 3.969 kB / 376.9 MB, free: 16.18 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000479/0.3525, allocations: 253.4 kB / 377.2 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.000386/0.3529, allocations: 53.8 kB / 377.2 MB, free: 16.06 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003783/0.3567, allocations: 2.012 MB / 379.2 MB, free: 15.26 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002518/0.3569, allocations: 0.7641 MB / 380 MB, free: 14.55 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001534/0.3571, allocations: 27.92 kB / 380 MB, free: 14.55 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001447/0.3572, allocations: 92.67 kB / 380.1 MB, free: 14.48 MB / 302.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3572, allocations: 0 / 380.1 MB, free: 14.48 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02389/0.3811, allocations: 6.533 MB / 386.6 MB, free: 13.16 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001909/0.3814, allocations: 223.5 kB / 386.8 MB, free: 12.92 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.106/2.488, allocations: 0 / 386.8 MB, free: 12.92 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