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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|derivative.c.v|derivative.opAmp.out.v|derivative.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|derivative.c.v|derivative.opAmp.out.v|derivative.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") [: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 trunk/package.mo): time 0.001166/0.001166, allocations: 206.7 kB / 8.544 MB, free: 1.805 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.213/1.213, allocations: 225.5 MB / 234.4 MB, free: 3.336 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008554/0.0008554, allocations: 89.94 kB / 286.3 MB, free: 5.254 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 9.147e-06/9.187e-06, allocations: 4 kB / 343.1 MB, free: 8.719 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1004, allocations: 51.48 MB / 394.6 MB, free: 5.191 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2769/0.3774, allocations: 81.68 MB / 476.3 MB, free: 10.92 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00026/0.3777, allocations: 80.2 kB / 476.4 MB, free: 10.89 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.01735/0.3951, allocations: 6.698 MB / 483.1 MB, free: 5.867 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.162e-05/0.3951, allocations: 11.98 kB / 483.1 MB, free: 5.855 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.00103/0.3962, allocations: 0.6303 MB / 483.7 MB, free: 5.195 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.3962, allocations: 8.031 kB / 483.7 MB, free: 5.188 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001053/0.3963, allocations: 41.91 kB / 483.8 MB, free: 5.148 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003878/0.3967, allocations: 300.8 kB / 484.1 MB, free: 4.855 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.014e-05/0.3967, allocations: 12 kB / 484.1 MB, free: 4.844 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.865e-05/0.3968, allocations: 16 kB / 484.1 MB, free: 4.828 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003553/0.3972, allocations: 194.9 kB / 484.3 MB, free: 4.719 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000396/0.3976, allocations: 262.3 kB / 484.5 MB, free: 4.52 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.3976, allocations: 0 / 484.5 MB, free: 4.52 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.78e-05/0.3976, allocations: 1.125 kB / 484.5 MB, free: 4.52 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.3976, allocations: 8 kB / 484.6 MB, free: 4.512 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002076/0.3997, allocations: 1.282 MB / 485.8 MB, free: 3.383 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000184/0.3999, allocations: 137.2 kB / 486 MB, free: 3.285 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.972e-05/0.4, allocations: 62.61 kB / 486 MB, free: 3.246 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.445e-05/0.4001, allocations: 4.25 kB / 486 MB, free: 3.242 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001693/0.4002, allocations: 133.9 kB / 486.2 MB, free: 3.121 MB / 346.7 MB Notification: Performance of pre-optimization done (n=15): time 1.443e-06/0.4002, allocations: 0 / 486.2 MB, free: 3.121 MB / 346.7 MB Notification: Performance of matching and sorting (n=15): time 0.0006036/0.4009, allocations: 244.9 kB / 486.4 MB, free: 2.914 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.085e-05/0.4009, allocations: 106.8 kB / 486.5 MB, free: 2.785 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002073/0.4011, allocations: 235 kB / 486.7 MB, free: 2.598 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/0.4011, allocations: 29.7 kB / 486.8 MB, free: 2.562 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.874e-05/0.4012, allocations: 187.6 kB / 486.9 MB, free: 2.395 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.44e-05/0.4013, allocations: 58.31 kB / 487 MB, free: 2.344 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.167e-05/0.4013, allocations: 0 / 487 MB, free: 2.344 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.614e-05/0.4013, allocations: 332.7 kB / 487.3 MB, free: 2.02 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.83e-05/0.4014, allocations: 60.5 kB / 487.4 MB, free: 1.988 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001327/0.4016, allocations: 159.1 kB / 487.5 MB, free: 1.824 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00011/0.4017, allocations: 76.19 kB / 487.6 MB, free: 1.777 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.4017, allocations: 4 kB / 487.6 MB, free: 1.773 MB / 346.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006101/0.4023, allocations: 330.7 kB / 487.9 MB, free: 1.508 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/0.4023, allocations: 7.984 kB / 488 MB, free: 1.5 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.4023, allocations: 4 kB / 488 MB, free: 1.496 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000208/0.4026, allocations: 55.41 kB / 488 MB, free: 1.453 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002592/0.4028, allocations: 59.89 kB / 488.1 MB, free: 1.395 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001209/0.4041, allocations: 1.472 MB / 489.5 MB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003751/0.4044, allocations: 67.7 kB / 489.6 MB, free: 15.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.291e-05/0.4045, allocations: 11.19 kB / 489.6 MB, free: 15.85 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.0001396/0.4046, allocations: 118 kB / 489.7 MB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.971e-05/0.4047, allocations: 27.62 kB / 489.8 MB, free: 15.7 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.744e-05/0.4047, allocations: 24.64 kB / 489.8 MB, free: 15.7 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.4047, allocations: 4 kB / 489.8 MB, free: 15.69 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.4047, allocations: 4 kB / 489.8 MB, free: 15.69 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.4047, allocations: 3.984 kB / 489.8 MB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002702/0.405, allocations: 298.8 kB / 490.1 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.405, allocations: 4 kB / 490.1 MB, free: 15.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002194/0.4053, allocations: 43.97 kB / 490.1 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001285/0.4054, allocations: 41.91 kB / 490.2 MB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.929e-05/0.4054, allocations: 7.984 kB / 490.2 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001388/0.4068, allocations: 1.464 MB / 491.6 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.4068, allocations: 1.625 kB / 491.7 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006669/0.4075, allocations: 351.8 kB / 492 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.058e-05/0.4076, allocations: 104.6 kB / 492.1 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.437e-05/0.4076, allocations: 0 / 492.1 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002845/0.4079, allocations: 44.03 kB / 492.1 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.371e-05/0.408, allocations: 18.95 kB / 492.2 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.545e-05/0.408, allocations: 11.98 kB / 492.2 MB, free: 13.39 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001636/0.4082, allocations: 186.4 kB / 492.4 MB, free: 13.25 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003517/0.4086, allocations: 83.83 kB / 492.4 MB, free: 13.16 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.0001519/0.4087, allocations: 102.5 kB / 492.5 MB, free: 13.06 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00047/0.4092, allocations: 291.8 kB / 492.8 MB, free: 12.81 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.4092, allocations: 4.188 kB / 492.8 MB, free: 12.81 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000225/0.4094, allocations: 179.4 kB / 493 MB, free: 12.65 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002679/0.4097, allocations: 37.3 kB / 493 MB, free: 12.62 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000899/0.4106, allocations: 384 kB / 493.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003914/0.411, allocations: 0.7945 MB / 494.2 MB, free: 11.45 MB / 362.7 MB Notification: Performance of SimCode: time 2.8e-07/0.411, allocations: 0 / 494.2 MB, free: 11.45 MB / 362.7 MB Notification: Performance of Templates: time 0.007326/0.4184, allocations: 3.73 MB / 497.9 MB, free: 7.805 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.makefile (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 & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/HighPass/HighPass.csv","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches