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.001349/0.001349, allocations: 116.9 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001545/0.001545, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.479/1.479, allocations: 227.4 MB / 247.5 MB, free: 10.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 63.31 kB / 308.4 MB, free: 15.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.118, allocations: 50.53 MB / 358.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.004829/0.1229, allocations: 2.946 MB / 361.9 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001678/0.1246, allocations: 0.7675 MB / 362.6 MB, free: 9.605 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002005/0.1248, allocations: 7.938 kB / 362.6 MB, free: 9.598 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002035/0.125, allocations: 43.52 kB / 362.7 MB, free: 9.555 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002033/0.1252, allocations: 103.2 kB / 362.8 MB, free: 9.453 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003436/0.1256, allocations: 115.8 kB / 362.9 MB, free: 9.34 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004673/0.1261, allocations: 418.4 kB / 363.3 MB, free: 8.93 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002754/0.1263, allocations: 131.2 kB / 363.4 MB, free: 8.801 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001906/0.1265, allocations: 155.4 kB / 363.6 MB, free: 8.648 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002301/0.1268, allocations: 175.2 kB / 363.7 MB, free: 8.477 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.228e-05/0.1269, allocations: 40 kB / 363.8 MB, free: 8.438 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.277e-05/0.1269, allocations: 40 kB / 363.8 MB, free: 8.398 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001113/0.127, allocations: 83.69 kB / 363.9 MB, free: 8.316 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002054/0.1273, allocations: 171.2 kB / 364.1 MB, free: 8.148 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005004/0.1278, allocations: 458.4 kB / 364.5 MB, free: 7.699 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1278, allocations: 0 / 364.5 MB, free: 7.699 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1278, allocations: 0 / 364.5 MB, free: 7.699 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.495e-05/0.1278, allocations: 4 kB / 364.5 MB, free: 7.695 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.001467/0.1293, allocations: 0.673 MB / 365.2 MB, free: 6.965 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.1293, allocations: 8.031 kB / 365.2 MB, free: 6.957 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.012e-05/0.1294, allocations: 36.56 kB / 365.2 MB, free: 6.922 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004835/0.1299, allocations: 299.5 kB / 365.5 MB, free: 6.59 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.489e-05/0.13, allocations: 16.94 kB / 365.5 MB, free: 6.57 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.692e-05/0.13, allocations: 28.38 kB / 365.6 MB, free: 6.543 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007079/0.1307, allocations: 331.9 kB / 365.9 MB, free: 6.207 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.1307, allocations: 4 kB / 365.9 MB, free: 6.203 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.916e-05/0.1308, allocations: 8 kB / 365.9 MB, free: 6.195 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.727e-06/0.1308, allocations: 8 kB / 365.9 MB, free: 6.188 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007361/0.1315, allocations: 282.1 kB / 366.2 MB, free: 5.914 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00185/0.1334, allocations: 1.15 MB / 367.3 MB, free: 4.68 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008145/0.1342, allocations: 254.5 kB / 367.6 MB, free: 4.422 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003121/0.1346, allocations: 108.8 kB / 367.7 MB, free: 4.312 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.623e-05/0.1346, allocations: 0 / 367.7 MB, free: 4.312 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004506/0.135, allocations: 177.9 kB / 367.9 MB, free: 4.117 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 2.776e-06/0.1351, allocations: 4 kB / 367.9 MB, free: 4.113 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.002291/0.1374, allocations: 0.6739 MB / 368.6 MB, free: 3.414 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.163e-05/0.1375, allocations: 110.8 kB / 368.7 MB, free: 3.281 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002998/0.1378, allocations: 286.6 kB / 368.9 MB, free: 2.992 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.885e-05/0.1378, allocations: 25.7 kB / 369 MB, free: 2.961 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001488/0.138, allocations: 211.5 kB / 369.2 MB, free: 2.75 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.64e-05/0.138, allocations: 35.45 kB / 369.2 MB, free: 2.715 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.538e-05/0.1381, allocations: 57.84 kB / 369.3 MB, free: 2.648 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.1382, allocations: 330.8 kB / 369.6 MB, free: 2.316 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003335/0.1386, allocations: 108.4 kB / 369.7 MB, free: 2.211 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003991/0.139, allocations: 214.9 kB / 369.9 MB, free: 1.957 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006513/0.1397, allocations: 319.3 kB / 370.2 MB, free: 1.602 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.1397, allocations: 4 kB / 370.2 MB, free: 1.598 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001147/0.1408, allocations: 475.6 kB / 370.7 MB, free: 1.117 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.749e-05/0.1409, allocations: 37.7 kB / 370.7 MB, free: 1.074 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.447e-06/0.1409, allocations: 4 kB / 370.7 MB, free: 1.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003899/0.1413, allocations: 84.86 kB / 370.8 MB, free: 0.9844 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002154/0.1415, allocations: 55.89 kB / 370.9 MB, free: 0.9297 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1754/0.3169, allocations: 2.055 MB / 372.9 MB, free: 18.94 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004144/0.3174, allocations: 52.41 kB / 373 MB, free: 18.94 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.795e-05/0.3174, allocations: 15.48 kB / 373 MB, free: 18.94 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.0001578/0.3176, allocations: 151.3 kB / 373.1 MB, free: 18.83 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.209e-05/0.3176, allocations: 24.81 kB / 373.2 MB, free: 18.83 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.204e-05/0.3177, allocations: 33.86 kB / 373.2 MB, free: 18.82 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.3177, allocations: 2.047 kB / 373.2 MB, free: 18.82 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.726e-06/0.3177, allocations: 2.781 kB / 373.2 MB, free: 18.82 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.3177, allocations: 1.172 kB / 373.2 MB, free: 18.82 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002742/0.318, allocations: 323.6 kB / 373.5 MB, free: 18.63 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.318, allocations: 0.6562 kB / 373.5 MB, free: 18.63 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001421/0.3181, allocations: 21.17 kB / 373.5 MB, free: 18.63 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003417/0.3185, allocations: 82.5 kB / 373.6 MB, free: 18.62 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.891e-05/0.3185, allocations: 5.219 kB / 373.6 MB, free: 18.62 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002288/0.3208, allocations: 1.976 MB / 375.6 MB, free: 17.15 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/0.3208, allocations: 2.547 kB / 375.6 MB, free: 17.15 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001094/0.3219, allocations: 372.7 kB / 376 MB, free: 17.07 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.164e-05/0.322, allocations: 104.3 kB / 376.1 MB, free: 16.97 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.747e-05/0.3221, allocations: 10.5 kB / 376.1 MB, free: 16.97 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002369/0.3223, allocations: 30.69 kB / 376.1 MB, free: 16.97 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.355e-05/0.3224, allocations: 23.77 kB / 376.1 MB, free: 16.97 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/0.3224, allocations: 3.984 kB / 376.1 MB, free: 16.97 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002089/0.3226, allocations: 203.4 kB / 376.3 MB, free: 16.89 MB / 302.1 MB Notification: Performance of sort global known variables: time 3e-07/0.3226, allocations: 0 / 376.3 MB, free: 16.89 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004737/0.3231, allocations: 82.48 kB / 376.4 MB, free: 16.88 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.0001729/0.3233, allocations: 109.6 kB / 376.5 MB, free: 16.8 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001367/0.3247, allocations: 0.4946 MB / 377 MB, free: 16.62 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.3247, allocations: 1.031 kB / 377 MB, free: 16.62 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004849/0.3252, allocations: 241.3 kB / 377.2 MB, free: 16.48 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003332/0.3255, allocations: 44.09 kB / 377.3 MB, free: 16.46 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003123/0.3287, allocations: 0.9311 MB / 378.2 MB, free: 16.19 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002512/0.3289, allocations: 0.7544 MB / 379 MB, free: 15.49 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001646/0.3291, allocations: 32.42 kB / 379 MB, free: 15.48 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.517e-05/0.3292, allocations: 23.28 kB / 379 MB, free: 15.47 MB / 302.1 MB Notification: Performance of SimCode: time 7.82e-07/0.3292, allocations: 0 / 379 MB, free: 15.47 MB / 302.1 MB Notification: Performance of Templates: time 0.009128/0.3383, allocations: 4.115 MB / 383.1 MB, free: 15.21 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/NonInvertingAmplifier/NonInvertingAmplifier.csv","/var/lib/jenkins1/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