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.001109/0.001109, allocations: 113.2 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001253/0.001254, allocations: 206.7 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.326/1.326, allocations: 227.4 MB / 247.6 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001156/0.001156, allocations: 67.89 kB / 359.4 MB, free: 12.85 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2294/0.2306, allocations: 50.54 MB / 410 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.003734/0.2343, allocations: 2.948 MB / 412.9 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001184/0.2355, allocations: 0.748 MB / 413.7 MB, free: 13.85 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000174/0.2357, allocations: 7.938 kB / 413.7 MB, free: 13.84 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001572/0.2359, allocations: 51.5 kB / 413.7 MB, free: 13.79 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001943/0.2361, allocations: 103.2 kB / 413.8 MB, free: 13.69 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002812/0.2364, allocations: 119.8 kB / 413.9 MB, free: 13.57 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004326/0.2368, allocations: 422.4 kB / 414.4 MB, free: 13.16 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002608/0.2371, allocations: 127.2 kB / 414.5 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001673/0.2373, allocations: 155.4 kB / 414.6 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000202/0.2375, allocations: 183.2 kB / 414.8 MB, free: 12.69 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.421e-05/0.2376, allocations: 40 kB / 414.8 MB, free: 12.65 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.119e-05/0.2376, allocations: 40 kB / 414.9 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.648e-05/0.2377, allocations: 83.69 kB / 415 MB, free: 12.53 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001493/0.2378, allocations: 171.2 kB / 415.1 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003968/0.2383, allocations: 447.6 kB / 415.6 MB, free: 11.93 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.2383, allocations: 8 kB / 415.6 MB, free: 11.92 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2383, allocations: 0 / 415.6 MB, free: 11.92 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.2383, allocations: 0 / 415.6 MB, free: 11.92 MB / 334.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.001246/0.2395, allocations: 0.6731 MB / 416.3 MB, free: 11.2 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.2396, allocations: 8.031 kB / 416.3 MB, free: 11.19 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.017e-05/0.2397, allocations: 40.45 kB / 416.3 MB, free: 11.15 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003837/0.2401, allocations: 303.6 kB / 416.6 MB, free: 10.81 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.207e-05/0.2401, allocations: 12.94 kB / 416.6 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.89e-05/0.2402, allocations: 32.34 kB / 416.6 MB, free: 10.77 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007146/0.2409, allocations: 335.9 kB / 417 MB, free: 10.43 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.341e-05/0.2409, allocations: 0 / 417 MB, free: 10.43 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.001e-05/0.2409, allocations: 8 kB / 417 MB, free: 10.42 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.241, allocations: 8 kB / 417 MB, free: 10.41 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008118/0.2418, allocations: 286 kB / 417.3 MB, free: 10.13 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001756/0.2435, allocations: 1.143 MB / 418.4 MB, free: 8.91 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008389/0.2444, allocations: 246.5 kB / 418.6 MB, free: 8.66 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003322/0.2447, allocations: 108.8 kB / 418.8 MB, free: 8.551 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.301e-05/0.2448, allocations: 7.984 kB / 418.8 MB, free: 8.543 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004721/0.2452, allocations: 177.9 kB / 418.9 MB, free: 8.348 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.693e-06/0.2453, allocations: 3.938 kB / 418.9 MB, free: 8.344 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.00236/0.2476, allocations: 0.6742 MB / 419.6 MB, free: 7.645 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.186e-05/0.2477, allocations: 106.8 kB / 419.7 MB, free: 7.516 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002916/0.248, allocations: 286.6 kB / 420 MB, free: 7.23 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.522e-05/0.248, allocations: 33.7 kB / 420 MB, free: 7.191 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/0.2482, allocations: 199.6 kB / 420.2 MB, free: 6.992 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.648e-05/0.2482, allocations: 47.38 kB / 420.3 MB, free: 6.945 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.789e-05/0.2483, allocations: 49.94 kB / 420.3 MB, free: 6.887 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.2484, allocations: 330.8 kB / 420.6 MB, free: 6.555 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003582/0.2488, allocations: 112.2 kB / 420.8 MB, free: 6.445 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004335/0.2492, allocations: 213.5 kB / 421 MB, free: 6.191 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007207/0.25, allocations: 316.6 kB / 421.3 MB, free: 5.836 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.25, allocations: 3.938 kB / 421.3 MB, free: 5.832 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001244/0.2512, allocations: 483.6 kB / 421.7 MB, free: 5.344 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.41e-05/0.2513, allocations: 33.7 kB / 421.8 MB, free: 5.305 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.2513, allocations: 4 kB / 421.8 MB, free: 5.301 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003621/0.2517, allocations: 88.8 kB / 421.9 MB, free: 5.211 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002103/0.2519, allocations: 51.89 kB / 421.9 MB, free: 5.16 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002767/0.2547, allocations: 2.06 MB / 424 MB, free: 2.961 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003141/0.255, allocations: 59.89 kB / 424 MB, free: 2.902 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.368e-05/0.255, allocations: 16 kB / 424.1 MB, free: 2.887 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.0001342/0.2552, allocations: 149.7 kB / 424.2 MB, free: 2.73 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.481e-05/0.2552, allocations: 23.72 kB / 424.2 MB, free: 2.707 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.143e-05/0.2553, allocations: 29.83 kB / 424.3 MB, free: 2.668 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.2553, allocations: 0 / 424.3 MB, free: 2.668 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2553, allocations: 0 / 424.3 MB, free: 2.668 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.386e-05/0.2553, allocations: 104.8 kB / 424.4 MB, free: 2.547 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.135e-05/0.2554, allocations: 11.94 kB / 424.4 MB, free: 2.535 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002427/0.2556, allocations: 35.89 kB / 424.4 MB, free: 2.5 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.223e-05/0.2557, allocations: 19.97 kB / 424.4 MB, free: 2.48 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001335/0.257, allocations: 441.4 kB / 424.9 MB, free: 2.039 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001081/0.2581, allocations: 0.5126 MB / 425.4 MB, free: 1.512 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003246/0.2585, allocations: 99.97 kB / 425.5 MB, free: 1.414 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000177/0.2587, allocations: 201.9 kB / 425.7 MB, free: 1.219 MB / 334.1 MB Notification: Performance of Backend: time 3.21e-07/0.2587, allocations: 0 / 425.7 MB, free: 1.219 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001263/0.2599, allocations: 496.2 kB / 426.1 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of SimCode: time 0.0009531/0.2609, allocations: 0.9498 MB / 427.1 MB, free: 15.71 MB / 350.1 MB Notification: Performance of Templates: time 0.007434/0.2683, allocations: 4.226 MB / 431.3 MB, free: 11.52 MB / 350.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/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