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.001567/0.001567, allocations: 108 kB / 18.35 MB, free: 4.812 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.001858/0.001858, allocations: 192.2 kB / 19.29 MB, free: 3.887 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.387/1.387, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.002058/0.002058, allocations: 51.94 kB / 282.1 MB, free: 2.449 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1082, allocations: 46.63 MB / 328.7 MB, free: 3.746 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.004177/0.1124, allocations: 3.205 MB / 331.9 MB, free: 0.5156 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001598/0.114, allocations: 0.9867 MB / 332.9 MB, free: 15.52 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001442/0.1142, allocations: 7.938 kB / 332.9 MB, free: 15.51 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001776/0.1144, allocations: 59.42 kB / 333 MB, free: 15.45 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003557/0.1147, allocations: 134.9 kB / 333.1 MB, free: 15.32 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003227/0.1151, allocations: 135.7 kB / 333.2 MB, free: 15.19 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004394/0.1155, allocations: 489.9 kB / 333.7 MB, free: 14.71 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000238/0.1158, allocations: 131.1 kB / 333.9 MB, free: 14.57 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002095/0.116, allocations: 187.3 kB / 334 MB, free: 14.39 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002498/0.1162, allocations: 207.1 kB / 334.2 MB, free: 14.19 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.647e-05/0.1163, allocations: 40 kB / 334.3 MB, free: 14.15 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001637/0.1165, allocations: 79.97 kB / 334.4 MB, free: 14.07 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.282e-05/0.1166, allocations: 95.62 kB / 334.5 MB, free: 13.98 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001626/0.1167, allocations: 215 kB / 334.7 MB, free: 13.77 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004408/0.1172, allocations: 498.2 kB / 335.1 MB, free: 13.28 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.1172, allocations: 0 / 335.1 MB, free: 13.28 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.554e-06/0.1172, allocations: 0 / 335.1 MB, free: 13.28 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.25e-05/0.1172, allocations: 0 / 335.1 MB, free: 13.28 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.001274/0.1185, allocations: 0.7481 MB / 335.9 MB, free: 12.48 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.1185, allocations: 8.031 kB / 335.9 MB, free: 12.47 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.503e-05/0.1186, allocations: 40.47 kB / 335.9 MB, free: 12.43 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003972/0.119, allocations: 311.3 kB / 336.2 MB, free: 12.09 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.31e-05/0.1191, allocations: 29.03 kB / 336.3 MB, free: 12.06 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.182e-05/0.1191, allocations: 36.38 kB / 336.3 MB, free: 12.03 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006049/0.1197, allocations: 349.3 kB / 336.7 MB, free: 11.68 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.1198, allocations: 3.938 kB / 336.7 MB, free: 11.67 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.096e-05/0.1198, allocations: 12 kB / 336.7 MB, free: 11.66 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.1198, allocations: 8 kB / 336.7 MB, free: 11.65 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005072/0.1203, allocations: 242.5 kB / 336.9 MB, free: 11.41 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00183/0.1222, allocations: 1.162 MB / 338.1 MB, free: 10.17 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006542/0.1228, allocations: 295.5 kB / 338.4 MB, free: 9.871 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004868/0.1233, allocations: 205.2 kB / 338.6 MB, free: 9.668 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007487/0.1241, allocations: 1.117 MB / 339.7 MB, free: 8.293 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.1241, allocations: 42.67 kB / 339.7 MB, free: 8.242 MB / 286.1 MB Notification: Performance of pre-optimization done (n=27): time 2.034e-06/0.1242, allocations: 0 / 339.7 MB, free: 8.242 MB / 286.1 MB Notification: Performance of matching and sorting (n=27): time 0.001351/0.1255, allocations: 0.5326 MB / 340.3 MB, free: 7.684 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.139e-05/0.1256, allocations: 85.09 kB / 340.3 MB, free: 7.582 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003431/0.1259, allocations: 341.6 kB / 340.7 MB, free: 7.242 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.58e-05/0.1259, allocations: 29.7 kB / 340.7 MB, free: 7.207 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001314/0.1261, allocations: 212.1 kB / 340.9 MB, free: 6.996 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.871e-05/0.1262, allocations: 102.5 kB / 341 MB, free: 6.895 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/0.1263, allocations: 66.08 kB / 341.1 MB, free: 6.82 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.1264, allocations: 354.7 kB / 341.4 MB, free: 6.465 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002216/0.1266, allocations: 100.7 kB / 341.5 MB, free: 6.367 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000278/0.1269, allocations: 189.7 kB / 341.7 MB, free: 6.152 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004759/0.1274, allocations: 295.1 kB / 342 MB, free: 5.836 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.1274, allocations: 4 kB / 342 MB, free: 5.832 MB / 286.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007636/0.1282, allocations: 425.6 kB / 342.4 MB, free: 5.406 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.1282, allocations: 8 kB / 342.4 MB, free: 5.398 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.1282, allocations: 7.938 kB / 342.4 MB, free: 5.391 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002533/0.1285, allocations: 68.81 kB / 342.5 MB, free: 5.32 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003145/0.1288, allocations: 71.91 kB / 342.6 MB, free: 5.25 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001859/0.1307, allocations: 1.947 MB / 344.5 MB, free: 3.168 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002658/0.131, allocations: 39.67 kB / 344.5 MB, free: 3.129 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.608e-05/0.131, allocations: 19.94 kB / 344.6 MB, free: 3.109 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.0001681/0.1312, allocations: 153.7 kB / 344.7 MB, free: 2.949 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.962e-05/0.1313, allocations: 43.52 kB / 344.8 MB, free: 2.906 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007018/0.132, allocations: 326.3 kB / 345.1 MB, free: 2.574 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.132, allocations: 0 / 345.1 MB, free: 2.574 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.132, allocations: 4 kB / 345.1 MB, free: 2.57 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001257/0.1321, allocations: 140.6 kB / 345.2 MB, free: 2.414 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.875e-05/0.1322, allocations: 4 kB / 345.2 MB, free: 2.41 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002735/0.1325, allocations: 19.98 kB / 345.2 MB, free: 2.391 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.377e-05/0.1325, allocations: 15.97 kB / 345.3 MB, free: 2.375 MB / 286.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001333/0.1339, allocations: 481.3 kB / 345.7 MB, free: 1.895 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008725/0.1347, allocations: 0.5768 MB / 346.3 MB, free: 1.301 MB / 286.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002439/0.135, allocations: 99.94 kB / 346.4 MB, free: 1.203 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.000218/0.1352, allocations: 235.2 kB / 346.6 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of Backend: time 7.01e-07/0.1352, allocations: 0 / 346.6 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001017/0.1363, allocations: 441 kB / 347.1 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of SimCode: time 0.001447/0.1377, allocations: 1.348 MB / 348.4 MB, free: 15.12 MB / 302.1 MB Notification: Performance of Templates: time 0.009267/0.147, allocations: 4.39 MB / 352.8 MB, free: 10.74 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/AmplifierWithOpAmpDetailed/AmplifierWithOpAmpDetailed.csv","/var/lib/jenkins1/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