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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 97.98 kB / 17.58 MB, free: 5.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 192 kB / 18.51 MB, free: 4.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.517/1.517, allocations: 205.1 MB / 224.4 MB, free: 12.31 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001666/0.001666, allocations: 55.91 kB / 280.7 MB, free: 3.184 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1261, allocations: 46.63 MB / 327.3 MB, free: 4.477 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.005457/0.1316, allocations: 3.191 MB / 330.5 MB, free: 1.258 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002285/0.1339, allocations: 0.9944 MB / 331.5 MB, free: 260 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002305/0.1343, allocations: 4 kB / 331.5 MB, free: 256 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002528/0.1345, allocations: 59.36 kB / 331.5 MB, free: 196 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004076/0.1349, allocations: 122.9 kB / 331.7 MB, free: 72 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003637/0.1353, allocations: 151.8 kB / 331.8 MB, free: 15.92 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005024/0.1358, allocations: 481.8 kB / 332.3 MB, free: 15.45 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002553/0.1361, allocations: 139.1 kB / 332.4 MB, free: 15.31 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002412/0.1363, allocations: 183.3 kB / 332.6 MB, free: 15.13 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002531/0.1366, allocations: 207.1 kB / 332.8 MB, free: 14.93 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.59e-05/0.1367, allocations: 44 kB / 332.8 MB, free: 14.88 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001803/0.1369, allocations: 71.97 kB / 332.9 MB, free: 14.81 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001018/0.137, allocations: 95.62 kB / 333 MB, free: 14.72 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000214/0.1372, allocations: 218.9 kB / 333.2 MB, free: 14.5 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005042/0.1377, allocations: 494.6 kB / 333.7 MB, free: 14.02 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1377, allocations: 0 / 333.7 MB, free: 14.02 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1377, allocations: 0 / 333.7 MB, free: 14.02 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.798e-06/0.1377, allocations: 0 / 333.7 MB, free: 14.02 MB / 286.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.001456/0.1392, allocations: 0.7402 MB / 334.4 MB, free: 13.23 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/0.1393, allocations: 16.03 kB / 334.4 MB, free: 13.21 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.119e-05/0.1394, allocations: 40.47 kB / 334.5 MB, free: 13.17 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003608/0.1397, allocations: 307.3 kB / 334.8 MB, free: 12.84 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.505e-05/0.1398, allocations: 21.03 kB / 334.8 MB, free: 12.82 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.831e-05/0.1398, allocations: 40.31 kB / 334.8 MB, free: 12.78 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006518/0.1405, allocations: 357.3 kB / 335.2 MB, free: 12.42 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.1405, allocations: 0 / 335.2 MB, free: 12.42 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.524e-05/0.1406, allocations: 12 kB / 335.2 MB, free: 12.41 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/0.1406, allocations: 12 kB / 335.2 MB, free: 12.39 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004873/0.1411, allocations: 230.5 kB / 335.4 MB, free: 12.16 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002079/0.1432, allocations: 1.174 MB / 336.6 MB, free: 10.91 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006924/0.1439, allocations: 283.6 kB / 336.9 MB, free: 10.62 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005253/0.1444, allocations: 213.2 kB / 337.1 MB, free: 10.41 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001107/0.1455, allocations: 1.109 MB / 338.2 MB, free: 9.047 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.64e-05/0.1456, allocations: 46.72 kB / 338.3 MB, free: 8.992 MB / 286.1 MB Notification: Performance of pre-optimization done (n=27): time 6.762e-06/0.1456, allocations: 3.984 kB / 338.3 MB, free: 8.988 MB / 286.1 MB Notification: Performance of matching and sorting (n=27): time 0.001607/0.1472, allocations: 0.5287 MB / 338.8 MB, free: 8.434 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.851e-05/0.1473, allocations: 77.11 kB / 338.9 MB, free: 8.34 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004916/0.1478, allocations: 341.6 kB / 339.2 MB, free: 8 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.092e-05/0.1479, allocations: 37.7 kB / 339.2 MB, free: 7.957 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002094/0.1481, allocations: 216 kB / 339.4 MB, free: 7.742 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.098e-05/0.1482, allocations: 102.5 kB / 339.5 MB, free: 7.641 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001246/0.1483, allocations: 66.08 kB / 339.6 MB, free: 7.566 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001816/0.1485, allocations: 350.7 kB / 340 MB, free: 7.215 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002231/0.1487, allocations: 104.7 kB / 340.1 MB, free: 7.113 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003143/0.1491, allocations: 193.7 kB / 340.2 MB, free: 6.895 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005373/0.1496, allocations: 295.1 kB / 340.5 MB, free: 6.578 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.1496, allocations: 0 / 340.5 MB, free: 6.578 MB / 286.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008427/0.1505, allocations: 429.3 kB / 341 MB, free: 6.148 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.169e-05/0.1505, allocations: 15.92 kB / 341 MB, free: 6.133 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.1505, allocations: 0 / 341 MB, free: 6.133 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003482/0.1509, allocations: 64.92 kB / 341 MB, free: 6.066 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003362/0.1512, allocations: 79.89 kB / 341.1 MB, free: 5.988 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002345/0.1536, allocations: 1.951 MB / 343.1 MB, free: 3.902 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003049/0.1539, allocations: 39.67 kB / 343.1 MB, free: 3.863 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.864e-05/0.1539, allocations: 12 kB / 343.1 MB, free: 3.852 MB / 286.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.0002278/0.1542, allocations: 157.7 kB / 343.3 MB, free: 3.688 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.927e-05/0.1543, allocations: 35.53 kB / 343.3 MB, free: 3.652 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000706/0.155, allocations: 334.3 kB / 343.6 MB, free: 3.312 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.155, allocations: 4 kB / 343.6 MB, free: 3.309 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.155, allocations: 7.922 kB / 343.6 MB, free: 3.301 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.155, allocations: 0 / 343.6 MB, free: 3.301 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004317/0.1554, allocations: 393.2 kB / 344 MB, free: 2.867 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.1555, allocations: 0 / 344 MB, free: 2.867 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003108/0.1558, allocations: 59.89 kB / 344.1 MB, free: 2.809 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002042/0.156, allocations: 61 kB / 344.1 MB, free: 2.746 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.458e-05/0.156, allocations: 8 kB / 344.1 MB, free: 2.738 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000427/0.1565, allocations: 0.6147 MB / 344.8 MB, free: 2.098 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1565, allocations: 0 / 344.8 MB, free: 2.098 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009453/0.1574, allocations: 0.5198 MB / 345.3 MB, free: 1.559 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000147/0.1576, allocations: 136.7 kB / 345.4 MB, free: 1.406 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.749e-05/0.1576, allocations: 4 kB / 345.4 MB, free: 1.402 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002538/0.1579, allocations: 15.98 kB / 345.4 MB, free: 1.387 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.288e-05/0.158, allocations: 19.97 kB / 345.5 MB, free: 1.367 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.817e-05/0.158, allocations: 8 kB / 345.5 MB, free: 1.359 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002577/0.1583, allocations: 243.2 kB / 345.7 MB, free: 1.125 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1583, allocations: 3.938 kB / 345.7 MB, free: 1.121 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005174/0.1588, allocations: 115.8 kB / 345.8 MB, free: 1.008 MB / 286.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.0003109/0.1591, allocations: 123.2 kB / 345.9 MB, free: 0.875 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0009735/0.1601, allocations: 427.2 kB / 346.4 MB, free: 456 kB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.1601, allocations: 8.125 kB / 346.4 MB, free: 448 kB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003453/0.1605, allocations: 143.8 kB / 346.5 MB, free: 304 kB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004242/0.1609, allocations: 29.44 kB / 346.5 MB, free: 272 kB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001548/0.1625, allocations: 0.8776 MB / 347.4 MB, free: 15.36 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003403/0.1628, allocations: 0.7873 MB / 348.2 MB, free: 14.55 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001453/0.163, allocations: 38.95 kB / 348.2 MB, free: 14.51 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.221e-05/0.163, allocations: 27.44 kB / 348.3 MB, free: 14.48 MB / 302.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1631, allocations: 0 / 348.3 MB, free: 14.48 MB / 302.1 MB Notification: Performance of Templates: time 0.008125/0.1712, allocations: 3.946 MB / 352.2 MB, free: 10.54 MB / 302.1 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","/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) "" 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,constantVoltage.p.v,constantVoltage.v,constantVoltage1.V,constantVoltage1.p.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.m_supply.v,opAmp.p_supply.v,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_3,opAmp.v_in,opAmp.v_neg,opAmp.v_pos,opAmp.v_source,opAmp.v_vos,opAmp.vcm,opAmp.vcm_abs,opAmp.vcp,opAmp.vcp_abs,opAmp.x,resistor.R,resistor.T,resistor.T_heatPort,resistor.T_ref,resistor.alpha,resistor1.R,resistor1.T,resistor1.T_heatPort,resistor1.T_ref,resistor1.alpha,resistor2.R,resistor2.T,resistor2.T_heatPort,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