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.001097/0.001097, allocations: 110.3 kB / 17.75 MB, free: 5.355 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.001115/0.001115, allocations: 185.4 kB / 18.68 MB, free: 4.434 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.301/1.301, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009829/0.0009829, allocations: 39.94 kB / 352 MB, free: 3.223 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2216/0.2226, allocations: 49.43 MB / 401.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.003739/0.2264, allocations: 2.926 MB / 404.4 MB, free: 5.934 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001082/0.2275, allocations: 0.7323 MB / 405.1 MB, free: 5.195 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001257/0.2276, allocations: 4 kB / 405.1 MB, free: 5.191 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000148/0.2278, allocations: 47.5 kB / 405.1 MB, free: 5.145 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001867/0.228, allocations: 111.2 kB / 405.3 MB, free: 5.035 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000267/0.2282, allocations: 115.8 kB / 405.4 MB, free: 4.922 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003956/0.2286, allocations: 418.4 kB / 405.8 MB, free: 4.512 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002195/0.2289, allocations: 123.3 kB / 405.9 MB, free: 4.383 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001619/0.229, allocations: 155.4 kB / 406.1 MB, free: 4.23 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001981/0.2293, allocations: 171.3 kB / 406.2 MB, free: 4.062 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.924e-05/0.2293, allocations: 44 kB / 406.3 MB, free: 4.02 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.97e-05/0.2294, allocations: 40 kB / 406.3 MB, free: 3.98 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.488e-05/0.2295, allocations: 83.69 kB / 406.4 MB, free: 3.898 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001606/0.2296, allocations: 179.1 kB / 406.6 MB, free: 3.723 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003765/0.23, allocations: 451.6 kB / 407 MB, free: 3.285 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.23, allocations: 0 / 407 MB, free: 3.285 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2301, allocations: 0 / 407 MB, free: 3.285 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.107e-06/0.2301, allocations: 4 kB / 407 MB, free: 3.281 MB / 318.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.001234/0.2313, allocations: 0.6756 MB / 407.7 MB, free: 2.555 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.2314, allocations: 11.89 kB / 407.7 MB, free: 2.543 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.582e-05/0.2314, allocations: 36.47 kB / 407.7 MB, free: 2.508 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003567/0.2318, allocations: 299.6 kB / 408 MB, free: 2.176 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.334e-05/0.2318, allocations: 20.94 kB / 408 MB, free: 2.156 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.105e-05/0.2319, allocations: 24.31 kB / 408.1 MB, free: 2.133 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007196/0.2326, allocations: 332 kB / 408.4 MB, free: 1.801 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.2326, allocations: 0 / 408.4 MB, free: 1.801 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.125e-05/0.2327, allocations: 8 kB / 408.4 MB, free: 1.793 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.2327, allocations: 4 kB / 408.4 MB, free: 1.789 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008483/0.2335, allocations: 290 kB / 408.7 MB, free: 1.504 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001818/0.2354, allocations: 1.146 MB / 409.8 MB, free: 288 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008564/0.2362, allocations: 258.5 kB / 410.1 MB, free: 20 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003721/0.2366, allocations: 104.8 kB / 410.2 MB, free: 15.91 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.079e-05/0.2367, allocations: 4 kB / 410.2 MB, free: 15.91 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005063/0.2372, allocations: 185.8 kB / 410.4 MB, free: 15.71 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.563e-06/0.2372, allocations: 0 / 410.4 MB, free: 15.71 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.002444/0.2396, allocations: 0.67 MB / 411 MB, free: 15.01 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.454e-05/0.2397, allocations: 106.8 kB / 411.1 MB, free: 14.88 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002808/0.24, allocations: 286.6 kB / 411.4 MB, free: 14.59 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.708e-05/0.24, allocations: 29.7 kB / 411.5 MB, free: 14.56 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/0.2402, allocations: 199.7 kB / 411.6 MB, free: 14.36 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.077e-05/0.2402, allocations: 51.28 kB / 411.7 MB, free: 14.31 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.827e-05/0.2403, allocations: 49.94 kB / 411.7 MB, free: 14.25 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.2404, allocations: 330.8 kB / 412.1 MB, free: 13.92 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003735/0.2408, allocations: 108.2 kB / 412.2 MB, free: 13.81 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004135/0.2412, allocations: 209.3 kB / 412.4 MB, free: 13.56 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007321/0.242, allocations: 324.6 kB / 412.7 MB, free: 13.2 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.242, allocations: 0 / 412.7 MB, free: 13.2 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001283/0.2433, allocations: 490.2 kB / 413.2 MB, free: 12.7 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.062e-05/0.2433, allocations: 33.7 kB / 413.2 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.2433, allocations: 4 kB / 413.2 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003701/0.2437, allocations: 84.86 kB / 413.3 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002211/0.2439, allocations: 47.91 kB / 413.3 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002843/0.2468, allocations: 2.056 MB / 415.4 MB, free: 10.33 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003431/0.2471, allocations: 47.72 kB / 415.4 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.514e-05/0.2472, allocations: 24 kB / 415.5 MB, free: 10.26 MB / 334.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.0001434/0.2473, allocations: 157.9 kB / 415.6 MB, free: 10.1 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.092e-05/0.2474, allocations: 23.84 kB / 415.6 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.872e-05/0.2474, allocations: 29.77 kB / 415.7 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.2474, allocations: 8 kB / 415.7 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.2474, allocations: 3.938 kB / 415.7 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.924e-05/0.2475, allocations: 100.8 kB / 415.8 MB, free: 9.91 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.486e-05/0.2476, allocations: 11.94 kB / 415.8 MB, free: 9.898 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000269/0.2478, allocations: 27.97 kB / 415.8 MB, free: 9.871 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.811e-05/0.2479, allocations: 27.91 kB / 415.8 MB, free: 9.844 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001384/0.2493, allocations: 441.4 kB / 416.3 MB, free: 9.402 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001094/0.2504, allocations: 0.5061 MB / 416.8 MB, free: 8.879 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003394/0.2508, allocations: 104 kB / 416.9 MB, free: 8.777 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001846/0.251, allocations: 209.9 kB / 417.1 MB, free: 8.574 MB / 334.1 MB Notification: Performance of Backend: time 5.21e-07/0.251, allocations: 0 / 417.1 MB, free: 8.574 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001298/0.2523, allocations: 499.5 kB / 417.6 MB, free: 8.059 MB / 334.1 MB Notification: Performance of SimCode: time 0.0009548/0.2532, allocations: 0.9367 MB / 418.5 MB, free: 7.066 MB / 334.1 MB Notification: Performance of Templates: time 0.007906/0.2612, allocations: 4.206 MB / 422.7 MB, free: 2.902 MB / 334.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/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_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches