Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.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.AmplifierWithOpAmpDetailed,tolerance=2e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|opAmp.q_fp1|opAmp.q_fr1|opAmp.q_fr2|opAmp.q_fr3|opAmp.v_in|opAmp.v_source|opAmp.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") translateModel(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,tolerance=2e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|opAmp.q_fp1|opAmp.q_fr1|opAmp.q_fr2|opAmp.q_fr3|opAmp.v_in|opAmp.v_source|opAmp.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") [: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.00118/0.00118, allocations: 178.5 kB / 8.476 MB, free: 1.824 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.19/1.19, allocations: 205.2 MB / 214.1 MB, free: 5.164 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.000791/0.0007911, allocations: 93.97 kB / 262.1 MB, free: 5.203 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.101e-06/6.231e-06, allocations: 0 / 315 MB, free: 41.52 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07578/0.0758, allocations: 47.58 MB / 362.5 MB, free: 9.977 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.252/0.3279, allocations: 78.34 MB / 440.9 MB, free: 10.92 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002126/0.3281, allocations: 69.66 kB / 441 MB, free: 10.92 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.02167/0.3498, allocations: 8.036 MB / 449 MB, free: 9.426 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.477e-05/0.3499, allocations: 7.469 kB / 449 MB, free: 9.426 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0008668/0.3507, allocations: 0.6304 MB / 449.6 MB, free: 8.922 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.3508, allocations: 7.812 kB / 449.6 MB, free: 8.922 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.581e-05/0.3509, allocations: 46.56 kB / 449.7 MB, free: 8.898 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003216/0.3512, allocations: 295.6 kB / 450 MB, free: 8.645 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.3512, allocations: 15.53 kB / 450 MB, free: 8.641 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.865e-05/0.3513, allocations: 22.56 kB / 450 MB, free: 8.641 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003198/0.3516, allocations: 194.8 kB / 450.2 MB, free: 8.633 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004051/0.352, allocations: 277.8 kB / 450.5 MB, free: 8.539 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.352, allocations: 7.688 kB / 450.5 MB, free: 8.535 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.885e-05/0.3521, allocations: 3.938 kB / 450.5 MB, free: 8.531 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.3521, allocations: 7.719 kB / 450.5 MB, free: 8.531 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001581/0.3537, allocations: 1.106 MB / 451.6 MB, free: 7.883 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003611/0.354, allocations: 213.2 kB / 451.8 MB, free: 7.844 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003382/0.3544, allocations: 198 kB / 452 MB, free: 7.809 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005486/0.355, allocations: 1.134 MB / 453.1 MB, free: 6.469 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.93e-05/0.355, allocations: 42.7 kB / 453.2 MB, free: 6.422 MB / 314.7 MB Notification: Performance of pre-optimization done (n=27): time 1.823e-06/0.355, allocations: 0 / 453.2 MB, free: 6.422 MB / 314.7 MB Notification: Performance of matching and sorting (n=27): time 0.0005521/0.3555, allocations: 263.4 kB / 453.4 MB, free: 6.34 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.451e-05/0.3556, allocations: 80.98 kB / 453.5 MB, free: 6.246 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002082/0.3558, allocations: 246.6 kB / 453.7 MB, free: 6.129 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/0.3558, allocations: 25.7 kB / 453.8 MB, free: 6.098 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.96e-05/0.3559, allocations: 193.7 kB / 454 MB, free: 5.941 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.925e-05/0.356, allocations: 92.91 kB / 454.1 MB, free: 5.871 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.499e-05/0.356, allocations: 3.938 kB / 454.1 MB, free: 5.867 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.876e-05/0.3561, allocations: 344.8 kB / 454.4 MB, free: 5.543 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001283/0.3562, allocations: 76.81 kB / 454.5 MB, free: 5.539 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001573/0.3564, allocations: 166.5 kB / 454.6 MB, free: 5.445 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001813/0.3565, allocations: 100.3 kB / 454.7 MB, free: 5.43 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.3566, allocations: 0 / 454.7 MB, free: 5.43 MB / 314.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000575/0.3571, allocations: 367.9 kB / 455.1 MB, free: 5.32 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.3572, allocations: 3.75 kB / 455.1 MB, free: 5.32 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.3572, allocations: 3.984 kB / 455.1 MB, free: 5.316 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002628/0.3574, allocations: 68.23 kB / 455.2 MB, free: 5.297 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003213/0.3578, allocations: 75.89 kB / 455.2 MB, free: 5.281 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001306/0.3591, allocations: 1.676 MB / 456.9 MB, free: 3.91 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002391/0.3593, allocations: 27.03 kB / 456.9 MB, free: 3.895 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.446e-05/0.3594, allocations: 11.34 kB / 456.9 MB, free: 3.895 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 36 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.82e-05/0.3595, allocations: 127.7 kB / 457.1 MB, free: 3.77 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.726e-05/0.3595, allocations: 30.97 kB / 457.1 MB, free: 3.754 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004691/0.36, allocations: 288.1 kB / 457.4 MB, free: 3.66 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.36, allocations: 3.938 kB / 457.4 MB, free: 3.66 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.36, allocations: 0 / 457.4 MB, free: 3.66 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.36, allocations: 7.984 kB / 457.4 MB, free: 3.652 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003044/0.3603, allocations: 344.6 kB / 457.7 MB, free: 3.422 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3604, allocations: 192 / 457.7 MB, free: 3.422 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003458/0.3607, allocations: 65.17 kB / 457.8 MB, free: 3.406 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00015/0.3609, allocations: 61.14 kB / 457.9 MB, free: 3.383 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.271e-05/0.3609, allocations: 3.984 kB / 457.9 MB, free: 3.379 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002814/0.3612, allocations: 0.6067 MB / 458.5 MB, free: 2.852 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.3612, allocations: 0 / 458.5 MB, free: 2.852 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000531/0.3617, allocations: 479.4 kB / 458.9 MB, free: 2.648 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.61e-05/0.3618, allocations: 107.6 kB / 459 MB, free: 18.53 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.341e-05/0.3619, allocations: 7.922 kB / 459 MB, free: 18.53 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002754/0.3622, allocations: 23.23 kB / 459.1 MB, free: 18.52 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.738e-05/0.3622, allocations: 14.36 kB / 459.1 MB, free: 18.52 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.102e-05/0.3623, allocations: 10.64 kB / 459.1 MB, free: 18.51 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0001408/0.3624, allocations: 191.3 kB / 459.3 MB, free: 18.43 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004249/0.3628, allocations: 104.3 kB / 459.4 MB, free: 18.41 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (opAmp.v_in,opAmp.q_fr1,opAmp.q_fr2,opAmp.q_fr3,opAmp.q_fp1,opAmp.v_source,opAmp.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 19 * 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: 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 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001994/0.3631, allocations: 125.3 kB / 459.5 MB, free: 18.3 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005033/0.3636, allocations: 341.4 kB / 459.8 MB, free: 18.18 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3636, allocations: 0 / 459.8 MB, free: 18.18 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002169/0.3638, allocations: 124 kB / 460 MB, free: 18.16 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002418/0.3641, allocations: 26.08 kB / 460 MB, free: 18.16 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009977/0.3651, allocations: 0.6383 MB / 460.6 MB, free: 17.75 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004279/0.3655, allocations: 0.8274 MB / 461.5 MB, free: 16.98 MB / 330.7 MB Notification: Performance of SimCode: time 2.8e-07/0.3655, allocations: 3.938 kB / 461.5 MB, free: 16.98 MB / 330.7 MB Notification: Performance of Templates: time 0.006882/0.3724, allocations: 3.537 MB / 465 MB, free: 15.23 MB / 330.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/AmplifierWithOpAmpDetailed/AmplifierWithOpAmpDetailed.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,opAmp.q_fp1,opAmp.q_fr1,opAmp.q_fr2,opAmp.q_fr3,opAmp.v_in,opAmp.v_source,opAmp.x Variables in the result:constantVoltage.V,constantVoltage1.V,opAmp.Avcm_val,opAmp.Avd0,opAmp.Avd0_val,opAmp.CMRR,opAmp.Cin,opAmp.I1,opAmp.I2,opAmp.Ib,opAmp.Imaxsi,opAmp.Imaxsi_val,opAmp.Imaxso,opAmp.Imaxso_val,opAmp.Ios,opAmp.Rcm,opAmp.Rdm,opAmp.Rout,opAmp.Ts,opAmp.Vos,opAmp.fp1,opAmp.fp2,opAmp.fp3,opAmp.fp4,opAmp.fz,opAmp.q_fp1,opAmp.q_fr1,opAmp.q_fr2,opAmp.q_fr3,opAmp.sr_m,opAmp.sr_m_val,opAmp.sr_p,opAmp.sr_p_val,opAmp.v_in,opAmp.v_source,opAmp.vcm,opAmp.vcm_abs,opAmp.vcp,opAmp.vcp_abs,opAmp.x,resistor.R,resistor.T,resistor.T_ref,resistor.alpha,resistor1.R,resistor1.T,resistor1.T_ref,resistor1.alpha,resistor2.R,resistor2.T,resistor2.T_ref,resistor2.alpha,sineVoltage.V,sineVoltage.freqHz,sineVoltage.offset,sineVoltage.phase,sineVoltage.signalSource.amplitude,sineVoltage.signalSource.freqHz,sineVoltage.signalSource.offset,sineVoltage.signalSource.phase,sineVoltage.signalSource.startTime,sineVoltage.startTime,time