Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001449/0.001449, allocations: 78.3 kB / 20.49 MB, free: 1.215 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001655/0.001655, allocations: 145 kB / 23.72 MB, free: 4.246 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 173.4 MB / 200.3 MB, free: 12.93 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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=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.0.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.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002155/0.002155, allocations: 46.67 kB / 318.7 MB, free: 3.59 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1117, allocations: 52.16 MB / 370.8 MB, free: 7.586 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.004681/0.1164, allocations: 2.943 MB / 373.8 MB, free: 4.625 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001901/0.1183, allocations: 0.9117 MB / 374.7 MB, free: 3.707 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001771/0.1185, allocations: 4 kB / 374.7 MB, free: 3.703 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002006/0.1187, allocations: 59.42 kB / 374.7 MB, free: 3.645 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004101/0.1191, allocations: 126.9 kB / 374.9 MB, free: 3.52 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000363/0.1195, allocations: 155.6 kB / 375 MB, free: 3.367 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005469/0.12, allocations: 478 kB / 375.5 MB, free: 2.898 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002186/0.1202, allocations: 91.62 kB / 375.6 MB, free: 2.805 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000393/0.1206, allocations: 291.2 kB / 375.9 MB, free: 2.52 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002585/0.1209, allocations: 191.1 kB / 376 MB, free: 2.332 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.258e-05/0.1209, allocations: 40 kB / 376.1 MB, free: 2.293 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001597/0.1211, allocations: 75.97 kB / 376.2 MB, free: 2.219 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.323e-05/0.1212, allocations: 87.69 kB / 376.2 MB, free: 2.133 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001979/0.1214, allocations: 183.1 kB / 376.4 MB, free: 1.953 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006035/0.122, allocations: 498 kB / 376.9 MB, free: 1.465 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.122, allocations: 0 / 376.9 MB, free: 1.465 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.122, allocations: 0 / 376.9 MB, free: 1.465 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.122, allocations: 4 kB / 376.9 MB, free: 1.461 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.001413/0.1234, allocations: 0.6646 MB / 377.6 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.1235, allocations: 8.922 kB / 377.6 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001113/0.1236, allocations: 52.66 kB / 377.6 MB, free: 0.707 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005268/0.1241, allocations: 249.3 kB / 377.9 MB, free: 448 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.289e-05/0.1241, allocations: 21.03 kB / 377.9 MB, free: 424 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.311e-05/0.1242, allocations: 40.36 kB / 377.9 MB, free: 384 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007661/0.125, allocations: 444.2 kB / 378.4 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.125, allocations: 3.938 kB / 378.4 MB, free: 15.9 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.675e-05/0.125, allocations: 16 kB / 378.4 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/0.125, allocations: 8 kB / 378.4 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005273/0.1256, allocations: 238.4 kB / 378.6 MB, free: 15.64 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001963/0.1275, allocations: 0.9733 MB / 379.6 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006942/0.1282, allocations: 243.6 kB / 379.8 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005096/0.1287, allocations: 193.2 kB / 380 MB, free: 14.17 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000327/0.1291, allocations: 72.14 kB / 380.1 MB, free: 14.1 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.267e-05/0.1291, allocations: 38.8 kB / 380.1 MB, free: 14.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.513e-06/0.1291, allocations: 4 kB / 380.1 MB, free: 14.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.001395/0.1305, allocations: 444.6 kB / 380.6 MB, free: 13.61 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.008e-05/0.1306, allocations: 85.11 kB / 380.7 MB, free: 13.51 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003556/0.1309, allocations: 296.5 kB / 380.9 MB, free: 13.21 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.815e-05/0.131, allocations: 33.7 kB / 381 MB, free: 13.17 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001798/0.1311, allocations: 228.2 kB / 381.2 MB, free: 12.95 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.871e-05/0.1312, allocations: 103.2 kB / 381.3 MB, free: 12.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/0.1313, allocations: 66.08 kB / 381.4 MB, free: 12.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001845/0.1315, allocations: 342.7 kB / 381.7 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002389/0.1318, allocations: 100.7 kB / 381.8 MB, free: 12.33 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003148/0.1321, allocations: 203.5 kB / 382 MB, free: 12.09 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005301/0.1326, allocations: 284.3 kB / 382.3 MB, free: 11.79 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.1326, allocations: 0 / 382.3 MB, free: 11.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008187/0.1334, allocations: 413.6 kB / 382.7 MB, free: 11.38 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.1334, allocations: 4 kB / 382.7 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.1335, allocations: 12.19 kB / 382.7 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003069/0.1338, allocations: 68.75 kB / 382.8 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003385/0.1341, allocations: 75.89 kB / 382.8 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00217/0.1363, allocations: 1.805 MB / 384.6 MB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002495/0.1365, allocations: 35.83 kB / 384.7 MB, free: 9.277 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.2e-05/0.1365, allocations: 19.92 kB / 384.7 MB, free: 9.258 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.0001973/0.1367, allocations: 145.8 kB / 384.8 MB, free: 9.105 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.559e-05/0.1368, allocations: 35.75 kB / 384.9 MB, free: 9.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007786/0.1376, allocations: 321.4 kB / 385.2 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.1376, allocations: 4.188 kB / 385.2 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-06/0.1376, allocations: 0 / 385.2 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.1376, allocations: 3.938 kB / 385.2 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004212/0.138, allocations: 285 kB / 385.5 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.138, allocations: 0 / 385.5 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003401/0.1384, allocations: 51.95 kB / 385.5 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002224/0.1386, allocations: 60.83 kB / 385.6 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.914e-05/0.1386, allocations: 11.98 kB / 385.6 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005284/0.1392, allocations: 0.6108 MB / 386.2 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.1392, allocations: 4.031 kB / 386.2 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009808/0.1401, allocations: 0.4986 MB / 386.7 MB, free: 7.133 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.259e-05/0.1402, allocations: 31.69 kB / 386.7 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.644e-05/0.1402, allocations: 8 kB / 386.7 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002532/0.1405, allocations: 15.98 kB / 386.8 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.348e-05/0.1405, allocations: 15.97 kB / 386.8 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-05/0.1406, allocations: 11.98 kB / 386.8 MB, free: 7.051 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002239/0.1408, allocations: 207.1 kB / 387 MB, free: 6.852 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1408, allocations: 0 / 387 MB, free: 6.852 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004623/0.1413, allocations: 115.7 kB / 387.1 MB, free: 6.738 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.0002216/0.1415, allocations: 127.1 kB / 387.2 MB, free: 6.605 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008917/0.1424, allocations: 390.4 kB / 387.6 MB, free: 6.211 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1424, allocations: 0.5 kB / 387.6 MB, free: 6.211 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003609/0.1427, allocations: 139.7 kB / 387.8 MB, free: 6.074 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003552/0.1431, allocations: 32.59 kB / 387.8 MB, free: 6.043 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00147/0.1446, allocations: 0.8625 MB / 388.6 MB, free: 5.152 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001925/0.1447, allocations: 186.5 kB / 388.8 MB, free: 4.953 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001384/0.1449, allocations: 34.97 kB / 388.9 MB, free: 4.922 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.635e-05/0.145, allocations: 28.48 kB / 388.9 MB, free: 4.895 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.145, allocations: 0 / 388.9 MB, free: 4.895 MB / 350.1 MB Notification: Performance of Templates: time 0.008981/0.1539, allocations: 3.608 MB / 392.5 MB, free: 1.34 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/AmplifierWithOpAmpDetailed/AmplifierWithOpAmpDetailed.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.f,sineVoltage.signalSource.offset,sineVoltage.signalSource.phase,sineVoltage.signalSource.startTime,sineVoltage.startTime,time [Calling sys.exit(0), Time elapsed: 4.784471424296498]