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.001835/0.001835, allocations: 92.31 kB / 20.96 MB, free: 3.473 MB / 18.57 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.00248/0.00248, allocations: 165.7 kB / 24.27 MB, free: 168 kB / 18.57 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.509/1.509, allocations: 177.2 MB / 204.6 MB, free: 5.594 MB / 186.7 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 1.533e-06/1.533e-06, allocations: 0 / 272.3 MB, free: 1.805 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.782e-05/2.936e-05, allocations: 2.312 kB / 272.3 MB, free: 1.801 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.005473/0.005502, allocations: 2.982 MB / 275.3 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002081/0.007583, allocations: 0.9467 MB / 276.3 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000163/0.007746, allocations: 11.94 kB / 276.3 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002176/0.007964, allocations: 59.36 kB / 276.3 MB, free: 13.78 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004154/0.008379, allocations: 134.8 kB / 276.5 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004097/0.008789, allocations: 163.6 kB / 276.6 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005956/0.009384, allocations: 0.4899 MB / 277.1 MB, free: 12.99 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002347/0.009619, allocations: 99.48 kB / 277.2 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000481/0.0101, allocations: 291.3 kB / 277.5 MB, free: 12.61 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000247/0.01035, allocations: 155.5 kB / 277.6 MB, free: 12.46 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.252e-05/0.01042, allocations: 40 kB / 277.7 MB, free: 12.42 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001739/0.01059, allocations: 75.97 kB / 277.8 MB, free: 12.34 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.99e-05/0.01069, allocations: 99.64 kB / 277.9 MB, free: 12.25 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002024/0.0109, allocations: 143.7 kB / 278 MB, free: 12.11 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007038/0.0116, allocations: 0.5101 MB / 278.5 MB, free: 11.59 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.0116, allocations: 0 / 278.5 MB, free: 11.59 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.01161, allocations: 0 / 278.5 MB, free: 11.59 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.505e-06/0.01161, allocations: 4 kB / 278.5 MB, free: 11.59 MB / 266.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.00153/0.01314, allocations: 0.6607 MB / 279.2 MB, free: 10.89 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/0.01319, allocations: 8.031 kB / 279.2 MB, free: 10.89 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002852/0.01348, allocations: 80.64 kB / 279.3 MB, free: 10.81 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005531/0.01403, allocations: 272.4 kB / 279.5 MB, free: 10.52 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.794e-05/0.01407, allocations: 25.03 kB / 279.5 MB, free: 10.5 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.513e-05/0.01415, allocations: 40.31 kB / 279.6 MB, free: 10.46 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008074/0.01496, allocations: 444.4 kB / 280 MB, free: 9.988 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.01498, allocations: 4.172 kB / 280 MB, free: 9.984 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.081e-05/0.01502, allocations: 16.38 kB / 280 MB, free: 9.969 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.751e-05/0.01503, allocations: 11.94 kB / 280.1 MB, free: 9.957 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005185/0.01555, allocations: 222.5 kB / 280.3 MB, free: 9.738 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002052/0.0176, allocations: 0.9928 MB / 281.3 MB, free: 8.684 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007091/0.01831, allocations: 247.6 kB / 281.5 MB, free: 8.434 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005569/0.01887, allocations: 189.2 kB / 281.7 MB, free: 8.246 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003308/0.0192, allocations: 76.09 kB / 281.8 MB, free: 8.172 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.281e-05/0.01924, allocations: 38.8 kB / 281.8 MB, free: 8.125 MB / 266.7 MB Notification: Performance of pre-optimization done (n=27): time 1.853e-06/0.01925, allocations: 0 / 281.8 MB, free: 8.125 MB / 266.7 MB Notification: Performance of matching and sorting (n=27): time 0.001745/0.02099, allocations: 444.6 kB / 282.2 MB, free: 7.684 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.451e-05/0.02107, allocations: 81.11 kB / 282.3 MB, free: 7.586 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003918/0.02146, allocations: 304.5 kB / 282.6 MB, free: 7.281 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.652e-05/0.02149, allocations: 33.7 kB / 282.6 MB, free: 7.242 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002056/0.0217, allocations: 220.3 kB / 282.9 MB, free: 7.023 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001077/0.02181, allocations: 107.2 kB / 283 MB, free: 6.918 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001332/0.02194, allocations: 70.06 kB / 283 MB, free: 6.84 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002073/0.02215, allocations: 342.8 kB / 283.4 MB, free: 6.496 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002449/0.02239, allocations: 96.7 kB / 283.5 MB, free: 6.402 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000358/0.02275, allocations: 207.4 kB / 283.7 MB, free: 6.164 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005668/0.02332, allocations: 287.3 kB / 283.9 MB, free: 5.855 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.02332, allocations: 0 / 283.9 MB, free: 5.855 MB / 266.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009333/0.02425, allocations: 429.3 kB / 284.4 MB, free: 5.426 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/0.02428, allocations: 8 kB / 284.4 MB, free: 5.418 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.02428, allocations: 0 / 284.4 MB, free: 5.418 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003865/0.02467, allocations: 88.98 kB / 284.5 MB, free: 5.328 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003386/0.02501, allocations: 75.89 kB / 284.5 MB, free: 5.254 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002365/0.02737, allocations: 1.813 MB / 286.3 MB, free: 3.336 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000278/0.02765, allocations: 31.73 kB / 286.4 MB, free: 3.305 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.231e-05/0.02768, allocations: 16 kB / 286.4 MB, free: 3.289 MB / 266.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 () * 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.0002106/0.02789, allocations: 157.7 kB / 286.5 MB, free: 3.125 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.004e-05/0.02798, allocations: 43.88 kB / 286.6 MB, free: 3.082 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007934/0.02878, allocations: 314.3 kB / 286.9 MB, free: 2.762 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.962e-06/0.02878, allocations: 4 kB / 286.9 MB, free: 2.758 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.273e-06/0.02878, allocations: 3.938 kB / 286.9 MB, free: 2.754 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.02879, allocations: 0 / 286.9 MB, free: 2.754 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004407/0.02923, allocations: 281 kB / 287.2 MB, free: 2.449 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.02923, allocations: 0 / 287.2 MB, free: 2.449 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003626/0.02959, allocations: 55.95 kB / 287.2 MB, free: 2.395 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002105/0.0298, allocations: 60.81 kB / 287.3 MB, free: 2.332 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.055e-05/0.02984, allocations: 11.98 kB / 287.3 MB, free: 2.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000572/0.03041, allocations: 0.6072 MB / 287.9 MB, free: 1.688 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.03041, allocations: 0 / 287.9 MB, free: 1.688 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00106/0.03147, allocations: 0.5131 MB / 288.4 MB, free: 1.156 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.156e-05/0.03153, allocations: 35.75 kB / 288.5 MB, free: 1.121 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.82e-05/0.03158, allocations: 7.938 kB / 288.5 MB, free: 1.113 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002666/0.03185, allocations: 15.98 kB / 288.5 MB, free: 1.098 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.538e-05/0.03191, allocations: 15.97 kB / 288.5 MB, free: 1.082 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.551e-05/0.03194, allocations: 11.98 kB / 288.5 MB, free: 1.07 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002561/0.03219, allocations: 207.1 kB / 288.7 MB, free: 0.8711 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.03219, allocations: 4 kB / 288.7 MB, free: 0.8672 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005255/0.03272, allocations: 111.8 kB / 288.8 MB, free: 0.7578 MB / 266.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 () * 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.0002822/0.033, allocations: 139 kB / 289 MB, free: 0.6094 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001212/0.03421, allocations: 389.2 kB / 289.3 MB, free: 224 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.03421, allocations: 4.062 kB / 289.3 MB, free: 220 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003843/0.0346, allocations: 127.8 kB / 289.5 MB, free: 92 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000378/0.03498, allocations: 48.84 kB / 289.5 MB, free: 44 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001578/0.03655, allocations: 0.7395 MB / 290.3 MB, free: 15.27 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002183/0.03677, allocations: 190.5 kB / 290.4 MB, free: 15.07 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000153/0.03693, allocations: 34.97 kB / 290.5 MB, free: 15.04 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.113e-05/0.03701, allocations: 24.48 kB / 290.5 MB, free: 15.01 MB / 282.7 MB Notification: Performance of SimCode: time 1.042e-06/0.03701, allocations: 4 kB / 290.5 MB, free: 15.01 MB / 282.7 MB Notification: Performance of Templates: time 0.009409/0.04642, allocations: 3.621 MB / 294.1 MB, free: 11.45 MB / 282.7 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.574449239997193]