Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001283/0.001283, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 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.001509/0.001509, allocations: 214.3 kB / 23.73 MB, free: 4.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.469/1.469, allocations: 230.6 MB / 257.5 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001667/0.001667, allocations: 47.92 kB / 378.2 MB, free: 2.453 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2463/0.248, allocations: 53.36 MB / 431.6 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.004916/0.2529, allocations: 2.973 MB / 434.6 MB, free: 3.723 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001764/0.2546, allocations: 0.9623 MB / 435.5 MB, free: 2.754 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001502/0.2548, allocations: 4 kB / 435.5 MB, free: 2.75 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001743/0.255, allocations: 59.36 kB / 435.6 MB, free: 2.691 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000354/0.2553, allocations: 131 kB / 435.7 MB, free: 2.562 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003566/0.2557, allocations: 155.6 kB / 435.9 MB, free: 2.41 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005218/0.2562, allocations: 485.9 kB / 436.3 MB, free: 1.934 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002141/0.2564, allocations: 98.16 kB / 436.4 MB, free: 1.836 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003044/0.2567, allocations: 195.3 kB / 436.6 MB, free: 1.645 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002486/0.257, allocations: 187 kB / 436.8 MB, free: 1.461 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.46e-05/0.257, allocations: 40 kB / 436.8 MB, free: 1.422 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001578/0.2572, allocations: 75.97 kB / 436.9 MB, free: 1.348 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.801e-05/0.2573, allocations: 95.67 kB / 437 MB, free: 1.254 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001707/0.2574, allocations: 175.2 kB / 437.2 MB, free: 1.082 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005559/0.258, allocations: 0.4977 MB / 437.7 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.258, allocations: 4 kB / 437.7 MB, free: 0.582 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.258, allocations: 0 / 437.7 MB, free: 0.582 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.258, allocations: 0 / 437.7 MB, free: 0.582 MB / 334.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.001332/0.2593, allocations: 0.6647 MB / 438.4 MB, free: 15.88 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.2594, allocations: 8.031 kB / 438.4 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001892/0.2596, allocations: 64.64 kB / 438.4 MB, free: 15.81 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004407/0.26, allocations: 253.3 kB / 438.7 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.727e-05/0.26, allocations: 25.03 kB / 438.7 MB, free: 15.51 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.593e-05/0.2601, allocations: 36.38 kB / 438.7 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006907/0.2608, allocations: 444.2 kB / 439.2 MB, free: 15.01 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.2608, allocations: 0 / 439.2 MB, free: 15.01 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.511e-05/0.2608, allocations: 15.98 kB / 439.2 MB, free: 15 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.2609, allocations: 8 kB / 439.2 MB, free: 14.99 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004893/0.2613, allocations: 234.5 kB / 439.4 MB, free: 14.76 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001808/0.2632, allocations: 0.9881 MB / 440.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006291/0.2638, allocations: 247.5 kB / 440.6 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005056/0.2643, allocations: 193.3 kB / 440.8 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000306/0.2646, allocations: 72.16 kB / 440.9 MB, free: 13.2 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.035e-05/0.2646, allocations: 42.8 kB / 440.9 MB, free: 13.14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.422e-06/0.2646, allocations: 0 / 440.9 MB, free: 13.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.001293/0.2659, allocations: 444.5 kB / 441.4 MB, free: 12.7 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.235e-05/0.266, allocations: 81.11 kB / 441.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003594/0.2663, allocations: 296.5 kB / 441.7 MB, free: 12.3 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.832e-05/0.2664, allocations: 41.64 kB / 441.8 MB, free: 12.26 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001616/0.2665, allocations: 220.3 kB / 442 MB, free: 12.04 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.653e-05/0.2666, allocations: 107.1 kB / 442.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001127/0.2668, allocations: 66.06 kB / 442.2 MB, free: 11.86 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.2669, allocations: 346.7 kB / 442.5 MB, free: 11.51 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002435/0.2672, allocations: 100.7 kB / 442.6 MB, free: 11.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000303/0.2675, allocations: 211.5 kB / 442.8 MB, free: 11.17 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005013/0.268, allocations: 272.6 kB / 443.1 MB, free: 10.88 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.268, allocations: 4.031 kB / 443.1 MB, free: 10.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007884/0.2688, allocations: 417.4 kB / 443.5 MB, free: 10.46 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.2688, allocations: 8.25 kB / 443.5 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.555e-06/0.2688, allocations: 4 kB / 443.5 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002745/0.2691, allocations: 68.75 kB / 443.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003128/0.2694, allocations: 71.91 kB / 443.6 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001998/0.2714, allocations: 1.809 MB / 445.5 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002935/0.2717, allocations: 39.66 kB / 445.5 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.019e-05/0.2717, allocations: 16 kB / 445.5 MB, free: 8.344 MB / 350.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.0002095/0.2719, allocations: 145.8 kB / 445.7 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.556e-05/0.272, allocations: 47.75 kB / 445.7 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007512/0.2727, allocations: 305.7 kB / 446 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.2727, allocations: 4 kB / 446 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-06/0.2727, allocations: 3.938 kB / 446 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.2727, allocations: 7.922 kB / 446 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004767/0.2732, allocations: 277 kB / 446.3 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.2732, allocations: 3.984 kB / 446.3 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003271/0.2735, allocations: 51.95 kB / 446.3 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002011/0.2737, allocations: 64.81 kB / 446.4 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.634e-05/0.2738, allocations: 8 kB / 446.4 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004775/0.2743, allocations: 0.6108 MB / 447 MB, free: 6.742 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2743, allocations: 0 / 447 MB, free: 6.742 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009147/0.2752, allocations: 0.4948 MB / 447.5 MB, free: 6.23 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.118e-05/0.2752, allocations: 43.67 kB / 447.6 MB, free: 6.188 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.51e-05/0.2753, allocations: 4 kB / 447.6 MB, free: 6.184 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000306/0.2756, allocations: 19.98 kB / 447.6 MB, free: 6.164 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.175e-05/0.2756, allocations: 11.97 kB / 447.6 MB, free: 6.152 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.342e-05/0.2757, allocations: 12 kB / 447.6 MB, free: 6.141 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002078/0.2759, allocations: 207.1 kB / 447.8 MB, free: 5.941 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2759, allocations: 0 / 447.8 MB, free: 5.941 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008109/0.2767, allocations: 119.8 kB / 447.9 MB, free: 5.824 MB / 350.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.0001975/0.2769, allocations: 123.1 kB / 448 MB, free: 5.695 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008033/0.2777, allocations: 395 kB / 448.4 MB, free: 5.297 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2777, allocations: 4.203 kB / 448.4 MB, free: 5.293 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003349/0.278, allocations: 119.9 kB / 448.5 MB, free: 5.176 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005751/0.2786, allocations: 36.58 kB / 448.6 MB, free: 5.141 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001471/0.2801, allocations: 0.8741 MB / 449.5 MB, free: 4.238 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001843/0.2802, allocations: 186.5 kB / 449.6 MB, free: 4.039 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001355/0.2804, allocations: 38.95 kB / 449.7 MB, free: 4.004 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.379e-05/0.2805, allocations: 27.44 kB / 449.7 MB, free: 3.977 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2805, allocations: 0 / 449.7 MB, free: 3.977 MB / 350.1 MB Notification: Performance of Templates: time 0.009139/0.2896, allocations: 4.038 MB / 453.7 MB, free: 15.99 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/AmplifierWithOpAmpDetailed/AmplifierWithOpAmpDetailed.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.f,sineVoltage.offset,sineVoltage.phase,sineVoltage.signalSource.amplitude,sineVoltage.signalSource.continuous,sineVoltage.signalSource.f,sineVoltage.signalSource.offset,sineVoltage.signalSource.phase,sineVoltage.signalSource.startTime,sineVoltage.startTime,time [Calling sys.exit(0), Time elapsed: 4.960543926805258]