Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.OpAmps.NonInvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|buffer.opAmp.out.v|buffer.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001321/0.001322, allocations: 100.9 kB / 16.5 MB, free: 6.648 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.001275/0.001275, allocations: 194.4 kB / 17.42 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 222.9 MB / 241.1 MB, free: 13.69 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001007/0.001007, allocations: 47.67 kB / 300 MB, free: 6.055 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08258/0.0836, allocations: 49.45 MB / 349.4 MB, free: 4.598 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.004645/0.08828, allocations: 2.97 MB / 352.4 MB, free: 1.605 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00143/0.08975, allocations: 0.7286 MB / 353.1 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002272/0.09, allocations: 7.938 kB / 353.1 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001729/0.09019, allocations: 35.75 kB / 353.2 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002175/0.09044, allocations: 87.31 kB / 353.2 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003502/0.0908, allocations: 99.91 kB / 353.3 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004946/0.0913, allocations: 386.4 kB / 353.7 MB, free: 272 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002846/0.0916, allocations: 115.8 kB / 353.8 MB, free: 156 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002589/0.09186, allocations: 135.4 kB / 354 MB, free: 20 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002823/0.09215, allocations: 155.4 kB / 354.1 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.085e-05/0.09223, allocations: 20 kB / 354.1 MB, free: 15.84 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.135e-05/0.09232, allocations: 24 kB / 354.2 MB, free: 15.82 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.914e-05/0.09241, allocations: 67.59 kB / 354.2 MB, free: 15.76 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001764/0.09259, allocations: 155.1 kB / 354.4 MB, free: 15.61 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003815/0.09298, allocations: 438.7 kB / 354.8 MB, free: 15.18 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.09299, allocations: 4 kB / 354.8 MB, free: 15.17 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.22e-07/0.093, allocations: 0 / 354.8 MB, free: 15.17 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.063e-05/0.09302, allocations: 0 / 354.8 MB, free: 15.17 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.001367/0.09439, allocations: 0.677 MB / 355.5 MB, free: 14.44 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.09444, allocations: 8.031 kB / 355.5 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.629e-05/0.09454, allocations: 36.56 kB / 355.5 MB, free: 14.39 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000355/0.0949, allocations: 299.5 kB / 355.8 MB, free: 14.06 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.191e-05/0.09493, allocations: 16.94 kB / 355.8 MB, free: 14.04 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.911e-05/0.09498, allocations: 24.38 kB / 355.9 MB, free: 14.02 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007547/0.09574, allocations: 328 kB / 356.2 MB, free: 13.69 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.09576, allocations: 0 / 356.2 MB, free: 13.69 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.552e-05/0.0958, allocations: 16 kB / 356.2 MB, free: 13.68 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/0.09582, allocations: 7.938 kB / 356.2 MB, free: 13.67 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007803/0.09661, allocations: 294 kB / 356.5 MB, free: 13.38 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001815/0.09843, allocations: 1.143 MB / 357.6 MB, free: 12.16 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008076/0.09925, allocations: 258.5 kB / 357.9 MB, free: 11.9 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003174/0.09958, allocations: 100.8 kB / 358 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.652e-05/0.09962, allocations: 4 kB / 358 MB, free: 11.79 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005322/0.1002, allocations: 182.4 kB / 358.2 MB, free: 11.59 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.532e-06/0.1002, allocations: 0 / 358.2 MB, free: 11.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.00222/0.1024, allocations: 0.6648 MB / 358.8 MB, free: 10.9 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.213e-05/0.1025, allocations: 114.8 kB / 358.9 MB, free: 10.77 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002997/0.1028, allocations: 286.6 kB / 359.2 MB, free: 10.48 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.371e-05/0.1028, allocations: 25.7 kB / 359.2 MB, free: 10.45 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001281/0.103, allocations: 203.5 kB / 359.4 MB, free: 10.24 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.791e-05/0.103, allocations: 43.44 kB / 359.5 MB, free: 10.2 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.551e-05/0.1031, allocations: 57.84 kB / 359.5 MB, free: 10.13 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.1032, allocations: 334.8 kB / 359.9 MB, free: 9.797 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003485/0.1036, allocations: 108.2 kB / 360 MB, free: 9.691 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003961/0.104, allocations: 205.2 kB / 360.2 MB, free: 9.445 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007156/0.1047, allocations: 324.6 kB / 360.5 MB, free: 9.082 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.1047, allocations: 0 / 360.5 MB, free: 9.082 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001212/0.1059, allocations: 486.4 kB / 361 MB, free: 8.598 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.273e-05/0.106, allocations: 37.7 kB / 361 MB, free: 8.555 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.106, allocations: 4 kB / 361 MB, free: 8.551 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003575/0.1064, allocations: 88.8 kB / 361.1 MB, free: 8.461 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001996/0.1066, allocations: 43.97 kB / 361.1 MB, free: 8.418 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002589/0.1092, allocations: 1.873 MB / 363 MB, free: 6.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003211/0.1095, allocations: 51.73 kB / 363.1 MB, free: 6.359 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.49e-05/0.1096, allocations: 12 kB / 363.1 MB, free: 6.348 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.0001562/0.1097, allocations: 153.8 kB / 363.2 MB, free: 6.188 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.033e-05/0.1098, allocations: 27.78 kB / 363.2 MB, free: 6.16 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.17e-05/0.1098, allocations: 25.83 kB / 363.3 MB, free: 6.133 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.1098, allocations: 4.219 kB / 363.3 MB, free: 6.129 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.1098, allocations: 0 / 363.3 MB, free: 6.129 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1098, allocations: 3.938 kB / 363.3 MB, free: 6.125 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003103/0.1102, allocations: 333.2 kB / 363.6 MB, free: 5.75 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.1102, allocations: 0 / 363.6 MB, free: 5.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000136/0.1103, allocations: 19.97 kB / 363.6 MB, free: 5.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002743/0.1106, allocations: 84.8 kB / 363.7 MB, free: 5.645 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.646e-05/0.1106, allocations: 4 kB / 363.7 MB, free: 5.641 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002193/0.1128, allocations: 1.787 MB / 365.5 MB, free: 3.723 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1128, allocations: 0 / 365.5 MB, free: 3.723 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001035/0.1139, allocations: 369.5 kB / 365.9 MB, free: 3.34 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.601e-05/0.114, allocations: 104.8 kB / 366 MB, free: 3.219 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.928e-05/0.114, allocations: 4 kB / 366 MB, free: 3.215 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000255/0.1143, allocations: 35.95 kB / 366 MB, free: 3.18 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.947e-05/0.1144, allocations: 23.97 kB / 366 MB, free: 3.156 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.145e-05/0.1144, allocations: 0 / 366 MB, free: 3.156 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001952/0.1146, allocations: 206 kB / 366.2 MB, free: 2.957 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.543e-06/0.1146, allocations: 0 / 366.2 MB, free: 2.957 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004077/0.115, allocations: 83.72 kB / 366.3 MB, free: 2.875 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.0001338/0.1151, allocations: 111.2 kB / 366.4 MB, free: 2.754 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001235/0.1164, allocations: 0.4929 MB / 366.9 MB, free: 2.238 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.1164, allocations: 4 kB / 366.9 MB, free: 2.234 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004918/0.1169, allocations: 243.2 kB / 367.2 MB, free: 1.984 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003345/0.1172, allocations: 44.42 kB / 367.2 MB, free: 1.941 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003062/0.1203, allocations: 1.022 MB / 368.2 MB, free: 0.8867 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003829/0.1207, allocations: 0.7521 MB / 369 MB, free: 112 kB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001238/0.1208, allocations: 30.28 kB / 369 MB, free: 84 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.993e-05/0.1209, allocations: 23.44 kB / 369 MB, free: 60 kB / 302.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1209, allocations: 0 / 369 MB, free: 60 kB / 302.1 MB Notification: Performance of Templates: time 0.1599/0.2808, allocations: 3.75 MB / 372.8 MB, free: 24.82 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches