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: 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_4.0.0_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_4.0.0_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 4.0.0+maint.om/package.mo): time 0.001443/0.001443, allocations: 181.4 kB / 8.131 MB, free: 2.199 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.314/1.314, allocations: 221.4 MB / 229.9 MB, free: 3.004 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.0009012/0.0009012, allocations: 105.8 kB / 280.8 MB, free: 1.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.116e-06/8.156e-06, allocations: 4 kB / 336.5 MB, free: 9.484 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2117/0.2117, allocations: 50.39 MB / 386.9 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08208/0.2938, allocations: 80.89 MB / 467.8 MB, free: 5.898 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001952/0.294, allocations: 75.95 kB / 467.9 MB, free: 5.824 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.01892/0.313, allocations: 6.669 MB / 474.6 MB, free: 15.16 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.982e-05/0.313, allocations: 16 kB / 474.6 MB, free: 15.14 MB / 362.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.0009798/0.314, allocations: 0.6292 MB / 475.2 MB, free: 14.46 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.084e-05/0.314, allocations: 8.031 kB / 475.2 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.832e-05/0.3141, allocations: 35.62 kB / 475.2 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003816/0.3145, allocations: 306 kB / 475.5 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.3145, allocations: 12 kB / 475.6 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.498e-05/0.3146, allocations: 20 kB / 475.6 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003994/0.315, allocations: 189.3 kB / 475.8 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004197/0.3154, allocations: 263.8 kB / 476 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.3155, allocations: 4 kB / 476 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.734e-05/0.3155, allocations: 6.156 kB / 476 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.956e-06/0.3155, allocations: 4 kB / 476 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002199/0.3177, allocations: 1.282 MB / 477.3 MB, free: 12.22 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001983/0.3179, allocations: 122.6 kB / 477.4 MB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000115/0.318, allocations: 68.8 kB / 477.5 MB, free: 12.02 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.84e-05/0.3181, allocations: 11.92 kB / 477.5 MB, free: 12.01 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001723/0.3183, allocations: 133.4 kB / 477.6 MB, free: 11.86 MB / 362.7 MB Notification: Performance of pre-optimization done (n=15): time 1.263e-06/0.3183, allocations: 0 / 477.6 MB, free: 11.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.0006272/0.3189, allocations: 238.1 kB / 477.9 MB, free: 11.62 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.113e-05/0.319, allocations: 106.8 kB / 478 MB, free: 11.49 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002576/0.3192, allocations: 245 kB / 478.2 MB, free: 11.25 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.834e-05/0.3193, allocations: 25.7 kB / 478.2 MB, free: 11.21 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/0.3194, allocations: 183.7 kB / 478.4 MB, free: 11.03 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.261e-05/0.3194, allocations: 51.3 kB / 478.5 MB, free: 10.98 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.264e-05/0.3194, allocations: 0 / 478.5 MB, free: 10.98 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.3196, allocations: 338.7 kB / 478.8 MB, free: 10.64 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001162/0.3197, allocations: 67.94 kB / 478.9 MB, free: 10.57 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001788/0.3199, allocations: 160 kB / 479 MB, free: 10.37 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001267/0.32, allocations: 80.05 kB / 479.1 MB, free: 10.3 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.32, allocations: 0 / 479.1 MB, free: 10.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006954/0.3207, allocations: 326.5 kB / 479.4 MB, free: 9.969 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.3208, allocations: 7.906 kB / 479.4 MB, free: 9.961 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.3208, allocations: 4 kB / 479.4 MB, free: 9.957 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001994/0.321, allocations: 57.86 kB / 479.5 MB, free: 9.898 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003464/0.3213, allocations: 71.95 kB / 479.6 MB, free: 9.828 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001481/0.3228, allocations: 1.468 MB / 481 MB, free: 8.246 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000357/0.3232, allocations: 59.72 kB / 481.1 MB, free: 8.188 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.518e-05/0.3232, allocations: 16.06 kB / 481.1 MB, free: 8.172 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.0001459/0.3234, allocations: 116.9 kB / 481.2 MB, free: 8.051 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.114e-05/0.3234, allocations: 27.62 kB / 481.2 MB, free: 8.023 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.644e-05/0.3235, allocations: 25.77 kB / 481.3 MB, free: 8.004 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.3235, allocations: 0 / 481.3 MB, free: 8.004 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-06/0.3235, allocations: 0.8438 kB / 481.3 MB, free: 8.004 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.3235, allocations: 0 / 481.3 MB, free: 8.004 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000285/0.3238, allocations: 297.9 kB / 481.6 MB, free: 7.676 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3238, allocations: 7.938 kB / 481.6 MB, free: 7.668 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002193/0.324, allocations: 36.16 kB / 481.6 MB, free: 7.633 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001292/0.3242, allocations: 64.81 kB / 481.7 MB, free: 7.566 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.515e-05/0.3242, allocations: 0 / 481.7 MB, free: 7.566 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001321/0.3255, allocations: 1.459 MB / 483.1 MB, free: 5.988 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.3255, allocations: 3.906 kB / 483.1 MB, free: 5.984 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006816/0.3262, allocations: 342.5 kB / 483.5 MB, free: 5.629 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.322e-05/0.3263, allocations: 104.7 kB / 483.6 MB, free: 5.508 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.576e-05/0.3264, allocations: 4 kB / 483.6 MB, free: 5.504 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002914/0.3267, allocations: 48.2 kB / 483.6 MB, free: 5.457 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.335e-05/0.3267, allocations: 15.98 kB / 483.6 MB, free: 5.441 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-05/0.3268, allocations: 7.984 kB / 483.6 MB, free: 5.434 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001691/0.3269, allocations: 185.2 kB / 483.8 MB, free: 5.254 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003286/0.3273, allocations: 88.08 kB / 483.9 MB, free: 5.168 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.0001352/0.3274, allocations: 107.1 kB / 484 MB, free: 5.055 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004496/0.3279, allocations: 301 kB / 484.3 MB, free: 4.746 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3279, allocations: 0 / 484.3 MB, free: 4.746 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002272/0.3281, allocations: 174.5 kB / 484.5 MB, free: 4.566 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000262/0.3284, allocations: 42.12 kB / 484.5 MB, free: 4.527 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008061/0.3292, allocations: 374.6 kB / 484.9 MB, free: 4.141 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003723/0.3296, allocations: 0.8022 MB / 485.7 MB, free: 3.312 MB / 362.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3296, allocations: 4 kB / 485.7 MB, free: 3.309 MB / 362.7 MB Notification: Performance of Templates: time 0.007132/0.3368, allocations: 3.77 MB / 489.5 MB, free: 15.59 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.makefile (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 & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches