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.001148/0.001148, allocations: 111.9 kB / 17.74 MB, free: 5.359 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.001895/0.001895, allocations: 189.5 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.379/1.379, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001066/0.001066, allocations: 47.92 kB / 352 MB, free: 3.238 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.279/0.2801, 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.003915/0.284, allocations: 2.934 MB / 404.4 MB, free: 5.938 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00121/0.2853, allocations: 0.7246 MB / 405.1 MB, free: 5.207 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001352/0.2854, allocations: 4 kB / 405.1 MB, free: 5.203 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001638/0.2856, allocations: 47.5 kB / 405.1 MB, free: 5.156 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001947/0.2858, allocations: 107.2 kB / 405.2 MB, free: 5.051 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002879/0.2861, allocations: 111.8 kB / 405.4 MB, free: 4.941 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004175/0.2865, allocations: 422.4 kB / 405.8 MB, free: 4.527 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002349/0.2868, allocations: 123.3 kB / 405.9 MB, free: 4.398 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001778/0.2869, allocations: 163.3 kB / 406 MB, free: 4.238 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002078/0.2872, allocations: 163.4 kB / 406.2 MB, free: 4.078 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.656e-05/0.2872, allocations: 40 kB / 406.2 MB, free: 4.039 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.825e-05/0.2873, allocations: 43.94 kB / 406.3 MB, free: 3.996 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.745e-05/0.2874, allocations: 79.75 kB / 406.4 MB, free: 3.918 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001576/0.2875, allocations: 179.1 kB / 406.5 MB, free: 3.742 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004096/0.288, allocations: 447.6 kB / 407 MB, free: 3.309 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.288, allocations: 8 kB / 407 MB, free: 3.301 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.288, allocations: 0 / 407 MB, free: 3.301 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.288, allocations: 0 / 407 MB, free: 3.301 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.001222/0.2892, allocations: 0.6678 MB / 407.7 MB, free: 2.582 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.2893, allocations: 19.83 kB / 407.7 MB, free: 2.562 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.144e-05/0.2894, allocations: 40.47 kB / 407.7 MB, free: 2.523 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003827/0.2898, allocations: 299.6 kB / 408 MB, free: 2.191 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.27e-05/0.2898, allocations: 16.94 kB / 408 MB, free: 2.176 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.924e-05/0.2898, allocations: 28.36 kB / 408 MB, free: 2.148 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006665/0.2905, allocations: 328 kB / 408.4 MB, free: 1.82 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.2905, allocations: 4 kB / 408.4 MB, free: 1.816 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.01e-05/0.2906, allocations: 12 kB / 408.4 MB, free: 1.805 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.689e-06/0.2906, allocations: 4 kB / 408.4 MB, free: 1.801 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007619/0.2914, allocations: 290 kB / 408.7 MB, free: 1.516 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001777/0.2931, allocations: 1.15 MB / 409.8 MB, free: 296 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007985/0.294, allocations: 242.6 kB / 410.1 MB, free: 44 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003344/0.2943, allocations: 112.7 kB / 410.2 MB, free: 15.93 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.432e-05/0.2943, allocations: 0 / 410.2 MB, free: 15.93 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004432/0.2948, allocations: 184.7 kB / 410.3 MB, free: 15.73 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.212e-06/0.2948, allocations: 0 / 410.3 MB, free: 15.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.002173/0.297, allocations: 0.6667 MB / 411 MB, free: 15.04 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.469e-05/0.2971, allocations: 106.8 kB / 411.1 MB, free: 14.91 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002872/0.2974, allocations: 290.5 kB / 411.4 MB, free: 14.61 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.809e-05/0.2974, allocations: 29.7 kB / 411.4 MB, free: 14.58 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/0.2975, allocations: 195.7 kB / 411.6 MB, free: 14.38 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.77e-05/0.2976, allocations: 51.3 kB / 411.7 MB, free: 14.33 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.724e-05/0.2977, allocations: 53.94 kB / 411.7 MB, free: 14.27 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.2978, allocations: 330.8 kB / 412.1 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003235/0.2981, allocations: 104.2 kB / 412.2 MB, free: 13.83 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003856/0.2985, allocations: 217.2 kB / 412.4 MB, free: 13.57 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006632/0.2992, allocations: 324.6 kB / 412.7 MB, free: 13.21 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.2992, allocations: 0 / 412.7 MB, free: 13.21 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001179/0.3004, allocations: 485.9 kB / 413.2 MB, free: 12.72 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.924e-05/0.3005, allocations: 37.69 kB / 413.2 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.3005, allocations: 0 / 413.2 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003755/0.3008, allocations: 88.86 kB / 413.3 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002041/0.3011, allocations: 47.91 kB / 413.3 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002753/0.3038, allocations: 2.064 MB / 415.4 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003228/0.3042, allocations: 47.94 kB / 415.4 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.147e-05/0.3042, allocations: 16 kB / 415.5 MB, free: 10.28 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.0001642/0.3044, allocations: 161.6 kB / 415.6 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.752e-05/0.3044, allocations: 23.72 kB / 415.6 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.829e-05/0.3045, allocations: 25.83 kB / 415.7 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.165e-06/0.3045, allocations: 4 kB / 415.7 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.3045, allocations: 0 / 415.7 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.3045, allocations: 3.984 kB / 415.7 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002935/0.3048, allocations: 329.3 kB / 416 MB, free: 9.676 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3048, allocations: 0 / 416 MB, free: 9.676 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001336/0.3049, allocations: 27.97 kB / 416 MB, free: 9.648 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002653/0.3052, allocations: 80.8 kB / 416.1 MB, free: 9.566 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.3052, allocations: 0 / 416.1 MB, free: 9.566 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002268/0.3075, allocations: 1.99 MB / 418.1 MB, free: 7.438 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3075, allocations: 3.938 kB / 418.1 MB, free: 7.434 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000954/0.3085, allocations: 364.5 kB / 418.4 MB, free: 7.059 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.556e-05/0.3086, allocations: 108.8 kB / 418.5 MB, free: 6.934 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.702e-05/0.3086, allocations: 4 kB / 418.6 MB, free: 6.93 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002329/0.3089, allocations: 31.91 kB / 418.6 MB, free: 6.898 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.254e-05/0.3089, allocations: 23.97 kB / 418.6 MB, free: 6.875 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/0.309, allocations: 4 kB / 418.6 MB, free: 6.871 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001856/0.3091, allocations: 202 kB / 418.8 MB, free: 6.676 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3092, allocations: 4 kB / 418.8 MB, free: 6.672 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003975/0.3096, allocations: 75.84 kB / 418.9 MB, free: 6.598 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.0001432/0.3097, allocations: 103.2 kB / 419 MB, free: 6.484 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001179/0.3109, allocations: 0.497 MB / 419.5 MB, free: 5.965 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3109, allocations: 0 / 419.5 MB, free: 5.965 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004549/0.3114, allocations: 242.4 kB / 419.7 MB, free: 5.715 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003352/0.3117, allocations: 49.11 kB / 419.8 MB, free: 5.664 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002776/0.3145, allocations: 0.9621 MB / 420.7 MB, free: 4.672 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003231/0.3148, allocations: 0.7557 MB / 421.5 MB, free: 3.887 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.283e-05/0.3149, allocations: 23.44 kB / 421.5 MB, free: 3.863 MB / 334.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3149, allocations: 0 / 421.5 MB, free: 3.863 MB / 334.1 MB Notification: Performance of Templates: time 0.006767/0.3217, allocations: 4.818 MB / 426.3 MB, free: 15.06 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