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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_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 3.2.3+maint.om/package.mo): time 0.0009621/0.0009621, allocations: 176.1 kB / 8.476 MB, free: 1.883 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.208/1.208, allocations: 205.2 MB / 214.1 MB, free: 5.449 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008694/0.0008696, allocations: 91.33 kB / 262.1 MB, free: 5.504 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.316e-06/8.356e-06, allocations: 4 kB / 315 MB, free: 41.54 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07874/0.07876, allocations: 47.57 MB / 362.6 MB, free: 9.996 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2396/0.3184, allocations: 78.57 MB / 441.1 MB, free: 10.54 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001981/0.3186, allocations: 77.05 kB / 441.2 MB, free: 10.54 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.01643/0.3351, allocations: 5.799 MB / 447 MB, free: 9.766 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.718e-05/0.3351, allocations: 7.906 kB / 447 MB, free: 9.762 MB / 314.7 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.0008711/0.336, allocations: 0.5975 MB / 447.6 MB, free: 9.258 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.336, allocations: 7.656 kB / 447.6 MB, free: 9.258 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.706e-05/0.3361, allocations: 35.09 kB / 447.6 MB, free: 9.242 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003628/0.3365, allocations: 284.2 kB / 447.9 MB, free: 8.988 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.3365, allocations: 7.688 kB / 447.9 MB, free: 8.988 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.973e-05/0.3366, allocations: 15.38 kB / 447.9 MB, free: 8.988 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003023/0.3369, allocations: 162.7 kB / 448.1 MB, free: 8.984 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002782/0.3372, allocations: 181.1 kB / 448.3 MB, free: 8.926 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.3372, allocations: 1.125 kB / 448.3 MB, free: 8.926 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.425e-05/0.3372, allocations: 3.984 kB / 448.3 MB, free: 8.922 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.3372, allocations: 7.75 kB / 448.3 MB, free: 8.922 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001455/0.3387, allocations: 0.9441 MB / 449.2 MB, free: 8.32 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000272/0.339, allocations: 139.5 kB / 449.4 MB, free: 8.293 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.41e-05/0.3391, allocations: 65.73 kB / 449.4 MB, free: 8.277 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.575e-05/0.3391, allocations: 7.906 kB / 449.4 MB, free: 8.273 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001461/0.3393, allocations: 129.9 kB / 449.6 MB, free: 8.184 MB / 314.7 MB Notification: Performance of pre-optimization done (n=16): time 1.363e-06/0.3393, allocations: 0 / 449.6 MB, free: 8.184 MB / 314.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004822/0.3398, allocations: 223.6 kB / 449.8 MB, free: 8.102 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.14e-05/0.3398, allocations: 114.6 kB / 449.9 MB, free: 7.969 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000176/0.34, allocations: 212 kB / 450.1 MB, free: 7.859 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.972e-05/0.34, allocations: 25.7 kB / 450.1 MB, free: 7.828 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.831e-05/0.3401, allocations: 165.1 kB / 450.3 MB, free: 7.688 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.108e-05/0.3401, allocations: 45.95 kB / 450.3 MB, free: 7.652 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.104e-05/0.3401, allocations: 3.938 kB / 450.3 MB, free: 7.648 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.085e-05/0.3402, allocations: 340.8 kB / 450.7 MB, free: 7.324 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001013/0.3403, allocations: 51.8 kB / 450.7 MB, free: 7.316 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001118/0.3404, allocations: 124.9 kB / 450.9 MB, free: 7.234 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.684e-05/0.3405, allocations: 54.39 kB / 450.9 MB, free: 7.227 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3405, allocations: 7.938 kB / 450.9 MB, free: 7.223 MB / 314.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000474/0.341, allocations: 276.5 kB / 451.2 MB, free: 7.133 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001068/0.3411, allocations: 0.6155 MB / 451.8 MB, free: 6.488 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.3411, allocations: 0 / 451.8 MB, free: 6.488 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001915/0.3413, allocations: 55.61 kB / 451.9 MB, free: 6.469 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002209/0.3416, allocations: 50.03 kB / 451.9 MB, free: 6.457 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003036/0.3419, allocations: 0.5929 MB / 452.5 MB, free: 5.922 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003117/0.3422, allocations: 54.61 kB / 452.5 MB, free: 5.898 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.086e-05/0.3422, allocations: 7.688 kB / 452.6 MB, free: 5.898 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.452e-06/0.3423, allocations: 3.812 kB / 452.6 MB, free: 5.898 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002958/0.3426, allocations: 186.7 kB / 452.7 MB, free: 5.855 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.476e-06/0.3426, allocations: 3.781 kB / 452.7 MB, free: 5.855 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.531e-05/0.3427, allocations: 41.14 kB / 452.8 MB, free: 5.84 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002096/0.3429, allocations: 54.38 kB / 452.8 MB, free: 5.824 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008868/0.3438, allocations: 1.47 MB / 454.3 MB, free: 4.492 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002724/0.3441, allocations: 42.88 kB / 454.4 MB, free: 4.473 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.739e-05/0.3441, allocations: 10.84 kB / 454.4 MB, free: 4.473 MB / 314.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: opAmp.simplifiedExpr:VARIABLE(unit = "V" protected = true ) "Simplified expression for homotopy-based initialization" type: Real 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 () * 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.0001165/0.3442, allocations: 116.7 kB / 454.5 MB, free: 4.355 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.424e-05/0.3442, allocations: 27.06 kB / 454.5 MB, free: 4.34 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.559e-05/0.3443, allocations: 27.55 kB / 454.5 MB, free: 4.332 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.3443, allocations: 0 / 454.5 MB, free: 4.332 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.3443, allocations: 0 / 454.5 MB, free: 4.332 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.3443, allocations: 3.906 kB / 454.5 MB, free: 4.328 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001882/0.3445, allocations: 264.8 kB / 454.8 MB, free: 4.125 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.3445, allocations: 0 / 454.8 MB, free: 4.125 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002026/0.3447, allocations: 50.41 kB / 454.8 MB, free: 4.105 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001197/0.3449, allocations: 49.73 kB / 454.9 MB, free: 4.086 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.576e-05/0.3449, allocations: 0 / 454.9 MB, free: 4.086 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001001/0.3459, allocations: 1.45 MB / 456.3 MB, free: 18.81 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.3459, allocations: 0 / 456.3 MB, free: 18.81 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004764/0.3464, allocations: 319.9 kB / 456.7 MB, free: 18.69 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.675e-05/0.3465, allocations: 104.5 kB / 456.8 MB, free: 18.58 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.233e-05/0.3465, allocations: 3.906 kB / 456.8 MB, free: 18.58 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000261/0.3468, allocations: 42.86 kB / 456.8 MB, free: 18.56 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.111e-05/0.3469, allocations: 19.31 kB / 456.8 MB, free: 18.55 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.284e-05/0.3469, allocations: 3.844 kB / 456.8 MB, free: 18.55 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0001286/0.347, allocations: 167.4 kB / 457 MB, free: 18.47 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004555/0.3475, allocations: 133.6 kB / 457.1 MB, free: 18.44 MB / 330.7 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) * 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.0001353/0.3476, allocations: 98.59 kB / 457.2 MB, free: 18.35 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006031/0.3482, allocations: 421 kB / 457.6 MB, free: 18.16 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3482, allocations: 0 / 457.6 MB, free: 18.16 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000232/0.3485, allocations: 176.1 kB / 457.8 MB, free: 18.05 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000246/0.3487, allocations: 42.33 kB / 457.8 MB, free: 18.03 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007012/0.3494, allocations: 368.1 kB / 458.2 MB, free: 17.81 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003448/0.3498, allocations: 0.7802 MB / 459 MB, free: 17.07 MB / 330.7 MB Notification: Performance of SimCode: time 2.51e-07/0.3498, allocations: 0 / 459 MB, free: 17.07 MB / 330.7 MB Notification: Performance of Templates: time 0.007689/0.3575, allocations: 4.529 MB / 463.5 MB, free: 14.83 MB / 330.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.makefile (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 & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/HighPass/HighPass.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches