Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.002795/0.002795, allocations: 178.3 kB / 8.152 MB, free: 2.203 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.785/1.785, allocations: 205.2 MB / 213.7 MB, free: 13.93 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001256/0.001255, allocations: 95.11 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.2e-05/1.219e-05, allocations: 4 kB / 314.3 MB, free: 9.039 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2396/0.2397, allocations: 47.56 MB / 361.8 MB, free: 45.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1246/0.3644, allocations: 78.58 MB / 440.4 MB, free: 7.465 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004335/0.3649, allocations: 79.95 kB / 440.5 MB, free: 7.387 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.03444/0.3994, allocations: 5.798 MB / 446.3 MB, free: 1.621 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.595e-05/0.3994, allocations: 8 kB / 446.3 MB, free: 1.613 MB / 330.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.001566/0.401, allocations: 0.5934 MB / 446.9 MB, free: 0.9727 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.4011, allocations: 12.03 kB / 446.9 MB, free: 0.9609 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001214/0.4012, allocations: 39.55 kB / 447 MB, free: 0.9219 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000549/0.4018, allocations: 283.8 kB / 447.2 MB, free: 0.6016 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.264e-05/0.4018, allocations: 8 kB / 447.2 MB, free: 0.5938 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.879e-05/0.4019, allocations: 12 kB / 447.3 MB, free: 0.582 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005713/0.4025, allocations: 165 kB / 447.4 MB, free: 432 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005356/0.403, allocations: 179.1 kB / 447.6 MB, free: 248 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.403, allocations: 3.938 kB / 447.6 MB, free: 244 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.609e-05/0.4031, allocations: 0 / 447.6 MB, free: 244 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/0.4031, allocations: 4 kB / 447.6 MB, free: 240 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00286/0.406, allocations: 0.9471 MB / 448.5 MB, free: 15.23 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005081/0.4065, allocations: 150.6 kB / 448.7 MB, free: 15.07 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001921/0.4067, allocations: 64.86 kB / 448.8 MB, free: 15 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.662e-05/0.4068, allocations: 0 / 448.8 MB, free: 15 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002943/0.4071, allocations: 135.6 kB / 448.9 MB, free: 14.86 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 1.923e-06/0.4071, allocations: 0 / 448.9 MB, free: 14.86 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0009289/0.408, allocations: 214.7 kB / 449.1 MB, free: 14.64 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.904e-05/0.4081, allocations: 106.8 kB / 449.2 MB, free: 14.51 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003735/0.4085, allocations: 212.3 kB / 449.4 MB, free: 14.29 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.23e-05/0.4086, allocations: 33.64 kB / 449.4 MB, free: 14.25 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001499/0.4087, allocations: 218.2 kB / 449.7 MB, free: 14.04 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.796e-05/0.4088, allocations: 55.28 kB / 449.7 MB, free: 13.98 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.876e-05/0.4089, allocations: 6.469 kB / 449.7 MB, free: 13.98 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.409, allocations: 318.8 kB / 450 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001876/0.4092, allocations: 60.23 kB / 450.1 MB, free: 13.59 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002489/0.4095, allocations: 116.1 kB / 450.2 MB, free: 13.45 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002044/0.4097, allocations: 60.75 kB / 450.3 MB, free: 13.39 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.4097, allocations: 3.938 kB / 450.3 MB, free: 13.39 MB / 346.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0009638/0.4107, allocations: 264.8 kB / 450.5 MB, free: 13.12 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003014/0.411, allocations: 0.6189 MB / 451.1 MB, free: 12.46 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.799e-06/0.411, allocations: 0 / 451.1 MB, free: 12.46 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002864/0.4113, allocations: 44.84 kB / 451.2 MB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004609/0.4118, allocations: 59.95 kB / 451.2 MB, free: 12.35 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006733/0.4125, allocations: 0.5836 MB / 451.8 MB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005226/0.413, allocations: 59.86 kB / 451.9 MB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.126e-05/0.4131, allocations: 4 kB / 451.9 MB, free: 11.68 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.032e-05/0.4131, allocations: 8 kB / 451.9 MB, free: 11.67 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005938/0.4137, allocations: 184 kB / 452.1 MB, free: 11.49 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.4137, allocations: 0 / 452.1 MB, free: 11.49 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001647/0.4139, allocations: 38.16 kB / 452.1 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004275/0.4143, allocations: 56.09 kB / 452.2 MB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001872/0.4162, allocations: 1.461 MB / 453.6 MB, free: 9.824 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004798/0.4167, allocations: 47.88 kB / 453.7 MB, free: 9.777 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.977e-05/0.4168, allocations: 9.062 kB / 453.7 MB, free: 9.77 MB / 346.7 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 () * 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.0001315/0.4169, allocations: 37.55 kB / 453.7 MB, free: 9.727 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.469e-05/0.417, allocations: 27.72 kB / 453.7 MB, free: 9.699 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.323e-05/0.4171, allocations: 25.89 kB / 453.8 MB, free: 9.676 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.4171, allocations: 0 / 453.8 MB, free: 9.676 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.4171, allocations: 0.9375 kB / 453.8 MB, free: 9.676 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.4171, allocations: 0 / 453.8 MB, free: 9.676 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004071/0.4176, allocations: 270 kB / 454 MB, free: 9.375 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.4176, allocations: 0 / 454 MB, free: 9.375 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003973/0.418, allocations: 48.64 kB / 454.1 MB, free: 9.328 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002444/0.4182, allocations: 52.77 kB / 454.1 MB, free: 9.273 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.106e-05/0.4183, allocations: 0 / 454.1 MB, free: 9.273 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002093/0.4204, allocations: 1.444 MB / 455.6 MB, free: 7.719 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.277e-06/0.4204, allocations: 7.891 kB / 455.6 MB, free: 7.711 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001043/0.4215, allocations: 321.6 kB / 455.9 MB, free: 7.375 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001097/0.4216, allocations: 99.67 kB / 456 MB, free: 7.262 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.694e-05/0.4217, allocations: 4 kB / 456 MB, free: 7.258 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005007/0.4222, allocations: 48.02 kB / 456 MB, free: 7.211 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001115/0.4223, allocations: 19.81 kB / 456.1 MB, free: 7.191 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-05/0.4224, allocations: 8 kB / 456.1 MB, free: 7.184 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0002656/0.4226, allocations: 176.5 kB / 456.2 MB, free: 7.012 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007181/0.4234, allocations: 119.7 kB / 456.4 MB, free: 6.895 MB / 346.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.0002138/0.4236, allocations: 103.7 kB / 456.5 MB, free: 6.785 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001102/0.4247, allocations: 407.8 kB / 456.9 MB, free: 6.367 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/0.4247, allocations: 192 / 456.9 MB, free: 6.367 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003892/0.4251, allocations: 185.8 kB / 457 MB, free: 6.176 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004465/0.4256, allocations: 32.33 kB / 457.1 MB, free: 6.145 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00127/0.4269, allocations: 380.7 kB / 457.4 MB, free: 5.742 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005534/0.4275, allocations: 0.7818 MB / 458.2 MB, free: 4.938 MB / 346.7 MB Notification: Performance of SimCode: time 1.223e-06/0.4275, allocations: 0 / 458.2 MB, free: 4.938 MB / 346.7 MB Notification: Performance of Templates: time 0.009866/0.4373, allocations: 4.282 MB / 462.5 MB, free: 0.6914 MB / 346.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches