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.00105/0.001051, allocations: 90.59 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001808/0.001809, allocations: 199.6 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.718/1.718, allocations: 227.7 MB / 246.8 MB, free: 11.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003424/0.0003423, allocations: 8 kB / 307.8 MB, free: 0.8164 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1482, allocations: 51.53 MB / 359.3 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.003927/0.1522, allocations: 2.621 MB / 361.9 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002244/0.1545, allocations: 0.7481 MB / 362.7 MB, free: 9.91 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004482/0.155, allocations: 4 kB / 362.7 MB, free: 9.906 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002352/0.1552, allocations: 31.75 kB / 362.7 MB, free: 9.875 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004012/0.1556, allocations: 95.31 kB / 362.8 MB, free: 9.781 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005134/0.1561, allocations: 99.91 kB / 362.9 MB, free: 9.684 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004695/0.1566, allocations: 390.4 kB / 363.3 MB, free: 9.301 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003024/0.1569, allocations: 103.8 kB / 363.4 MB, free: 9.199 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002237/0.1572, allocations: 131.4 kB / 363.5 MB, free: 9.07 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002467/0.1574, allocations: 155.2 kB / 363.6 MB, free: 8.918 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.198e-05/0.1575, allocations: 16 kB / 363.7 MB, free: 8.902 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.198e-05/0.1576, allocations: 20 kB / 363.7 MB, free: 8.883 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.658e-05/0.1576, allocations: 63.67 kB / 363.7 MB, free: 8.82 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002261/0.1579, allocations: 168.9 kB / 363.9 MB, free: 8.648 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005108/0.1584, allocations: 426.6 kB / 364.3 MB, free: 8.23 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.1584, allocations: 0 / 364.3 MB, free: 8.23 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.057e-06/0.1584, allocations: 0 / 364.3 MB, free: 8.23 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.138e-06/0.1584, allocations: 0 / 364.3 MB, free: 8.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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001545/0.16, allocations: 0.6459 MB / 365 MB, free: 7.523 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.005e-05/0.1601, allocations: 8.031 kB / 365 MB, free: 7.516 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000103/0.1602, allocations: 32.56 kB / 365 MB, free: 7.484 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004305/0.1606, allocations: 303.6 kB / 365.3 MB, free: 7.148 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.289e-05/0.1607, allocations: 20.88 kB / 365.3 MB, free: 7.129 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.13e-05/0.1607, allocations: 24.38 kB / 365.3 MB, free: 7.105 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008215/0.1616, allocations: 343.9 kB / 365.7 MB, free: 6.762 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.1616, allocations: 4 kB / 365.7 MB, free: 6.758 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.531e-05/0.1616, allocations: 12 kB / 365.7 MB, free: 6.746 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.1617, allocations: 4 kB / 365.7 MB, free: 6.742 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008665/0.1625, allocations: 318 kB / 366 MB, free: 6.43 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001995/0.1645, allocations: 1.189 MB / 367.2 MB, free: 5.156 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009305/0.1655, allocations: 274.6 kB / 367.5 MB, free: 4.879 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003788/0.1659, allocations: 120.8 kB / 367.6 MB, free: 4.758 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.536e-05/0.1659, allocations: 4 kB / 367.6 MB, free: 4.754 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006114/0.1665, allocations: 197.8 kB / 367.8 MB, free: 4.539 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 3.115e-06/0.1666, allocations: 0 / 367.8 MB, free: 4.539 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.002619/0.1692, allocations: 0.7449 MB / 368.5 MB, free: 3.766 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.616e-05/0.1693, allocations: 110.8 kB / 368.6 MB, free: 3.633 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003475/0.1696, allocations: 282.7 kB / 368.9 MB, free: 3.348 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.983e-05/0.1697, allocations: 29.7 kB / 368.9 MB, free: 3.312 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001496/0.1698, allocations: 203.5 kB / 369.1 MB, free: 3.109 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.503e-05/0.1699, allocations: 35.45 kB / 369.2 MB, free: 3.074 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.087e-05/0.1699, allocations: 29.72 kB / 369.2 MB, free: 3.039 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.1701, allocations: 334.8 kB / 369.5 MB, free: 2.703 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003773/0.1705, allocations: 128.1 kB / 369.7 MB, free: 2.574 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004461/0.1709, allocations: 225.2 kB / 369.9 MB, free: 2.309 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007859/0.1717, allocations: 354.9 kB / 370.2 MB, free: 1.918 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.1717, allocations: 4.219 kB / 370.2 MB, free: 1.914 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001366/0.1731, allocations: 0.4996 MB / 370.7 MB, free: 1.398 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.513e-05/0.1732, allocations: 45.62 kB / 370.8 MB, free: 1.348 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/0.1732, allocations: 8 kB / 370.8 MB, free: 1.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004291/0.1736, allocations: 92.73 kB / 370.9 MB, free: 1.246 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002259/0.1739, allocations: 55.91 kB / 370.9 MB, free: 1.191 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2981/0.472, allocations: 1.907 MB / 372.8 MB, free: 18.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005284/0.4726, allocations: 64.84 kB / 372.9 MB, free: 18.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.904e-05/0.4726, allocations: 11.81 kB / 372.9 MB, free: 18.16 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 (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 (24): * Single equations (assignments): 22 * 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.0002312/0.4729, allocations: 153.3 kB / 373.1 MB, free: 18.05 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.455e-05/0.4729, allocations: 31.67 kB / 373.1 MB, free: 18.05 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.262e-05/0.473, allocations: 26.8 kB / 373.1 MB, free: 18.04 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.728e-06/0.473, allocations: 4.938 kB / 373.1 MB, free: 18.04 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.473, allocations: 1.281 kB / 373.1 MB, free: 18.04 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.473, allocations: 1.203 kB / 373.1 MB, free: 18.04 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004722/0.4735, allocations: 332.1 kB / 373.4 MB, free: 17.85 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.4735, allocations: 0.6094 kB / 373.4 MB, free: 17.85 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001548/0.4737, allocations: 29.98 kB / 373.5 MB, free: 17.85 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003504/0.4741, allocations: 89.91 kB / 373.6 MB, free: 17.84 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.81e-05/0.4741, allocations: 2.297 kB / 373.6 MB, free: 17.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002364/0.4765, allocations: 1.815 MB / 375.4 MB, free: 16.53 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.4765, allocations: 4.906 kB / 375.4 MB, free: 16.52 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001261/0.4777, allocations: 405 kB / 375.8 MB, free: 16.45 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.913e-05/0.4778, allocations: 103.7 kB / 375.9 MB, free: 16.34 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.721e-05/0.4779, allocations: 6.422 kB / 375.9 MB, free: 16.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000267/0.4781, allocations: 44.06 kB / 375.9 MB, free: 16.34 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/0.4783, allocations: 18.09 kB / 375.9 MB, free: 16.34 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.629e-05/0.4783, allocations: 5.484 kB / 376 MB, free: 16.34 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002506/0.4785, allocations: 200.3 kB / 376.1 MB, free: 16.27 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.4785, allocations: 0 / 376.1 MB, free: 16.27 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004915/0.479, allocations: 79.56 kB / 376.2 MB, free: 16.26 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.0001541/0.4792, allocations: 111.5 kB / 376.3 MB, free: 16.17 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00155/0.4808, allocations: 0.5297 MB / 376.9 MB, free: 16 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4808, allocations: 3.562 kB / 376.9 MB, free: 16 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005313/0.4813, allocations: 254.3 kB / 377.1 MB, free: 15.89 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000378/0.4817, allocations: 51.52 kB / 377.2 MB, free: 15.88 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003442/0.4852, allocations: 1.117 MB / 378.3 MB, free: 15.5 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002624/0.4854, allocations: 0.7691 MB / 379.1 MB, free: 14.79 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000152/0.4856, allocations: 27.41 kB / 379.1 MB, free: 14.79 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.2e-05/0.4857, allocations: 19.38 kB / 379.1 MB, free: 14.78 MB / 302.1 MB Notification: Performance of SimCode: time 1.122e-06/0.4857, allocations: 4 kB / 379.1 MB, free: 14.78 MB / 302.1 MB Notification: Performance of Templates: time 0.01003/0.4957, allocations: 3.702 MB / 382.8 MB, free: 14.56 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches