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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002297/0.002297, allocations: 103.6 kB / 21.18 MB, free: 472 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00284/0.00284, allocations: 214.4 kB / 24.47 MB, free: 3.793 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.643/1.643, allocations: 207.7 MB / 235.3 MB, free: 9.789 MB / 190.1 MB " [Timeout remaining time 178] 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,tolerance=2e-07,outputFormat="mat",numberOfIntervals=2500,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=2500,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") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002189/0.002189, allocations: 57.8 kB / 347.7 MB, free: 9.391 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3288/0.331, allocations: 49.16 MB / 396.9 MB, free: 9.391 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.005061/0.3361, allocations: 2.904 MB / 399.8 MB, free: 7.418 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002516/0.3386, allocations: 0.9431 MB / 400.7 MB, free: 6.762 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005394/0.3391, allocations: 4.688 kB / 400.7 MB, free: 6.762 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003169/0.3395, allocations: 61.48 kB / 400.8 MB, free: 6.727 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007314/0.3402, allocations: 133.5 kB / 400.9 MB, free: 6.629 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000604/0.3408, allocations: 147.4 kB / 401 MB, free: 6.551 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008379/0.3416, allocations: 485.2 kB / 401.5 MB, free: 6.312 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000267/0.3419, allocations: 102.8 kB / 401.6 MB, free: 6.254 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003035/0.3422, allocations: 197.3 kB / 401.8 MB, free: 6.164 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002858/0.3425, allocations: 187.8 kB / 402 MB, free: 6.078 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.645e-05/0.3426, allocations: 40.06 kB / 402 MB, free: 6.078 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002054/0.3428, allocations: 67.45 kB / 402.1 MB, free: 6.074 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.476e-05/0.3429, allocations: 98.22 kB / 402.2 MB, free: 6.008 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001947/0.3431, allocations: 175.5 kB / 402.4 MB, free: 5.918 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006761/0.3437, allocations: 0.49 MB / 402.9 MB, free: 5.727 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.3437, allocations: 0 / 402.9 MB, free: 5.727 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.3437, allocations: 3.938 kB / 402.9 MB, free: 5.723 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.626e-06/0.3437, allocations: 1.594 kB / 402.9 MB, free: 5.723 MB / 318.1 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.001304/0.3451, allocations: 0.6633 MB / 403.5 MB, free: 5.246 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.3451, allocations: 17.33 kB / 403.5 MB, free: 5.238 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.866e-05/0.3452, allocations: 48.34 kB / 403.6 MB, free: 5.215 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004391/0.3456, allocations: 252.2 kB / 403.8 MB, free: 5.004 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.561e-05/0.3457, allocations: 23 kB / 403.9 MB, free: 4.996 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.798e-05/0.3457, allocations: 36.05 kB / 403.9 MB, free: 4.984 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006859/0.3464, allocations: 450.6 kB / 404.3 MB, free: 4.695 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.3464, allocations: 0 / 404.3 MB, free: 4.695 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.623e-05/0.3465, allocations: 15.59 kB / 404.3 MB, free: 4.684 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.341e-05/0.3465, allocations: 7.5 kB / 404.4 MB, free: 4.684 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005009/0.347, allocations: 233.1 kB / 404.6 MB, free: 4.605 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001851/0.3488, allocations: 0.9868 MB / 405.6 MB, free: 3.965 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006478/0.3495, allocations: 240.8 kB / 405.8 MB, free: 3.859 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005094/0.35, allocations: 191 kB / 406 MB, free: 3.805 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000351/0.3503, allocations: 69.8 kB / 406.1 MB, free: 3.797 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.509e-05/0.3504, allocations: 42.52 kB / 406.1 MB, free: 3.75 MB / 318.1 MB Notification: Performance of pre-optimization done (n=27): time 1.863e-06/0.3504, allocations: 0 / 406.1 MB, free: 3.75 MB / 318.1 MB Notification: Performance of matching and sorting (n=27): time 0.00135/0.3517, allocations: 450.4 kB / 406.5 MB, free: 3.57 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.351e-05/0.3517, allocations: 80.36 kB / 406.6 MB, free: 3.477 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003167/0.3521, allocations: 299.6 kB / 406.9 MB, free: 3.301 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.3521, allocations: 32.45 kB / 406.9 MB, free: 3.266 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.3522, allocations: 220.1 kB / 407.2 MB, free: 3.082 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.593e-05/0.3523, allocations: 105.8 kB / 407.3 MB, free: 3 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.3524, allocations: 70.22 kB / 407.3 MB, free: 2.953 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.549e-05/0.3524, allocations: 345.4 kB / 407.7 MB, free: 2.625 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002137/0.3526, allocations: 105.2 kB / 407.8 MB, free: 2.586 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002593/0.3529, allocations: 203 kB / 408 MB, free: 2.434 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004592/0.3534, allocations: 281.5 kB / 408.2 MB, free: 2.258 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.3534, allocations: 5.406 kB / 408.2 MB, free: 2.254 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007464/0.3541, allocations: 411.8 kB / 408.6 MB, free: 2.066 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.3541, allocations: 11.62 kB / 408.7 MB, free: 2.062 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.3541, allocations: 2.562 kB / 408.7 MB, free: 2.062 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002647/0.3544, allocations: 62.89 kB / 408.7 MB, free: 2.043 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003188/0.3547, allocations: 76.59 kB / 408.8 MB, free: 2.035 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001615/0.3563, allocations: 1.816 MB / 410.6 MB, free: 448 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002698/0.3566, allocations: 39.38 kB / 410.7 MB, free: 420 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.922e-05/0.3566, allocations: 14.97 kB / 410.7 MB, free: 416 kB / 318.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000146/0.3568, allocations: 154.8 kB / 410.8 MB, free: 268 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.308e-05/0.3568, allocations: 35.78 kB / 410.9 MB, free: 248 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000693/0.3575, allocations: 310.8 kB / 411.2 MB, free: 92 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/0.3575, allocations: 3.766 kB / 411.2 MB, free: 92 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/0.3576, allocations: 0 / 411.2 MB, free: 92 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-06/0.3576, allocations: 1.219 kB / 411.2 MB, free: 92 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005219/0.3581, allocations: 280.7 kB / 411.4 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.3581, allocations: 0 / 411.4 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003299/0.3584, allocations: 55.23 kB / 411.5 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002084/0.3586, allocations: 62.66 kB / 411.6 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.809e-05/0.3586, allocations: 7.922 kB / 411.6 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005215/0.3592, allocations: 0.611 MB / 412.2 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.3592, allocations: 1.188 kB / 412.2 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001026/0.3602, allocations: 0.492 MB / 412.7 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001447/0.3603, allocations: 57.12 kB / 412.7 MB, free: 14.97 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.657e-05/0.3604, allocations: 10.28 kB / 412.7 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002651/0.3607, allocations: 18.33 kB / 412.7 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.803e-05/0.3607, allocations: 15.23 kB / 412.8 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.882e-05/0.3608, allocations: 11.78 kB / 412.8 MB, free: 14.95 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003021/0.3611, allocations: 207 kB / 413 MB, free: 14.84 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3611, allocations: 192 / 413 MB, free: 14.84 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005975/0.3617, allocations: 122.2 kB / 413.1 MB, free: 14.8 MB / 334.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000268/0.3619, allocations: 128 kB / 413.2 MB, free: 14.7 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00105/0.363, allocations: 381.5 kB / 413.6 MB, free: 14.48 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.363, allocations: 1.25 kB / 413.6 MB, free: 14.48 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004044/0.3634, allocations: 140.1 kB / 413.7 MB, free: 14.41 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003926/0.3638, allocations: 32.92 kB / 413.8 MB, free: 14.39 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001866/0.3657, allocations: 0.8696 MB / 414.6 MB, free: 13.77 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002269/0.3659, allocations: 186.3 kB / 414.8 MB, free: 13.63 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001584/0.366, allocations: 36.33 kB / 414.8 MB, free: 13.62 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.42e-05/0.3661, allocations: 22.66 kB / 414.9 MB, free: 13.61 MB / 334.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3661, allocations: 0 / 414.9 MB, free: 13.61 MB / 334.1 MB Notification: Performance of Templates: time 0.01046/0.3766, allocations: 4.042 MB / 418.9 MB, free: 11.5 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.makefile [Timeout 660] (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) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" 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 [Calling sys.exit(0), Time elapsed: 5.1922191977500916]