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.001187/0.001187, allocations: 112.7 kB / 17.68 MB, free: 5.473 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.001231/0.001231, allocations: 190.9 kB / 18.62 MB, free: 4.543 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.633/1.633, allocations: 222.9 MB / 242.3 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 56.27 kB / 302.1 MB, free: 5.152 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1394, allocations: 49.44 MB / 351.5 MB, free: 3.688 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.006446/0.1459, allocations: 3.214 MB / 354.7 MB, free: 460 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002794/0.1488, allocations: 0.9701 MB / 355.7 MB, free: 15.47 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007009/0.1495, allocations: 7.938 kB / 355.7 MB, free: 15.46 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003221/0.1499, allocations: 59.42 kB / 355.7 MB, free: 15.41 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006209/0.1506, allocations: 126.9 kB / 355.9 MB, free: 15.28 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005128/0.1511, allocations: 143.7 kB / 356 MB, free: 15.14 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005339/0.1516, allocations: 489.8 kB / 356.5 MB, free: 14.66 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000287/0.1519, allocations: 135.1 kB / 356.6 MB, free: 14.53 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002511/0.1522, allocations: 191.3 kB / 356.8 MB, free: 14.34 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002798/0.1525, allocations: 211.1 kB / 357 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.278e-05/0.1525, allocations: 40 kB / 357 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001714/0.1527, allocations: 75.95 kB / 357.1 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.97e-05/0.1528, allocations: 87.69 kB / 357.2 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002219/0.1531, allocations: 218.9 kB / 357.4 MB, free: 13.72 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005817/0.1536, allocations: 0.4905 MB / 357.9 MB, free: 13.23 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.034e-06/0.1537, allocations: 0 / 357.9 MB, free: 13.23 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1537, allocations: 0 / 357.9 MB, free: 13.23 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.495e-05/0.1537, allocations: 0 / 357.9 MB, free: 13.23 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.001449/0.1551, allocations: 0.7403 MB / 358.7 MB, free: 12.43 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/0.1552, allocations: 8.031 kB / 358.7 MB, free: 12.43 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001014/0.1553, allocations: 44.47 kB / 358.7 MB, free: 12.38 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005383/0.1559, allocations: 307.3 kB / 359 MB, free: 12.04 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.946e-05/0.1559, allocations: 25.03 kB / 359 MB, free: 12.02 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.915e-05/0.156, allocations: 40.36 kB / 359.1 MB, free: 11.98 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006465/0.1566, allocations: 353.3 kB / 359.4 MB, free: 11.62 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.1567, allocations: 4 kB / 359.4 MB, free: 11.62 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.499e-05/0.1567, allocations: 12 kB / 359.4 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.1567, allocations: 8 kB / 359.4 MB, free: 11.6 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004643/0.1572, allocations: 230.5 kB / 359.7 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001921/0.1591, allocations: 1.166 MB / 360.8 MB, free: 10.13 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006612/0.1598, allocations: 286.7 kB / 361.1 MB, free: 9.844 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000488/0.1603, allocations: 209.2 kB / 361.3 MB, free: 9.637 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001006/0.1613, allocations: 1.113 MB / 362.4 MB, free: 8.266 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.33e-05/0.1614, allocations: 30.8 kB / 362.5 MB, free: 8.227 MB / 302.1 MB Notification: Performance of pre-optimization done (n=27): time 1.743e-06/0.1614, allocations: 4 kB / 362.5 MB, free: 8.223 MB / 302.1 MB Notification: Performance of matching and sorting (n=27): time 0.001461/0.1628, allocations: 0.5351 MB / 363 MB, free: 7.664 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.656e-05/0.1629, allocations: 81.11 kB / 363.1 MB, free: 7.566 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003994/0.1633, allocations: 336.5 kB / 363.4 MB, free: 7.227 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.556e-05/0.1634, allocations: 33.7 kB / 363.4 MB, free: 7.188 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001806/0.1636, allocations: 212.2 kB / 363.6 MB, free: 6.973 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.939e-05/0.1637, allocations: 98.56 kB / 363.7 MB, free: 6.875 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001187/0.1638, allocations: 73.91 kB / 363.8 MB, free: 6.793 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001793/0.164, allocations: 350.7 kB / 364.2 MB, free: 6.441 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002114/0.1642, allocations: 104.7 kB / 364.3 MB, free: 6.34 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000287/0.1645, allocations: 185.8 kB / 364.4 MB, free: 6.129 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004988/0.165, allocations: 288 kB / 364.7 MB, free: 5.82 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.165, allocations: 0 / 364.7 MB, free: 5.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007805/0.1658, allocations: 429 kB / 365.1 MB, free: 5.391 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.035e-05/0.1659, allocations: 12.25 kB / 365.1 MB, free: 5.379 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.1659, allocations: 0 / 365.1 MB, free: 5.379 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002974/0.1662, allocations: 68.75 kB / 365.2 MB, free: 5.309 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003101/0.1665, allocations: 79.89 kB / 365.3 MB, free: 5.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002095/0.1686, allocations: 1.951 MB / 367.2 MB, free: 3.145 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002809/0.1689, allocations: 47.55 kB / 367.3 MB, free: 3.098 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.744e-05/0.1689, allocations: 12 kB / 367.3 MB, free: 3.086 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.0001934/0.1691, allocations: 153.7 kB / 367.5 MB, free: 2.926 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.775e-05/0.1692, allocations: 35.53 kB / 367.5 MB, free: 2.891 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000699/0.1699, allocations: 338.6 kB / 367.8 MB, free: 2.551 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.1699, allocations: 4 kB / 367.8 MB, free: 2.547 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.1699, allocations: 3.938 kB / 367.8 MB, free: 2.543 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.083e-05/0.17, allocations: 8.172 kB / 367.8 MB, free: 2.535 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004693/0.1704, allocations: 393.2 kB / 368.2 MB, free: 2.102 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.1704, allocations: 3.938 kB / 368.2 MB, free: 2.098 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003245/0.1708, allocations: 55.94 kB / 368.3 MB, free: 2.043 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002071/0.171, allocations: 60.83 kB / 368.3 MB, free: 1.98 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.779e-05/0.171, allocations: 15.92 kB / 368.4 MB, free: 1.965 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004111/0.1714, allocations: 0.5991 MB / 368.9 MB, free: 1.34 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1715, allocations: 0 / 368.9 MB, free: 1.34 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008572/0.1723, allocations: 0.5276 MB / 369.5 MB, free: 0.7891 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.825e-05/0.1724, allocations: 108.7 kB / 369.6 MB, free: 0.6641 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.354e-05/0.1725, allocations: 4 kB / 369.6 MB, free: 0.6602 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00025/0.1727, allocations: 27.98 kB / 369.6 MB, free: 0.6328 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.25e-05/0.1728, allocations: 11.98 kB / 369.6 MB, free: 0.6211 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.121e-05/0.1728, allocations: 11.98 kB / 369.6 MB, free: 0.6094 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002481/0.1731, allocations: 235.1 kB / 369.9 MB, free: 388 kB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1731, allocations: 0 / 369.9 MB, free: 388 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004753/0.1736, allocations: 107.8 kB / 370 MB, free: 280 kB / 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.0002484/0.1738, allocations: 139 kB / 370.1 MB, free: 128 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.241/0.4148, allocations: 407.2 kB / 370.5 MB, free: 25.83 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.362e-05/0.4149, allocations: 0.5625 kB / 370.5 MB, free: 25.83 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005001/0.4154, allocations: 147 kB / 370.7 MB, free: 25.82 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005631/0.416, allocations: 40.59 kB / 370.7 MB, free: 25.82 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001867/0.4179, allocations: 0.8576 MB / 371.5 MB, free: 25.44 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004553/0.4183, allocations: 0.7916 MB / 372.3 MB, free: 24.73 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001951/0.4185, allocations: 40.2 kB / 372.4 MB, free: 24.73 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.184e-05/0.4186, allocations: 29.86 kB / 372.4 MB, free: 24.73 MB / 302.1 MB Notification: Performance of SimCode: time 1.552e-06/0.4186, allocations: 0 / 372.4 MB, free: 24.73 MB / 302.1 MB Notification: Performance of Templates: time 0.0145/0.4331, allocations: 3.95 MB / 376.4 MB, free: 24.5 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 -s cvode -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