Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_HighPass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_HighPass",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 182.5 kB / 8.136 MB, free: 2.219 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.269/1.269, allocations: 221.4 MB / 229.9 MB, free: 3.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009841/0.000984, allocations: 101.4 kB / 280.8 MB, free: 1.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09447/0.09549, allocations: 55.83 MB / 336.6 MB, free: 9.41 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1803/0.2758, allocations: 50.39 MB / 387 MB, free: 37.98 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.083/0.3589, allocations: 80.88 MB / 467.9 MB, free: 5.891 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002385/0.3592, allocations: 80.48 kB / 468 MB, free: 5.812 MB / 346.7 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.01963/0.3788, allocations: 7.323 MB / 475.3 MB, free: 14.45 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/0.3788, allocations: 8 kB / 475.3 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.807e-05/0.3789, allocations: 35.62 kB / 475.3 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003994/0.3793, allocations: 306 kB / 475.6 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.3794, allocations: 12.75 kB / 475.7 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.642e-05/0.3794, allocations: 16 kB / 475.7 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003678/0.3798, allocations: 197.3 kB / 475.9 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004056/0.3802, allocations: 251.8 kB / 476.1 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.3802, allocations: 3.938 kB / 476.1 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.535e-05/0.3803, allocations: 0 / 476.1 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.3803, allocations: 8 kB / 476.1 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002143/0.3824, allocations: 1.283 MB / 477.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002186/0.3827, allocations: 130.5 kB / 477.5 MB, free: 12.08 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001098/0.3828, allocations: 69.69 kB / 477.6 MB, free: 12.01 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.392e-05/0.3828, allocations: 0 / 477.6 MB, free: 12.01 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001691/0.383, allocations: 137.8 kB / 477.7 MB, free: 11.85 MB / 362.7 MB Notification: Performance of pre-optimization done (n=15): time 1.253e-06/0.383, allocations: 0 / 477.7 MB, free: 11.85 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.0006163/0.3836, allocations: 242.1 kB / 478 MB, free: 11.61 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.747e-05/0.3837, allocations: 106.8 kB / 478.1 MB, free: 11.48 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002331/0.3839, allocations: 241 kB / 478.3 MB, free: 11.23 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/0.384, allocations: 29.7 kB / 478.3 MB, free: 11.2 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.2e-05/0.3841, allocations: 183.7 kB / 478.5 MB, free: 11.01 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.04e-05/0.3841, allocations: 53.27 kB / 478.6 MB, free: 10.96 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.189e-05/0.3841, allocations: 4 kB / 478.6 MB, free: 10.96 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.3842, allocations: 334.7 kB / 478.9 MB, free: 10.62 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001148/0.3843, allocations: 60 kB / 479 MB, free: 10.56 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001633/0.3845, allocations: 167.9 kB / 479.1 MB, free: 10.36 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001293/0.3847, allocations: 75.94 kB / 479.2 MB, free: 10.29 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.3847, allocations: 4 kB / 479.2 MB, free: 10.28 MB / 362.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006967/0.3854, allocations: 326.5 kB / 479.5 MB, free: 9.953 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.3854, allocations: 11.97 kB / 479.5 MB, free: 9.941 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.3854, allocations: 4 kB / 479.5 MB, free: 9.938 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00021/0.3856, allocations: 49.78 kB / 479.6 MB, free: 9.887 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002819/0.3859, allocations: 67.89 kB / 479.7 MB, free: 9.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001425/0.3874, allocations: 1.465 MB / 481.1 MB, free: 8.242 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004004/0.3878, allocations: 67.78 kB / 481.2 MB, free: 8.176 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.518e-05/0.3878, allocations: 8 kB / 481.2 MB, free: 8.168 MB / 362.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: derivative.opAmp.v_in:VARIABLE(unit = "V" ) "Input voltage difference" type: Real 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 () * 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.0001809/0.388, allocations: 116.4 kB / 481.3 MB, free: 8.051 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.475e-05/0.388, allocations: 35.61 kB / 481.3 MB, free: 8.016 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.285e-05/0.3881, allocations: 21.78 kB / 481.4 MB, free: 8 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.3881, allocations: 7.984 kB / 481.4 MB, free: 7.992 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.3881, allocations: 4.734 kB / 481.4 MB, free: 7.988 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.3881, allocations: 3.938 kB / 481.4 MB, free: 7.984 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002818/0.3884, allocations: 289.9 kB / 481.7 MB, free: 7.664 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.3884, allocations: 0 / 481.7 MB, free: 7.664 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002133/0.3886, allocations: 43.97 kB / 481.7 MB, free: 7.621 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001322/0.3888, allocations: 48.97 kB / 481.8 MB, free: 7.57 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.074e-05/0.3888, allocations: 11.98 kB / 481.8 MB, free: 7.559 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001276/0.3901, allocations: 1.459 MB / 483.2 MB, free: 5.98 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.3901, allocations: 4.938 kB / 483.2 MB, free: 5.977 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006596/0.3908, allocations: 345.5 kB / 483.6 MB, free: 5.617 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008406/0.3916, allocations: 0.7872 MB / 484.4 MB, free: 4.805 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.795e-05/0.3917, allocations: 100.8 kB / 484.5 MB, free: 4.688 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.538e-05/0.3918, allocations: 4 kB / 484.5 MB, free: 4.684 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002854/0.3921, allocations: 40.03 kB / 484.5 MB, free: 4.645 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.191e-05/0.3921, allocations: 19.97 kB / 484.5 MB, free: 4.625 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.468e-05/0.3922, allocations: 11.98 kB / 484.5 MB, free: 4.613 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001595/0.3923, allocations: 185.2 kB / 484.7 MB, free: 4.434 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009037/0.3932, allocations: 83.83 kB / 484.8 MB, free: 4.352 MB / 362.7 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) * 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.0001452/0.3934, allocations: 111.4 kB / 484.9 MB, free: 4.234 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004883/0.3939, allocations: 295.4 kB / 485.2 MB, free: 3.934 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3939, allocations: 4.25 kB / 485.2 MB, free: 3.93 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002368/0.3941, allocations: 177.8 kB / 485.4 MB, free: 3.746 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002728/0.3944, allocations: 43.75 kB / 485.4 MB, free: 3.707 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000921/0.3953, allocations: 387.9 kB / 485.8 MB, free: 3.309 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004626/0.3958, allocations: 0.8061 MB / 486.6 MB, free: 2.477 MB / 362.7 MB Notification: Performance of SimCode: time 4.2e-07/0.3958, allocations: 0 / 486.6 MB, free: 2.477 MB / 362.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_HighPass_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_HighPass.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.mat does not exist to compare? outputFormat=mat