Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.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.InvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|gain.opAmp.out.v|gain.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|gain.opAmp.out.v|gain.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001009/0.001009, allocations: 92.5 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001204/0.001204, allocations: 201.8 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.603/1.603, allocations: 227.7 MB / 246.8 MB, free: 11.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002771/0.0002771, allocations: 8.281 kB / 307.7 MB, free: 0.8164 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.1469, allocations: 51.53 MB / 359.3 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier): time 0.003599/0.1505, allocations: 2.625 MB / 361.9 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001512/0.1521, allocations: 0.7481 MB / 362.6 MB, free: 9.895 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001362/0.1522, allocations: 4 kB / 362.6 MB, free: 9.891 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001293/0.1524, allocations: 35.69 kB / 362.7 MB, free: 9.855 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001903/0.1526, allocations: 87.38 kB / 362.8 MB, free: 9.77 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002882/0.1529, allocations: 103.8 kB / 362.9 MB, free: 9.668 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004039/0.1533, allocations: 390.4 kB / 363.2 MB, free: 9.285 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002343/0.1535, allocations: 107.8 kB / 363.3 MB, free: 9.18 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001623/0.1537, allocations: 131.4 kB / 363.5 MB, free: 9.051 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001897/0.1539, allocations: 143.3 kB / 363.6 MB, free: 8.91 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.571e-05/0.154, allocations: 20 kB / 363.6 MB, free: 8.891 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.357e-05/0.154, allocations: 16 kB / 363.7 MB, free: 8.875 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.78e-05/0.1541, allocations: 63.67 kB / 363.7 MB, free: 8.812 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001994/0.1543, allocations: 172.9 kB / 363.9 MB, free: 8.637 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00043/0.1547, allocations: 422.6 kB / 364.3 MB, free: 8.223 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1547, allocations: 0 / 364.3 MB, free: 8.223 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1548, allocations: 4 kB / 364.3 MB, free: 8.219 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.1548, allocations: 0 / 364.3 MB, free: 8.219 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.00128/0.156, allocations: 0.6381 MB / 364.9 MB, free: 7.52 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.1561, allocations: 12.02 kB / 364.9 MB, free: 7.508 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.672e-05/0.1562, allocations: 32.56 kB / 365 MB, free: 7.477 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003869/0.1566, allocations: 303.6 kB / 365.3 MB, free: 7.141 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.038e-05/0.1566, allocations: 24.88 kB / 365.3 MB, free: 7.117 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.566e-05/0.1567, allocations: 24.38 kB / 365.3 MB, free: 7.094 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000744/0.1574, allocations: 343.9 kB / 365.7 MB, free: 6.75 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.1575, allocations: 0 / 365.7 MB, free: 6.75 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.407e-05/0.1575, allocations: 15.98 kB / 365.7 MB, free: 6.734 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.1575, allocations: 4 kB / 365.7 MB, free: 6.73 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008643/0.1584, allocations: 318 kB / 366 MB, free: 6.418 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001955/0.1604, allocations: 1.178 MB / 367.2 MB, free: 5.156 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008918/0.1613, allocations: 286.6 kB / 367.4 MB, free: 4.867 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003666/0.1616, allocations: 120.8 kB / 367.6 MB, free: 4.746 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.603e-05/0.1617, allocations: 3.938 kB / 367.6 MB, free: 4.742 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005369/0.1622, allocations: 197.8 kB / 367.8 MB, free: 4.527 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.663e-06/0.1622, allocations: 0 / 367.8 MB, free: 4.527 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.002435/0.1647, allocations: 0.7333 MB / 368.5 MB, free: 3.766 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.384e-05/0.1648, allocations: 110.8 kB / 368.6 MB, free: 3.633 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003221/0.1651, allocations: 286.5 kB / 368.9 MB, free: 3.344 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.827e-05/0.1651, allocations: 29.7 kB / 368.9 MB, free: 3.309 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001549/0.1653, allocations: 199.6 kB / 369.1 MB, free: 3.109 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.806e-05/0.1653, allocations: 43.45 kB / 369.2 MB, free: 3.066 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.338e-05/0.1654, allocations: 25.7 kB / 369.2 MB, free: 3.035 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.1655, allocations: 334.8 kB / 369.5 MB, free: 2.699 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003624/0.1659, allocations: 120.4 kB / 369.6 MB, free: 2.578 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004361/0.1663, allocations: 216.8 kB / 369.8 MB, free: 2.324 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007703/0.1671, allocations: 339.8 kB / 370.2 MB, free: 1.949 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.1671, allocations: 224 / 370.2 MB, free: 1.949 MB / 302.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001309/0.1685, allocations: 0.5113 MB / 370.7 MB, free: 1.422 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.445e-05/0.1685, allocations: 37.64 kB / 370.7 MB, free: 1.379 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.208e-06/0.1685, allocations: 4 kB / 370.7 MB, free: 1.375 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003992/0.1689, allocations: 88.86 kB / 370.8 MB, free: 1.285 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002109/0.1692, allocations: 59.91 kB / 370.9 MB, free: 1.227 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3027/0.4718, allocations: 1.827 MB / 372.7 MB, free: 18.32 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005589/0.4725, allocations: 66.75 kB / 372.8 MB, free: 18.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.13e-05/0.4725, allocations: 12.75 kB / 372.8 MB, free: 18.32 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 1 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002741/0.4728, allocations: 154.5 kB / 372.9 MB, free: 18.2 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.027e-05/0.4729, allocations: 30.33 kB / 372.9 MB, free: 18.2 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.176e-05/0.4729, allocations: 30.25 kB / 373 MB, free: 18.2 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.473, allocations: 1.969 kB / 373 MB, free: 18.2 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.473, allocations: 0 / 373 MB, free: 18.2 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.473, allocations: 1.141 kB / 373 MB, free: 18.2 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000489/0.4735, allocations: 322.9 kB / 373.3 MB, free: 18.01 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.4735, allocations: 5.812 kB / 373.3 MB, free: 18.01 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001803/0.4737, allocations: 31.53 kB / 373.3 MB, free: 18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003776/0.4741, allocations: 86.62 kB / 373.4 MB, free: 18 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.4741, allocations: 2 kB / 373.4 MB, free: 18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002404/0.4765, allocations: 1.711 MB / 375.1 MB, free: 16.75 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.4765, allocations: 1.375 kB / 375.1 MB, free: 16.75 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001271/0.4778, allocations: 409.2 kB / 375.5 MB, free: 16.68 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.153e-05/0.4779, allocations: 100.5 kB / 375.6 MB, free: 16.58 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.657e-05/0.4779, allocations: 9.266 kB / 375.6 MB, free: 16.58 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000258/0.4782, allocations: 43.56 kB / 375.7 MB, free: 16.58 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.53e-05/0.4783, allocations: 21.95 kB / 375.7 MB, free: 16.58 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.837e-05/0.4783, allocations: 7.609 kB / 375.7 MB, free: 16.58 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002664/0.4786, allocations: 197.3 kB / 375.9 MB, free: 16.5 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.4786, allocations: 0 / 375.9 MB, free: 16.5 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004625/0.479, allocations: 82.62 kB / 376 MB, free: 16.49 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 (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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000155/0.4792, allocations: 106 kB / 376.1 MB, free: 16.41 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001305/0.4805, allocations: 462.4 kB / 376.5 MB, free: 16.23 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.4805, allocations: 0 / 376.5 MB, free: 16.23 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005991/0.4811, allocations: 249.9 kB / 376.8 MB, free: 16.12 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004142/0.4816, allocations: 55.75 kB / 376.8 MB, free: 16.11 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001354/0.4829, allocations: 0.5953 MB / 377.4 MB, free: 15.76 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003171/0.4833, allocations: 0.759 MB / 378.2 MB, free: 15.06 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001449/0.4834, allocations: 27.36 kB / 378.2 MB, free: 15.06 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.727e-05/0.4835, allocations: 19.05 kB / 378.2 MB, free: 15.05 MB / 302.1 MB Notification: Performance of SimCode: time 7.62e-07/0.4835, allocations: 0 / 378.2 MB, free: 15.05 MB / 302.1 MB Notification: Performance of Templates: time 0.01121/0.4947, allocations: 3.759 MB / 382 MB, free: 14.84 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/InvertingAmplifier/InvertingAmplifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches