Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00209/0.00209, allocations: 74.83 kB / 20.49 MB, free: 1.246 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002216/0.002216, allocations: 165 kB / 23.75 MB, free: 4.219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.462/1.462, allocations: 177.1 MB / 204 MB, free: 9.23 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 62.86 kB / 324.8 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1127, allocations: 53.38 MB / 378.2 MB, free: 15.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.004556/0.1173, allocations: 2.972 MB / 381.1 MB, free: 12.76 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001951/0.1192, allocations: 0.9546 MB / 382.1 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001839/0.1194, allocations: 4 kB / 382.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001911/0.1196, allocations: 67.34 kB / 382.2 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004104/0.12, allocations: 119 kB / 382.3 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004132/0.1204, allocations: 167.6 kB / 382.4 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006212/0.1211, allocations: 485.9 kB / 382.9 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002423/0.1213, allocations: 91.64 kB / 383 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000457/0.1218, allocations: 299.2 kB / 383.3 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002679/0.122, allocations: 183 kB / 383.5 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.242e-05/0.1221, allocations: 40 kB / 383.5 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001638/0.1223, allocations: 75.97 kB / 383.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.467e-05/0.1223, allocations: 95.72 kB / 383.7 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000201/0.1225, allocations: 175.1 kB / 383.8 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000638/0.1232, allocations: 0.4941 MB / 384.3 MB, free: 9.527 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.77e-06/0.1232, allocations: 8 kB / 384.3 MB, free: 9.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1232, allocations: 0 / 384.3 MB, free: 9.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.606e-06/0.1232, allocations: 0 / 384.3 MB, free: 9.52 MB / 350.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.001436/0.1246, allocations: 0.6646 MB / 385 MB, free: 8.824 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/0.1247, allocations: 11.98 kB / 385 MB, free: 8.812 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002177/0.1249, allocations: 60.66 kB / 385.1 MB, free: 8.754 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000504/0.1254, allocations: 257.2 kB / 385.3 MB, free: 8.477 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.574e-05/0.1254, allocations: 25.03 kB / 385.4 MB, free: 8.449 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.495e-05/0.1255, allocations: 36.36 kB / 385.4 MB, free: 8.414 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007724/0.1263, allocations: 452.2 kB / 385.8 MB, free: 7.938 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.1263, allocations: 3.938 kB / 385.8 MB, free: 7.934 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.499e-05/0.1263, allocations: 12 kB / 385.9 MB, free: 7.922 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.1264, allocations: 8 kB / 385.9 MB, free: 7.914 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005366/0.1269, allocations: 234.4 kB / 386.1 MB, free: 7.684 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001917/0.1288, allocations: 0.9889 MB / 387.1 MB, free: 6.637 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007147/0.1295, allocations: 255.4 kB / 387.3 MB, free: 6.379 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005308/0.1301, allocations: 189.2 kB / 387.5 MB, free: 6.191 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003334/0.1304, allocations: 72.16 kB / 387.6 MB, free: 6.121 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.607e-05/0.1304, allocations: 34.8 kB / 387.6 MB, free: 6.078 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.773e-06/0.1304, allocations: 0 / 387.6 MB, free: 6.078 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.001425/0.1318, allocations: 444.6 kB / 388.1 MB, free: 5.637 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.224e-05/0.1319, allocations: 81.11 kB / 388.1 MB, free: 5.539 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003716/0.1323, allocations: 296.5 kB / 388.4 MB, free: 5.238 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.524e-05/0.1323, allocations: 33.7 kB / 388.5 MB, free: 5.199 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002134/0.1325, allocations: 228.4 kB / 388.7 MB, free: 4.973 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.977e-05/0.1326, allocations: 115 kB / 388.8 MB, free: 4.859 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001199/0.1328, allocations: 66.06 kB / 388.9 MB, free: 4.785 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001915/0.133, allocations: 342.8 kB / 389.2 MB, free: 4.441 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002539/0.1332, allocations: 100.7 kB / 389.3 MB, free: 4.344 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003417/0.1336, allocations: 207.5 kB / 389.5 MB, free: 4.105 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005467/0.1341, allocations: 276 kB / 389.8 MB, free: 3.809 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.1341, allocations: 0 / 389.8 MB, free: 3.809 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008494/0.135, allocations: 417.6 kB / 390.2 MB, free: 3.391 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.135, allocations: 4 kB / 390.2 MB, free: 3.387 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.355e-06/0.135, allocations: 4 kB / 390.2 MB, free: 3.383 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002949/0.1353, allocations: 76.78 kB / 390.2 MB, free: 3.305 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003366/0.1356, allocations: 75.89 kB / 390.3 MB, free: 3.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002151/0.1378, allocations: 1.805 MB / 392.1 MB, free: 1.328 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002714/0.138, allocations: 39.78 kB / 392.2 MB, free: 1.289 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.053e-05/0.1381, allocations: 16 kB / 392.2 MB, free: 1.273 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.0002006/0.1383, allocations: 153.7 kB / 392.3 MB, free: 1.113 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.326e-05/0.1383, allocations: 35.75 kB / 392.4 MB, free: 1.078 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007509/0.1391, allocations: 305.5 kB / 392.7 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-06/0.1391, allocations: 7.938 kB / 392.7 MB, free: 0.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.644e-06/0.1391, allocations: 4 kB / 392.7 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.1391, allocations: 3.984 kB / 392.7 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004145/0.1395, allocations: 281 kB / 393 MB, free: 448 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.582e-06/0.1395, allocations: 0 / 393 MB, free: 448 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003421/0.1399, allocations: 51.95 kB / 393 MB, free: 396 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002041/0.1401, allocations: 60.77 kB / 393.1 MB, free: 332 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.589e-05/0.1401, allocations: 11.98 kB / 393.1 MB, free: 320 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005155/0.1406, allocations: 0.6069 MB / 393.7 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.1406, allocations: 0 / 393.7 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001375/0.142, allocations: 0.4944 MB / 394.2 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.144e-05/0.1421, allocations: 39.69 kB / 394.2 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.44e-05/0.1421, allocations: 4 kB / 394.2 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002829/0.1424, allocations: 24.05 kB / 394.2 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.167e-05/0.1425, allocations: 15.95 kB / 394.3 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.454e-05/0.1425, allocations: 12 kB / 394.3 MB, free: 15.07 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002318/0.1427, allocations: 203.1 kB / 394.5 MB, free: 14.88 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1427, allocations: 0 / 394.5 MB, free: 14.88 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000501/0.1432, allocations: 115.8 kB / 394.6 MB, free: 14.77 MB / 366.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.0002642/0.1435, allocations: 127.2 kB / 394.7 MB, free: 14.63 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001013/0.1445, allocations: 390.6 kB / 395.1 MB, free: 14.24 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1445, allocations: 0 / 395.1 MB, free: 14.24 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003618/0.1449, allocations: 127.8 kB / 395.2 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003616/0.1452, allocations: 53.41 kB / 395.3 MB, free: 14.06 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001487/0.1467, allocations: 0.8547 MB / 396.1 MB, free: 13.18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001867/0.1469, allocations: 186.5 kB / 396.3 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001442/0.1471, allocations: 34.95 kB / 396.3 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.891e-05/0.1471, allocations: 28.48 kB / 396.4 MB, free: 12.92 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1471, allocations: 0 / 396.4 MB, free: 12.92 MB / 366.1 MB Notification: Performance of Templates: time 0.008691/0.1558, allocations: 3.608 MB / 400 MB, free: 9.363 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.779518712311983]