Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.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.Subtracter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter") [: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.001472/0.001472, allocations: 195.2 kB / 8.535 MB, free: 1.844 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.41/1.41, allocations: 225.5 MB / 234.4 MB, free: 3.426 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008497/0.0008498, allocations: 89.27 kB / 286.3 MB, free: 5.266 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.012e-05/1.029e-05, allocations: 4 kB / 343.1 MB, free: 8.754 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09027/0.0903, allocations: 51.48 MB / 394.6 MB, free: 5.219 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2461/0.3364, allocations: 80.91 MB / 475.5 MB, free: 11.87 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002043/0.3367, allocations: 82.14 kB / 475.6 MB, free: 11.84 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.01422/0.3509, allocations: 5.959 MB / 481.6 MB, free: 7.621 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.878e-05/0.351, allocations: 12 kB / 481.6 MB, free: 7.609 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: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.0007096/0.3517, allocations: 0.6027 MB / 482.2 MB, free: 6.988 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.3517, allocations: 16.03 kB / 482.2 MB, free: 6.973 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001811/0.3519, allocations: 51.44 kB / 482.3 MB, free: 6.922 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003828/0.3523, allocations: 314.6 kB / 482.6 MB, free: 6.617 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.3523, allocations: 8 kB / 482.6 MB, free: 6.609 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.538e-05/0.3524, allocations: 23.94 kB / 482.6 MB, free: 6.586 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003821/0.3528, allocations: 230.1 kB / 482.8 MB, free: 6.457 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004234/0.3532, allocations: 309 kB / 483.1 MB, free: 6.23 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.3532, allocations: 0 / 483.1 MB, free: 6.23 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.962e-05/0.3533, allocations: 3.906 kB / 483.1 MB, free: 6.227 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.317e-06/0.3533, allocations: 8 kB / 483.1 MB, free: 6.219 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001837/0.3551, allocations: 1.403 MB / 484.5 MB, free: 5.008 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003005/0.3554, allocations: 167.1 kB / 484.7 MB, free: 4.887 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.661e-05/0.3555, allocations: 69.52 kB / 484.8 MB, free: 4.844 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.836e-05/0.3556, allocations: 3.938 kB / 484.8 MB, free: 4.84 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.687e-05/0.3556, allocations: 34.56 kB / 484.8 MB, free: 4.797 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 1.262e-06/0.3556, allocations: 0 / 484.8 MB, free: 4.797 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006705/0.3563, allocations: 270.1 kB / 485.1 MB, free: 4.566 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.951e-05/0.3563, allocations: 51.41 kB / 485.1 MB, free: 4.504 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002014/0.3565, allocations: 241.8 kB / 485.4 MB, free: 4.312 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/0.3565, allocations: 25.7 kB / 485.4 MB, free: 4.281 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.455e-05/0.3566, allocations: 212 kB / 485.6 MB, free: 4.086 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.747e-05/0.3566, allocations: 60.12 kB / 485.6 MB, free: 4.035 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.758e-06/0.3567, allocations: 0 / 485.6 MB, free: 4.035 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.912e-05/0.3567, allocations: 328.2 kB / 486 MB, free: 3.715 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.734e-05/0.3568, allocations: 60.61 kB / 486 MB, free: 3.68 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001045/0.3569, allocations: 128.9 kB / 486.1 MB, free: 3.551 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001074/0.357, allocations: 70.59 kB / 486.2 MB, free: 3.512 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.357, allocations: 8 kB / 486.2 MB, free: 3.504 MB / 346.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006129/0.3577, allocations: 347.6 kB / 486.6 MB, free: 3.219 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.3577, allocations: 4 kB / 486.6 MB, free: 3.215 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.832e-06/0.3577, allocations: 4 kB / 486.6 MB, free: 3.211 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002599/0.358, allocations: 81 kB / 486.7 MB, free: 3.145 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001525/0.3581, allocations: 39.92 kB / 486.7 MB, free: 3.105 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001903/0.36, allocations: 2.904 MB / 489.6 MB, free: 192 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002053/0.3603, allocations: 35.67 kB / 489.6 MB, free: 156 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.683e-05/0.3603, allocations: 9.875 kB / 489.6 MB, free: 148 kB / 346.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: feedback.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: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001138/0.3604, allocations: 114 kB / 489.7 MB, free: 28 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.701e-05/0.3605, allocations: 23.72 kB / 489.8 MB, free: 4 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.948e-05/0.3605, allocations: 26.27 kB / 489.8 MB, free: 15.99 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-06/0.3605, allocations: 4 kB / 489.8 MB, free: 15.99 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.3606, allocations: 3.906 kB / 489.8 MB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.3606, allocations: 0 / 489.8 MB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003054/0.3609, allocations: 311 kB / 490.1 MB, free: 15.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3609, allocations: 4 kB / 490.1 MB, free: 15.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.841e-05/0.361, allocations: 20.8 kB / 490.1 MB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001912/0.3612, allocations: 84.72 kB / 490.2 MB, free: 15.61 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.3612, allocations: 0 / 490.2 MB, free: 15.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002235/0.3634, allocations: 2.899 MB / 493.1 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.3635, allocations: 0 / 493.1 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006505/0.3641, allocations: 369.1 kB / 493.5 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.334e-05/0.3642, allocations: 104.7 kB / 493.6 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.352e-05/0.3642, allocations: 0 / 493.6 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002274/0.3645, allocations: 27.97 kB / 493.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.971e-05/0.3645, allocations: 14.23 kB / 493.6 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.3645, allocations: 5.438 kB / 493.6 MB, free: 12.2 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001516/0.3647, allocations: 183.8 kB / 493.8 MB, free: 12.06 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004714/0.3652, allocations: 95.62 kB / 493.9 MB, free: 11.97 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001348/0.3653, allocations: 103.8 kB / 494 MB, free: 11.86 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004997/0.3658, allocations: 368 kB / 494.4 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.3658, allocations: 4 kB / 494.4 MB, free: 11.53 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002615/0.3661, allocations: 282.8 kB / 494.6 MB, free: 11.27 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000267/0.3664, allocations: 38.48 kB / 494.7 MB, free: 11.23 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007184/0.3671, allocations: 355.5 kB / 495 MB, free: 10.89 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003214/0.3674, allocations: 0.8 MB / 495.8 MB, free: 10.06 MB / 362.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3674, allocations: 0 / 495.8 MB, free: 10.06 MB / 362.7 MB Notification: Performance of Templates: time 0.006583/0.374, allocations: 3.423 MB / 499.2 MB, free: 6.711 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Subtracter/Subtracter.csv","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches