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) 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 4.0.0+maint.om/package.mo", uses=false) 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=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_4.0.0_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_4.0.0_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.00172/0.00172, allocations: 107.5 kB / 17.16 MB, free: 6.082 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.001992/0.001992, allocations: 194.9 kB / 18.08 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.152/2.152, allocations: 222.9 MB / 241.8 MB, free: 13.77 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001077/0.001077, allocations: 47.11 kB / 300.6 MB, free: 6.094 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1408, allocations: 49.45 MB / 350.1 MB, free: 4.645 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.004974/0.1458, allocations: 3.251 MB / 353.3 MB, free: 1.367 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001976/0.1478, allocations: 0.9703 MB / 354.3 MB, free: 400 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002103/0.1481, allocations: 4 kB / 354.3 MB, free: 396 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002007/0.1483, allocations: 47.66 kB / 354.3 MB, free: 348 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003768/0.1487, allocations: 103.2 kB / 354.4 MB, free: 244 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003227/0.149, allocations: 123.8 kB / 354.6 MB, free: 120 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004844/0.1495, allocations: 466 kB / 355 MB, free: 15.66 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002361/0.1498, allocations: 111.7 kB / 355.1 MB, free: 15.55 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002361/0.15, allocations: 171.3 kB / 355.3 MB, free: 15.38 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002382/0.1503, allocations: 199.1 kB / 355.5 MB, free: 15.18 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.718e-05/0.1503, allocations: 27.98 kB / 355.5 MB, free: 15.16 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001612/0.1505, allocations: 63.97 kB / 355.6 MB, free: 15.09 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.788e-05/0.1506, allocations: 79.61 kB / 355.6 MB, free: 15.02 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001955/0.1508, allocations: 195 kB / 355.8 MB, free: 14.82 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003756/0.1512, allocations: 371.3 kB / 356.2 MB, free: 14.46 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.1512, allocations: 0 / 356.2 MB, free: 14.46 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1512, allocations: 0 / 356.2 MB, free: 14.46 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.693e-06/0.1512, allocations: 0 / 356.2 MB, free: 14.46 MB / 302.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.001434/0.1527, allocations: 0.7364 MB / 356.9 MB, free: 13.68 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.1527, allocations: 16.03 kB / 356.9 MB, free: 13.66 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001034/0.1528, allocations: 48.41 kB / 357 MB, free: 13.61 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003823/0.1532, allocations: 303.4 kB / 357.3 MB, free: 13.28 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.671e-05/0.1533, allocations: 32.97 kB / 357.3 MB, free: 13.25 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.269e-05/0.1533, allocations: 32.38 kB / 357.4 MB, free: 13.21 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007138/0.154, allocations: 349.3 kB / 357.7 MB, free: 12.86 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.1541, allocations: 0 / 357.7 MB, free: 12.86 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.971e-05/0.1541, allocations: 12 kB / 357.7 MB, free: 12.85 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.398e-05/0.1541, allocations: 15.98 kB / 357.7 MB, free: 12.84 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005192/0.1547, allocations: 230.5 kB / 357.9 MB, free: 12.61 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002054/0.1567, allocations: 1.174 MB / 359.1 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007198/0.1575, allocations: 275.5 kB / 359.4 MB, free: 11.08 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000512/0.158, allocations: 221.3 kB / 359.6 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000861/0.1589, allocations: 1.121 MB / 360.7 MB, free: 9.48 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.543e-05/0.1589, allocations: 30.8 kB / 360.8 MB, free: 9.441 MB / 302.1 MB Notification: Performance of pre-optimization done (n=27): time 2.064e-06/0.1589, allocations: 0 / 360.8 MB, free: 9.441 MB / 302.1 MB Notification: Performance of matching and sorting (n=27): time 0.001448/0.1604, allocations: 0.5365 MB / 361.3 MB, free: 8.879 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.512e-05/0.1605, allocations: 77.11 kB / 361.4 MB, free: 8.785 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003842/0.1608, allocations: 336.5 kB / 361.7 MB, free: 8.449 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.245e-05/0.1609, allocations: 29.7 kB / 361.7 MB, free: 8.414 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001542/0.161, allocations: 208.1 kB / 361.9 MB, free: 8.203 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.474e-05/0.1611, allocations: 106.5 kB / 362 MB, free: 8.098 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001155/0.1613, allocations: 73.98 kB / 362.1 MB, free: 8.016 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.1614, allocations: 350.7 kB / 362.5 MB, free: 7.664 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002715/0.1617, allocations: 100.7 kB / 362.5 MB, free: 7.566 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003278/0.162, allocations: 193.7 kB / 362.7 MB, free: 7.348 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005196/0.1626, allocations: 292 kB / 363 MB, free: 7.035 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.1626, allocations: 0 / 363 MB, free: 7.035 MB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008451/0.1634, allocations: 425.4 kB / 363.4 MB, free: 6.609 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.1635, allocations: 4 kB / 363.4 MB, free: 6.605 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.1635, allocations: 4 kB / 363.4 MB, free: 6.602 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002852/0.1638, allocations: 68.94 kB / 363.5 MB, free: 6.531 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003539/0.1641, allocations: 75.89 kB / 363.6 MB, free: 6.457 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001964/0.1661, allocations: 1.772 MB / 365.4 MB, free: 4.555 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002983/0.1664, allocations: 35.59 kB / 365.4 MB, free: 4.52 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.822e-05/0.1665, allocations: 16 kB / 365.4 MB, free: 4.504 MB / 302.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.0002114/0.1667, allocations: 157.8 kB / 365.6 MB, free: 4.34 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.084e-05/0.1668, allocations: 39.47 kB / 365.6 MB, free: 4.301 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007703/0.1675, allocations: 330.3 kB / 365.9 MB, free: 3.969 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.1676, allocations: 4 kB / 365.9 MB, free: 3.965 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.1676, allocations: 0 / 365.9 MB, free: 3.965 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.1676, allocations: 7.938 kB / 365.9 MB, free: 3.957 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005055/0.1681, allocations: 397.2 kB / 366.3 MB, free: 3.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.1681, allocations: 0 / 366.3 MB, free: 3.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003613/0.1685, allocations: 59.89 kB / 366.4 MB, free: 3.461 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000215/0.1687, allocations: 52.83 kB / 366.4 MB, free: 3.406 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.842e-05/0.1687, allocations: 8 kB / 366.4 MB, free: 3.398 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004592/0.1692, allocations: 0.6148 MB / 367.1 MB, free: 2.758 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.1692, allocations: 0 / 367.1 MB, free: 2.758 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009742/0.1702, allocations: 0.5218 MB / 367.6 MB, free: 2.215 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.603e-05/0.1703, allocations: 112.6 kB / 367.7 MB, free: 2.086 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.357e-05/0.1704, allocations: 4 kB / 367.7 MB, free: 2.082 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002888/0.1707, allocations: 19.98 kB / 367.7 MB, free: 2.062 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.763e-05/0.1707, allocations: 15.97 kB / 367.7 MB, free: 2.047 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-05/0.1708, allocations: 12 kB / 367.7 MB, free: 2.035 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002578/0.171, allocations: 239 kB / 368 MB, free: 1.801 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.171, allocations: 4 kB / 368 MB, free: 1.797 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004896/0.1715, allocations: 107.8 kB / 368.1 MB, free: 1.691 MB / 302.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.0002423/0.1718, allocations: 131.1 kB / 368.2 MB, free: 1.551 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009045/0.1727, allocations: 418.6 kB / 368.6 MB, free: 1.129 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/0.1727, allocations: 4 kB / 368.6 MB, free: 1.125 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003939/0.1731, allocations: 139.8 kB / 368.8 MB, free: 0.9883 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005046/0.1736, allocations: 54.17 kB / 368.8 MB, free: 0.9414 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2412/0.4149, allocations: 1.013 MB / 369.8 MB, free: 25.54 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003822/0.4153, allocations: 0.7947 MB / 370.6 MB, free: 24.84 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002234/0.4155, allocations: 28.5 kB / 370.6 MB, free: 24.83 MB / 302.1 MB Notification: Performance of SimCode: time 9.82e-07/0.4156, allocations: 0.5625 kB / 370.6 MB, free: 24.83 MB / 302.1 MB Notification: Performance of Templates: time 0.01608/0.4316, allocations: 5.395 MB / 376 MB, free: 24.55 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.makefile (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) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/AmplifierWithOpAmpDetailed/AmplifierWithOpAmpDetailed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches