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.001406/0.001406, allocations: 108.4 kB / 18.36 MB, free: 4.762 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.001774/0.001774, allocations: 187 kB / 19.29 MB, free: 3.84 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.586/1.586, allocations: 205.1 MB / 225.2 MB, free: 12.27 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.001464/0.001465, allocations: 43.94 kB / 282.1 MB, free: 2.465 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1317, allocations: 46.63 MB / 328.7 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.005279/0.137, allocations: 3.199 MB / 331.9 MB, free: 0.5391 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002268/0.1393, allocations: 0.9944 MB / 332.9 MB, free: 15.54 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002511/0.1396, allocations: 7.938 kB / 332.9 MB, free: 15.53 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002274/0.1399, allocations: 59.42 kB / 333 MB, free: 15.47 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004506/0.1403, allocations: 130.9 kB / 333.1 MB, free: 15.34 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004759/0.1408, allocations: 143.7 kB / 333.3 MB, free: 15.2 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005349/0.1414, allocations: 489.9 kB / 333.7 MB, free: 14.72 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003013/0.1417, allocations: 131.1 kB / 333.9 MB, free: 14.59 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002576/0.1419, allocations: 183.4 kB / 334 MB, free: 14.41 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002729/0.1422, allocations: 211.1 kB / 334.2 MB, free: 14.2 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6e-05/0.1423, allocations: 40 kB / 334.3 MB, free: 14.16 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001828/0.1425, allocations: 75.97 kB / 334.4 MB, free: 14.09 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001014/0.1426, allocations: 91.67 kB / 334.4 MB, free: 14 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002416/0.1428, allocations: 218.9 kB / 334.7 MB, free: 13.78 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006829/0.1435, allocations: 498.2 kB / 335.1 MB, free: 13.29 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.1436, allocations: 0 / 335.1 MB, free: 13.29 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.1436, allocations: 4 kB / 335.2 MB, free: 13.29 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.997e-06/0.1436, allocations: 0 / 335.2 MB, free: 13.29 MB / 286.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.001485/0.1451, allocations: 0.7403 MB / 335.9 MB, free: 12.5 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.1451, allocations: 8.031 kB / 335.9 MB, free: 12.49 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001232/0.1453, allocations: 44.47 kB / 335.9 MB, free: 12.45 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005057/0.1458, allocations: 311.3 kB / 336.2 MB, free: 12.11 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.85e-05/0.1458, allocations: 29.03 kB / 336.3 MB, free: 12.08 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.674e-05/0.1459, allocations: 36.38 kB / 336.3 MB, free: 12.04 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006604/0.1466, allocations: 353.3 kB / 336.7 MB, free: 11.69 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.1466, allocations: 0 / 336.7 MB, free: 11.69 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.881e-05/0.1466, allocations: 16 kB / 336.7 MB, free: 11.67 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.1466, allocations: 8 kB / 336.7 MB, free: 11.66 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005011/0.1471, allocations: 234.5 kB / 336.9 MB, free: 11.43 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002096/0.1493, allocations: 1.17 MB / 338.1 MB, free: 10.18 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007406/0.15, allocations: 283.5 kB / 338.4 MB, free: 9.895 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004829/0.1505, allocations: 210.3 kB / 338.6 MB, free: 9.688 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001057/0.1516, allocations: 1.113 MB / 339.7 MB, free: 8.316 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.885e-05/0.1516, allocations: 46.73 kB / 339.7 MB, free: 8.262 MB / 286.1 MB Notification: Performance of pre-optimization done (n=27): time 2.936e-06/0.1517, allocations: 0 / 339.7 MB, free: 8.262 MB / 286.1 MB Notification: Performance of matching and sorting (n=27): time 0.001455/0.1531, allocations: 0.5287 MB / 340.2 MB, free: 7.707 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.34e-05/0.1532, allocations: 85.03 kB / 340.3 MB, free: 7.605 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004039/0.1536, allocations: 341.6 kB / 340.7 MB, free: 7.266 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.784e-05/0.1536, allocations: 33.7 kB / 340.7 MB, free: 7.227 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00014/0.1538, allocations: 212.1 kB / 340.9 MB, free: 7.016 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.251e-05/0.1539, allocations: 106.5 kB / 341 MB, free: 6.91 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001069/0.154, allocations: 62.08 kB / 341.1 MB, free: 6.84 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.1541, allocations: 358.7 kB / 341.4 MB, free: 6.48 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002184/0.1543, allocations: 108.7 kB / 341.5 MB, free: 6.375 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002581/0.1546, allocations: 181.7 kB / 341.7 MB, free: 6.168 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004684/0.1551, allocations: 299.1 kB / 342 MB, free: 5.848 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.1551, allocations: 0 / 342 MB, free: 5.848 MB / 286.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007731/0.1559, allocations: 433.6 kB / 342.4 MB, free: 5.414 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.1559, allocations: 8 kB / 342.4 MB, free: 5.406 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.493e-06/0.1559, allocations: 0 / 342.4 MB, free: 5.406 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000271/0.1562, allocations: 64.81 kB / 342.5 MB, free: 5.34 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000323/0.1565, allocations: 79.91 kB / 342.6 MB, free: 5.262 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002072/0.1586, allocations: 1.943 MB / 344.5 MB, free: 3.184 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002985/0.1589, allocations: 35.67 kB / 344.5 MB, free: 3.148 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.498e-05/0.159, allocations: 16 kB / 344.6 MB, free: 3.133 MB / 286.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.0002052/0.1592, allocations: 161.7 kB / 344.7 MB, free: 2.965 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.995e-05/0.1593, allocations: 39.52 kB / 344.8 MB, free: 2.926 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006775/0.1599, allocations: 334.2 kB / 345.1 MB, free: 2.586 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.16, allocations: 4 kB / 345.1 MB, free: 2.582 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.16, allocations: 3.938 kB / 345.1 MB, free: 2.578 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.16, allocations: 0 / 345.1 MB, free: 2.578 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004464/0.1604, allocations: 397.4 kB / 345.5 MB, free: 2.141 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.1604, allocations: 0 / 345.5 MB, free: 2.141 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003283/0.1608, allocations: 55.84 kB / 345.5 MB, free: 2.086 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002118/0.161, allocations: 60.81 kB / 345.6 MB, free: 2.023 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.907e-05/0.161, allocations: 8 kB / 345.6 MB, free: 2.016 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003962/0.1614, allocations: 0.6108 MB / 346.2 MB, free: 1.379 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1615, allocations: 0 / 346.2 MB, free: 1.379 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008646/0.1623, allocations: 0.512 MB / 346.7 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001507/0.1625, allocations: 136.7 kB / 346.9 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.74e-05/0.1625, allocations: 11.94 kB / 346.9 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002573/0.1628, allocations: 19.98 kB / 346.9 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.833e-05/0.1629, allocations: 19.97 kB / 346.9 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.082e-05/0.1629, allocations: 8 kB / 346.9 MB, free: 0.6367 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.000255/0.1632, allocations: 243.2 kB / 347.2 MB, free: 412 kB / 286.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1632, allocations: 0 / 347.2 MB, free: 412 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004694/0.1636, allocations: 107.8 kB / 347.3 MB, free: 304 kB / 286.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.0002479/0.1639, allocations: 131.1 kB / 347.4 MB, free: 160 kB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0009381/0.1648, allocations: 423.5 kB / 347.8 MB, free: 15.73 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.1649, allocations: 4.062 kB / 347.8 MB, free: 15.73 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003531/0.1652, allocations: 135.9 kB / 347.9 MB, free: 15.59 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003978/0.1656, allocations: 37.42 kB / 348 MB, free: 15.55 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001492/0.1671, allocations: 0.8541 MB / 348.8 MB, free: 14.67 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003852/0.1675, allocations: 0.7951 MB / 349.6 MB, free: 13.85 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001456/0.1677, allocations: 38.95 kB / 349.7 MB, free: 13.81 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.446e-05/0.1678, allocations: 23.44 kB / 349.7 MB, free: 13.79 MB / 302.1 MB Notification: Performance of SimCode: time 2.204e-06/0.1678, allocations: 4 kB / 349.7 MB, free: 13.79 MB / 302.1 MB Notification: Performance of Templates: time 0.008998/0.1768, allocations: 3.952 MB / 353.6 MB, free: 9.836 MB / 302.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 -s cvode -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) Reference file matches