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.001104/0.001104, allocations: 107.4 kB / 18.4 MB, free: 4.691 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.001125/0.001125, allocations: 187.1 kB / 19.35 MB, free: 3.762 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.251/1.251, 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.001303/0.001303, allocations: 56.25 kB / 329.2 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07044/0.07175, allocations: 46.61 MB / 375.8 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.003952/0.07573, allocations: 3.19 MB / 379 MB, free: 1.371 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001607/0.07736, allocations: 1.002 MB / 380 MB, free: 364 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001908/0.07758, allocations: 8 kB / 380 MB, free: 356 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001802/0.07777, allocations: 63.36 kB / 380.1 MB, free: 292 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003572/0.07814, allocations: 119 kB / 380.2 MB, free: 172 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003315/0.07849, allocations: 159.6 kB / 380.4 MB, free: 12 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.145/0.2235, allocations: 484 kB / 380.8 MB, free: 9.863 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002722/0.2238, allocations: 138.5 kB / 381 MB, free: 9.844 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003142/0.2242, allocations: 180.5 kB / 381.1 MB, free: 9.836 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002846/0.2245, allocations: 215.9 kB / 381.4 MB, free: 9.789 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.766e-05/0.2245, allocations: 39.88 kB / 381.4 MB, free: 9.789 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001726/0.2247, allocations: 73.98 kB / 381.5 MB, free: 9.789 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.957e-05/0.2248, allocations: 93.73 kB / 381.6 MB, free: 9.773 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001834/0.225, allocations: 212.4 kB / 381.8 MB, free: 9.715 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005477/0.2255, allocations: 0.4935 MB / 382.3 MB, free: 9.633 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2255, allocations: 3.938 kB / 382.3 MB, free: 9.633 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.2256, allocations: 0 / 382.3 MB, free: 9.633 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.326e-06/0.2256, allocations: 0.5 kB / 382.3 MB, free: 9.633 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.00122/0.2268, allocations: 0.7455 MB / 383 MB, free: 9.125 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.2268, allocations: 9.688 kB / 383 MB, free: 9.125 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.683e-05/0.2269, allocations: 47.25 kB / 383.1 MB, free: 9.102 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003639/0.2273, allocations: 311.2 kB / 383.4 MB, free: 8.867 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.667e-05/0.2274, allocations: 24.66 kB / 383.4 MB, free: 8.867 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.329e-05/0.2274, allocations: 38.19 kB / 383.4 MB, free: 8.867 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006219/0.2281, allocations: 349 kB / 383.8 MB, free: 8.809 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.2281, allocations: 7.938 kB / 383.8 MB, free: 8.801 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.322e-05/0.2281, allocations: 14.33 kB / 383.8 MB, free: 8.801 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.2281, allocations: 6.875 kB / 383.8 MB, free: 8.801 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004807/0.2286, allocations: 240 kB / 384 MB, free: 8.797 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001695/0.2303, allocations: 1.176 MB / 385.2 MB, free: 8.324 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006135/0.231, allocations: 278 kB / 385.5 MB, free: 8.25 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004762/0.2314, allocations: 211.2 kB / 385.7 MB, free: 8.188 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004771/0.2319, allocations: 1.114 MB / 386.8 MB, free: 6.871 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.657e-05/0.232, allocations: 44.61 kB / 386.8 MB, free: 6.824 MB / 318.1 MB Notification: Performance of pre-optimization done (n=27): time 1.523e-06/0.232, allocations: 0 / 386.8 MB, free: 6.824 MB / 318.1 MB Notification: Performance of matching and sorting (n=27): time 0.00126/0.2332, allocations: 0.5319 MB / 387.4 MB, free: 6.559 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.973e-05/0.2333, allocations: 80.69 kB / 387.5 MB, free: 6.465 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000314/0.2336, allocations: 335.5 kB / 387.8 MB, free: 6.285 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.229e-05/0.2336, allocations: 35.92 kB / 387.8 MB, free: 6.246 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.255e-05/0.2337, allocations: 214.4 kB / 388 MB, free: 6.07 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.426e-05/0.2338, allocations: 106.8 kB / 388.1 MB, free: 5.988 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.923e-05/0.2339, allocations: 70.78 kB / 388.2 MB, free: 5.941 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.544e-05/0.2339, allocations: 353.8 kB / 388.6 MB, free: 5.605 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002205/0.2342, allocations: 101.6 kB / 388.6 MB, free: 5.574 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002426/0.2344, allocations: 191.2 kB / 388.8 MB, free: 5.445 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004351/0.2349, allocations: 285.6 kB / 389.1 MB, free: 5.281 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.2349, allocations: 1.312 kB / 389.1 MB, free: 5.281 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007546/0.2356, allocations: 441.8 kB / 389.5 MB, free: 5.098 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.2357, allocations: 6 kB / 389.6 MB, free: 5.098 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.2357, allocations: 2.062 kB / 389.6 MB, free: 5.098 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002477/0.2359, allocations: 68.86 kB / 389.6 MB, free: 5.074 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003275/0.2363, allocations: 77.92 kB / 389.7 MB, free: 5.074 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00137/0.2376, allocations: 1.951 MB / 391.6 MB, free: 3.328 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002526/0.2379, allocations: 43.98 kB / 391.7 MB, free: 3.301 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.608e-05/0.2379, allocations: 14.72 kB / 391.7 MB, free: 3.297 MB / 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.0001201/0.2381, allocations: 158 kB / 391.9 MB, free: 3.152 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.391e-05/0.2381, allocations: 45.52 kB / 391.9 MB, free: 3.129 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006694/0.2388, allocations: 326.7 kB / 392.2 MB, free: 2.98 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.2388, allocations: 2.062 kB / 392.2 MB, free: 2.98 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.2388, allocations: 0 / 392.2 MB, free: 2.98 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/0.239, allocations: 144 kB / 392.4 MB, free: 2.844 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.222e-05/0.239, allocations: 9.844 kB / 392.4 MB, free: 2.84 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000277/0.2393, allocations: 20.95 kB / 392.4 MB, free: 2.836 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.501e-05/0.2394, allocations: 18.11 kB / 392.4 MB, free: 2.832 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001329/0.2407, allocations: 479.6 kB / 392.9 MB, free: 2.629 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007935/0.2415, allocations: 0.577 MB / 393.5 MB, free: 2.281 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002189/0.2417, allocations: 100.1 kB / 393.6 MB, free: 2.25 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002122/0.2419, allocations: 241.3 kB / 393.8 MB, free: 2.117 MB / 318.1 MB Notification: Performance of Backend: time 4.21e-07/0.242, allocations: 0 / 393.8 MB, free: 2.117 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009054/0.2429, allocations: 442.9 kB / 394.2 MB, free: 1.855 MB / 318.1 MB Notification: Performance of SimCode: time 0.001148/0.244, allocations: 1.353 MB / 395.6 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of Templates: time 0.008929/0.253, allocations: 4.471 MB / 400.1 MB, free: 328 kB / 318.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