Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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.OpAmps.NonInvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|buffer.opAmp.out.v|buffer.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|buffer.opAmp.out.v|buffer.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001308/0.001308, allocations: 96.67 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00177/0.001771, allocations: 203.9 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.413/1.413, allocations: 227.2 MB / 245.9 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002732/0.0002731, allocations: 8 kB / 306.6 MB, free: 1.391 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.1427, allocations: 51.49 MB / 358.1 MB, free: 13.9 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.003064/0.1458, allocations: 2.393 MB / 360.5 MB, free: 11.49 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001407/0.1472, allocations: 0.7524 MB / 361.2 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001625/0.1474, allocations: 4 kB / 361.2 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 6.483e-05/0.1475, allocations: 31.75 kB / 361.3 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000253/0.1478, allocations: 115.6 kB / 361.4 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002422/0.148, allocations: 71.86 kB / 361.4 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003175/0.1483, allocations: 263.4 kB / 361.7 MB, free: 10.26 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001925/0.1485, allocations: 93.7 kB / 361.8 MB, free: 10.17 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001548/0.1487, allocations: 131.5 kB / 361.9 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000176/0.1489, allocations: 143.4 kB / 362.1 MB, free: 9.898 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.008e-05/0.1489, allocations: 16 kB / 362.1 MB, free: 9.883 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.497e-05/0.149, allocations: 20 kB / 362.1 MB, free: 9.863 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.116e-05/0.149, allocations: 47.81 kB / 362.1 MB, free: 9.816 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.299e-05/0.1491, allocations: 85.52 kB / 362.2 MB, free: 9.727 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003812/0.1495, allocations: 347.3 kB / 362.6 MB, free: 9.387 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.1495, allocations: 0 / 362.6 MB, free: 9.387 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1495, allocations: 0 / 362.6 MB, free: 9.387 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.1495, allocations: 4 kB / 362.6 MB, free: 9.383 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001252/0.1508, allocations: 0.6535 MB / 363.2 MB, free: 8.672 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.1508, allocations: 8.031 kB / 363.2 MB, free: 8.664 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.456e-05/0.1509, allocations: 31.62 kB / 363.3 MB, free: 8.633 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003292/0.1513, allocations: 282.5 kB / 363.5 MB, free: 8.316 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.751e-05/0.1513, allocations: 24.52 kB / 363.6 MB, free: 8.293 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.234e-05/0.1513, allocations: 24 kB / 363.6 MB, free: 8.27 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007047/0.1521, allocations: 335.6 kB / 363.9 MB, free: 7.926 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.1521, allocations: 3.984 kB / 363.9 MB, free: 7.922 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.191e-05/0.1521, allocations: 12 kB / 363.9 MB, free: 7.91 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.1521, allocations: 4 kB / 363.9 MB, free: 7.906 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008124/0.1529, allocations: 318 kB / 364.2 MB, free: 7.598 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001821/0.1548, allocations: 1.174 MB / 365.4 MB, free: 6.344 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008182/0.1556, allocations: 278.5 kB / 365.7 MB, free: 6.062 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.437e-05/0.1556, allocations: 4 kB / 365.7 MB, free: 6.059 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000481/0.1561, allocations: 193.8 kB / 365.9 MB, free: 5.848 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.633e-06/0.1561, allocations: 4 kB / 365.9 MB, free: 5.844 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.002271/0.1584, allocations: 0.741 MB / 366.6 MB, free: 5.074 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.748e-05/0.1585, allocations: 106.8 kB / 366.7 MB, free: 4.945 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003032/0.1588, allocations: 290.5 kB / 367 MB, free: 4.652 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.762e-05/0.1589, allocations: 29.7 kB / 367 MB, free: 4.617 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001395/0.159, allocations: 199.6 kB / 367.2 MB, free: 4.418 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.916e-05/0.159, allocations: 47.34 kB / 367.3 MB, free: 4.371 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.957e-05/0.1591, allocations: 8 kB / 367.3 MB, free: 4.363 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.1592, allocations: 330.8 kB / 367.6 MB, free: 4.031 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003523/0.1596, allocations: 120.2 kB / 367.7 MB, free: 3.91 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004253/0.16, allocations: 229.3 kB / 368 MB, free: 3.641 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003821/0.1604, allocations: 157.6 kB / 368.1 MB, free: 3.48 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.758e-06/0.1604, allocations: 3.984 kB / 368.1 MB, free: 3.477 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001223/0.1616, allocations: 0.5036 MB / 368.6 MB, free: 2.957 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.293e-05/0.1617, allocations: 37.7 kB / 368.7 MB, free: 2.914 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.639e-06/0.1617, allocations: 4 kB / 368.7 MB, free: 2.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003709/0.1621, allocations: 92.8 kB / 368.7 MB, free: 2.816 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002126/0.1623, allocations: 59.89 kB / 368.8 MB, free: 2.758 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002914/0.1652, allocations: 1.951 MB / 370.8 MB, free: 0.668 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003604/0.1656, allocations: 63.86 kB / 370.8 MB, free: 0.6055 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.262e-05/0.1656, allocations: 8 kB / 370.8 MB, free: 0.5977 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001732/0.1658, allocations: 145.8 kB / 371 MB, free: 456 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.971e-05/0.1659, allocations: 23.94 kB / 371 MB, free: 432 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.747e-05/0.1659, allocations: 33.77 kB / 371 MB, free: 404 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.634e-06/0.1659, allocations: 3.938 kB / 371 MB, free: 400 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.1659, allocations: 7.953 kB / 371 MB, free: 392 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.166, allocations: 4 kB / 371 MB, free: 388 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002838/0.1662, allocations: 325.3 kB / 371.4 MB, free: 12 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1663, allocations: 0 / 371.4 MB, free: 12 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.2093/0.3756, allocations: 24.25 kB / 371.4 MB, free: 19.62 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004163/0.376, allocations: 84.38 kB / 371.5 MB, free: 19.61 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.691e-05/0.3761, allocations: 3.859 kB / 371.5 MB, free: 19.61 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002452/0.3785, allocations: 1.849 MB / 373.3 MB, free: 18.3 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3785, allocations: 0 / 373.3 MB, free: 18.3 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001202/0.3797, allocations: 404.8 kB / 373.7 MB, free: 18.23 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.686e-05/0.3798, allocations: 103.6 kB / 373.8 MB, free: 18.13 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.989e-05/0.3799, allocations: 6.078 kB / 373.8 MB, free: 18.13 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002545/0.3801, allocations: 42.28 kB / 373.9 MB, free: 18.13 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.067e-05/0.3802, allocations: 23 kB / 373.9 MB, free: 18.13 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.545e-05/0.3803, allocations: 3.094 kB / 373.9 MB, free: 18.13 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002244/0.3805, allocations: 200.8 kB / 374.1 MB, free: 18.05 MB / 302.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3805, allocations: 5.094 kB / 374.1 MB, free: 18.05 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004577/0.381, allocations: 80.19 kB / 374.2 MB, free: 18.05 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001341/0.3811, allocations: 106 kB / 374.3 MB, free: 17.97 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001371/0.3825, allocations: 0.5295 MB / 374.8 MB, free: 17.8 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.3825, allocations: 0 / 374.8 MB, free: 17.8 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004851/0.383, allocations: 254.8 kB / 375.1 MB, free: 17.69 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002902/0.3833, allocations: 48.92 kB / 375.1 MB, free: 17.68 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003244/0.3865, allocations: 1.092 MB / 376.2 MB, free: 17.36 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001985/0.3867, allocations: 0.7621 MB / 377 MB, free: 16.66 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001264/0.3869, allocations: 27.88 kB / 377 MB, free: 16.65 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.643e-05/0.3869, allocations: 20.17 kB / 377 MB, free: 16.64 MB / 302.1 MB Notification: Performance of SimCode: time 1.483e-06/0.3869, allocations: 0 / 377 MB, free: 16.64 MB / 302.1 MB Notification: Performance of Templates: time 0.008384/0.3953, allocations: 3.604 MB / 380.6 MB, free: 16.43 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/NonInvertingAmplifier/NonInvertingAmplifier.csv","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches