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.001032/0.001032, allocations: 112.2 kB / 17.74 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.00106/0.00106, allocations: 187.1 kB / 18.67 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.263/1.263, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001006/0.001006, allocations: 51.92 kB / 352 MB, free: 3.242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2521/0.2531, allocations: 49.43 MB / 401.4 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.003835/0.2569, allocations: 2.944 MB / 404.4 MB, free: 5.93 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001104/0.2581, allocations: 0.7284 MB / 405.1 MB, free: 5.195 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001291/0.2582, allocations: 4 kB / 405.1 MB, free: 5.191 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001718/0.2584, allocations: 47.5 kB / 405.2 MB, free: 5.145 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000191/0.2586, allocations: 103.2 kB / 405.3 MB, free: 5.043 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002865/0.2589, allocations: 115.8 kB / 405.4 MB, free: 4.93 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004058/0.2593, allocations: 418.4 kB / 405.8 MB, free: 4.52 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002289/0.2595, allocations: 119.3 kB / 405.9 MB, free: 4.395 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001737/0.2597, allocations: 155.4 kB / 406 MB, free: 4.242 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002033/0.2599, allocations: 183.3 kB / 406.2 MB, free: 4.062 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.77e-05/0.26, allocations: 40 kB / 406.3 MB, free: 4.023 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.95e-05/0.2601, allocations: 43.94 kB / 406.3 MB, free: 3.98 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.53e-05/0.2602, allocations: 79.7 kB / 406.4 MB, free: 3.902 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001621/0.2603, allocations: 179.1 kB / 406.6 MB, free: 3.727 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003972/0.2607, allocations: 451.6 kB / 407 MB, free: 3.289 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2607, allocations: 0 / 407 MB, free: 3.289 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2607, allocations: 0 / 407 MB, free: 3.289 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.039e-05/0.2608, allocations: 0 / 407 MB, free: 3.289 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.001166/0.2619, allocations: 0.6731 MB / 407.7 MB, free: 2.562 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.145e-05/0.262, allocations: 11.89 kB / 407.7 MB, free: 2.551 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.047e-05/0.262, allocations: 36.47 kB / 407.7 MB, free: 2.516 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003675/0.2624, allocations: 299.7 kB / 408 MB, free: 2.184 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.939e-05/0.2625, allocations: 20.88 kB / 408 MB, free: 2.164 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.994e-05/0.2625, allocations: 24.38 kB / 408.1 MB, free: 2.141 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006585/0.2632, allocations: 328 kB / 408.4 MB, free: 1.812 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.2632, allocations: 0 / 408.4 MB, free: 1.812 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.975e-05/0.2632, allocations: 12 kB / 408.4 MB, free: 1.801 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.236e-05/0.2632, allocations: 8 kB / 408.4 MB, free: 1.793 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007294/0.264, allocations: 286 kB / 408.7 MB, free: 1.512 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001656/0.2656, allocations: 1.146 MB / 409.8 MB, free: 296 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007506/0.2664, allocations: 250.5 kB / 410.1 MB, free: 36 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000315/0.2667, allocations: 108.8 kB / 410.2 MB, free: 15.93 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.2668, allocations: 4 kB / 410.2 MB, free: 15.92 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004354/0.2672, allocations: 181.8 kB / 410.4 MB, free: 15.72 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.402e-06/0.2672, allocations: 4 kB / 410.4 MB, free: 15.72 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.002086/0.2693, allocations: 0.6628 MB / 411 MB, free: 15.03 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.378e-05/0.2694, allocations: 106.8 kB / 411.1 MB, free: 14.9 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002794/0.2697, allocations: 286.6 kB / 411.4 MB, free: 14.61 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.284e-05/0.2697, allocations: 29.7 kB / 411.4 MB, free: 14.57 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001182/0.2698, allocations: 199.7 kB / 411.6 MB, free: 14.38 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.49e-05/0.2699, allocations: 43.3 kB / 411.7 MB, free: 14.33 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.178e-05/0.2699, allocations: 53.94 kB / 411.7 MB, free: 14.27 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.2701, allocations: 334.8 kB / 412 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003203/0.2704, allocations: 108.2 kB / 412.2 MB, free: 13.82 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003665/0.2708, allocations: 209.3 kB / 412.4 MB, free: 13.57 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006493/0.2714, allocations: 324.6 kB / 412.7 MB, free: 13.21 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.2714, allocations: 4 kB / 412.7 MB, free: 13.21 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001122/0.2726, allocations: 483.5 kB / 413.2 MB, free: 12.72 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.351e-05/0.2726, allocations: 36.52 kB / 413.2 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.2726, allocations: 7.984 kB / 413.2 MB, free: 12.67 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003326/0.273, allocations: 80.8 kB / 413.3 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001988/0.2732, allocations: 59.97 kB / 413.3 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002797/0.276, allocations: 2.06 MB / 415.4 MB, free: 10.33 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003421/0.2763, allocations: 51.72 kB / 415.4 MB, free: 10.28 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.687e-05/0.2764, allocations: 12.2 kB / 415.5 MB, free: 10.27 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.0001849/0.2766, allocations: 157.7 kB / 415.6 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.165e-05/0.2766, allocations: 27.66 kB / 415.6 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.492e-05/0.2767, allocations: 33.77 kB / 415.7 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.2767, allocations: 0 / 415.7 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.2767, allocations: 0 / 415.7 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.2767, allocations: 0 / 415.7 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003467/0.2771, allocations: 325.4 kB / 416 MB, free: 9.672 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.2771, allocations: 0 / 416 MB, free: 9.672 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001405/0.2772, allocations: 23.97 kB / 416 MB, free: 9.648 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002638/0.2775, allocations: 88.95 kB / 416.1 MB, free: 9.559 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/0.2775, allocations: 4 kB / 416.1 MB, free: 9.555 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002225/0.2797, allocations: 1.986 MB / 418.1 MB, free: 7.43 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2798, allocations: 0 / 418.1 MB, free: 7.43 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009576/0.2807, allocations: 363.6 kB / 418.4 MB, free: 7.055 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.363e-05/0.2808, allocations: 100.8 kB / 418.5 MB, free: 6.938 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.437e-05/0.2808, allocations: 12 kB / 418.6 MB, free: 6.926 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000234/0.2811, allocations: 35.89 kB / 418.6 MB, free: 6.891 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.439e-05/0.2812, allocations: 15.98 kB / 418.6 MB, free: 6.875 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.379e-05/0.2812, allocations: 7.984 kB / 418.6 MB, free: 6.867 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001861/0.2814, allocations: 198 kB / 418.8 MB, free: 6.676 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2814, allocations: 0 / 418.8 MB, free: 6.676 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003965/0.2818, allocations: 83.84 kB / 418.9 MB, free: 6.594 MB / 334.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.0001233/0.2819, allocations: 107.2 kB / 419 MB, free: 6.477 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001205/0.2831, allocations: 0.4944 MB / 419.5 MB, free: 5.957 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.2831, allocations: 0 / 419.5 MB, free: 5.957 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004519/0.2836, allocations: 238.5 kB / 419.7 MB, free: 5.711 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003151/0.2839, allocations: 60.2 kB / 419.8 MB, free: 5.652 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002691/0.2866, allocations: 0.9543 MB / 420.7 MB, free: 4.668 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003067/0.2869, allocations: 0.7558 MB / 421.5 MB, free: 3.883 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.63e-05/0.287, allocations: 23.44 kB / 421.5 MB, free: 3.859 MB / 334.1 MB Notification: Performance of SimCode: time 2.1e-07/0.287, allocations: 0 / 421.5 MB, free: 3.859 MB / 334.1 MB Notification: Performance of Templates: time 0.00643/0.2935, allocations: 4.786 MB / 426.3 MB, free: 15.09 MB / 350.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