Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_HighPass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,fileNamePrefix="Modelica_3_2_3_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 4.0.0+maint.om/package.mo): time 0.0009176/0.0009177, allocations: 97.88 kB / 16.94 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009878/0.0009879, allocations: 178.5 kB / 17.82 MB, free: 5.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.422/1.422, allocations: 205.4 MB / 224 MB, free: 13.18 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004311/0.0004311, allocations: 20 kB / 280.9 MB, free: 3.641 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08573/0.08617, allocations: 47.58 MB / 328.4 MB, free: 3.992 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.002832/0.08906, allocations: 2.292 MB / 330.7 MB, free: 1.684 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001179/0.09027, allocations: 0.7338 MB / 331.5 MB, free: 0.9414 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001309/0.09042, allocations: 7.938 kB / 331.5 MB, free: 0.9336 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 6.135e-05/0.09049, allocations: 27.75 kB / 331.5 MB, free: 0.9062 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002995/0.0908, allocations: 111.7 kB / 331.6 MB, free: 0.7969 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002848/0.0911, allocations: 75.78 kB / 331.7 MB, free: 0.7227 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003286/0.09144, allocations: 255.4 kB / 331.9 MB, free: 484 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001868/0.09164, allocations: 77.03 kB / 332 MB, free: 412 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001935/0.09184, allocations: 131.5 kB / 332.1 MB, free: 280 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001689/0.09202, allocations: 135.4 kB / 332.3 MB, free: 144 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.619e-05/0.09206, allocations: 16 kB / 332.3 MB, free: 128 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.325e-05/0.09211, allocations: 16 kB / 332.3 MB, free: 112 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.202e-05/0.09217, allocations: 55.8 kB / 332.3 MB, free: 56 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.516e-05/0.09227, allocations: 77.62 kB / 332.4 MB, free: 15.97 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002576/0.09254, allocations: 255.5 kB / 332.7 MB, free: 15.72 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.09255, allocations: 0 / 332.7 MB, free: 15.72 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.09256, allocations: 4 kB / 332.7 MB, free: 15.71 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.09257, allocations: 0 / 332.7 MB, free: 15.71 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001192/0.09377, allocations: 0.6262 MB / 333.3 MB, free: 15.03 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.09383, allocations: 12.03 kB / 333.3 MB, free: 15.02 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.021e-05/0.09391, allocations: 58.53 kB / 333.4 MB, free: 14.95 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.845e-05/0.09399, allocations: 31.62 kB / 333.4 MB, free: 14.92 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003299/0.09432, allocations: 279.6 kB / 333.7 MB, free: 14.61 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.278e-05/0.09436, allocations: 20.56 kB / 333.7 MB, free: 14.59 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.465e-05/0.09441, allocations: 20 kB / 333.7 MB, free: 14.57 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000642/0.09506, allocations: 284.6 kB / 334 MB, free: 14.28 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.09508, allocations: 0 / 334 MB, free: 14.28 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.779e-05/0.09511, allocations: 8 kB / 334 MB, free: 14.27 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.137e-05/0.09514, allocations: 8 kB / 334 MB, free: 14.27 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007805/0.09593, allocations: 302 kB / 334.3 MB, free: 13.97 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00161/0.09755, allocations: 0.9289 MB / 335.2 MB, free: 12.97 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007761/0.09834, allocations: 282.5 kB / 335.5 MB, free: 12.69 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.357e-05/0.09838, allocations: 4 kB / 335.5 MB, free: 12.68 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004871/0.09887, allocations: 193.8 kB / 335.7 MB, free: 12.47 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 1.363e-06/0.09888, allocations: 0 / 335.7 MB, free: 12.47 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.002144/0.101, allocations: 0.7448 MB / 336.4 MB, free: 11.7 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.843e-05/0.1011, allocations: 102.8 kB / 336.5 MB, free: 11.58 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002687/0.1014, allocations: 262.6 kB / 336.8 MB, free: 11.32 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.638e-05/0.1014, allocations: 29.7 kB / 336.8 MB, free: 11.28 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001295/0.1016, allocations: 191.8 kB / 337 MB, free: 11.09 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.787e-05/0.1016, allocations: 59.14 kB / 337.1 MB, free: 11.03 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.193e-05/0.1016, allocations: 0 / 337.1 MB, free: 11.03 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.1018, allocations: 338.8 kB / 337.4 MB, free: 10.69 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003362/0.1021, allocations: 112.2 kB / 337.5 MB, free: 10.58 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003738/0.1025, allocations: 176.1 kB / 337.7 MB, free: 10.38 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003519/0.1029, allocations: 146.4 kB / 337.8 MB, free: 10.23 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.1029, allocations: 4 kB / 337.8 MB, free: 10.23 MB / 286.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001145/0.104, allocations: 482.1 kB / 338.3 MB, free: 9.746 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003081/0.1043, allocations: 0.6512 MB / 339 MB, free: 9.043 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.1044, allocations: 0 / 339 MB, free: 9.043 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003289/0.1047, allocations: 68.81 kB / 339 MB, free: 8.973 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002162/0.1049, allocations: 59.89 kB / 339.1 MB, free: 8.914 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00209/0.107, allocations: 1.779 MB / 340.9 MB, free: 6.996 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000314/0.1074, allocations: 51.81 kB / 340.9 MB, free: 6.945 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.129e-05/0.1074, allocations: 8 kB / 340.9 MB, free: 6.938 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.1074, allocations: 4 kB / 340.9 MB, free: 6.934 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007825/0.1082, allocations: 342.6 kB / 341.3 MB, free: 6.59 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.086e-06/0.1082, allocations: 0 / 341.3 MB, free: 6.59 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.736e-05/0.1083, allocations: 44.77 kB / 341.3 MB, free: 6.543 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002018/0.1085, allocations: 43.97 kB / 341.3 MB, free: 6.5 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00132/0.1099, allocations: 1.561 MB / 342.9 MB, free: 4.801 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002674/0.1101, allocations: 47.75 kB / 343 MB, free: 4.754 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.191e-05/0.1102, allocations: 12 kB / 343 MB, free: 4.742 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (21): * Single equations (assignments): 19 * 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 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001901/0.1104, allocations: 209.1 kB / 343.2 MB, free: 4.527 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.458e-05/0.1104, allocations: 27.67 kB / 343.2 MB, free: 4.5 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.866e-05/0.1105, allocations: 34.23 kB / 343.2 MB, free: 4.465 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.1105, allocations: 0 / 343.2 MB, free: 4.465 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-06/0.1105, allocations: 0 / 343.2 MB, free: 4.465 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.1105, allocations: 3.984 kB / 343.2 MB, free: 4.461 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000298/0.1108, allocations: 305.3 kB / 343.5 MB, free: 4.113 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.1108, allocations: 0 / 343.5 MB, free: 4.113 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001859/0.111, allocations: 39.91 kB / 343.6 MB, free: 4.074 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002219/0.1112, allocations: 76.8 kB / 343.6 MB, free: 3.996 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.778e-05/0.1113, allocations: 7.953 kB / 343.7 MB, free: 3.988 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001819/0.1131, allocations: 1.679 MB / 345.3 MB, free: 2.18 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.1131, allocations: 0 / 345.3 MB, free: 2.18 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001244/0.1144, allocations: 0.4973 MB / 345.8 MB, free: 1.66 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.973e-05/0.1144, allocations: 96.88 kB / 345.9 MB, free: 1.547 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.775e-05/0.1145, allocations: 8 kB / 345.9 MB, free: 1.539 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000235/0.1147, allocations: 36.03 kB / 346 MB, free: 1.504 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.865e-05/0.1148, allocations: 27.95 kB / 346 MB, free: 1.477 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.221e-05/0.1148, allocations: 7.938 kB / 346 MB, free: 1.469 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001717/0.115, allocations: 186 kB / 346.2 MB, free: 1.289 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.115, allocations: 0 / 346.2 MB, free: 1.289 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005595/0.1156, allocations: 143.6 kB / 346.3 MB, free: 1.148 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001529/0.1171, allocations: 1.039 MB / 347.4 MB, free: 76 kB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001354/0.1185, allocations: 0.7507 MB / 348.1 MB, free: 15.27 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.1185, allocations: 0 / 348.1 MB, free: 15.27 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004659/0.119, allocations: 259.2 kB / 348.4 MB, free: 15.01 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003006/0.1193, allocations: 48.47 kB / 348.4 MB, free: 14.96 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004126/0.1234, allocations: 2.72 MB / 351.1 MB, free: 12.16 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004628/0.1239, allocations: 0.7638 MB / 351.9 MB, free: 11.37 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001533/0.1241, allocations: 34.27 kB / 351.9 MB, free: 11.34 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001286/0.1242, allocations: 75.42 kB / 352 MB, free: 11.27 MB / 302.1 MB Notification: Performance of SimCode: time 1.543e-06/0.1242, allocations: 0 / 352 MB, free: 11.27 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02079/0.145, allocations: 6.347 MB / 358.4 MB, free: 4.922 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002411/0.1454, allocations: 224.9 kB / 358.6 MB, free: 4.672 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.93/2.075, allocations: 3.938 kB / 358.6 MB, free: 4.668 MB / 302.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_HighPass_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_HighPass.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.mat does not exist to compare? outputFormat=mat