Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.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.InvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|gain.opAmp.out.v|gain.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|gain.opAmp.out.v|gain.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 110.9 kB / 17.75 MB, free: 5.332 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.001356/0.001356, allocations: 190.6 kB / 18.68 MB, free: 4.406 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.501/1.501, allocations: 222.9 MB / 242.4 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00167/0.00167, allocations: 55.92 kB / 352 MB, free: 3.227 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2571/0.2588, allocations: 49.43 MB / 401.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier): time 0.003687/0.2625, allocations: 2.936 MB / 404.4 MB, free: 5.93 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001033/0.2636, allocations: 0.7245 MB / 405.1 MB, free: 5.199 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001191/0.2637, allocations: 11.94 kB / 405.1 MB, free: 5.188 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001439/0.2639, allocations: 51.56 kB / 405.2 MB, free: 5.137 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001751/0.2641, allocations: 99.12 kB / 405.3 MB, free: 5.039 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002662/0.2643, allocations: 119.8 kB / 405.4 MB, free: 4.922 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003697/0.2647, allocations: 410.5 kB / 405.8 MB, free: 4.52 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002063/0.2649, allocations: 131.2 kB / 405.9 MB, free: 4.383 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001641/0.2651, allocations: 159.4 kB / 406.1 MB, free: 4.227 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001815/0.2653, allocations: 179.2 kB / 406.2 MB, free: 4.051 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.44e-05/0.2654, allocations: 40 kB / 406.3 MB, free: 4.012 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.208e-05/0.2654, allocations: 40 kB / 406.3 MB, free: 3.973 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.707e-05/0.2655, allocations: 79.75 kB / 406.4 MB, free: 3.895 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001562/0.2657, allocations: 171.1 kB / 406.6 MB, free: 3.727 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003891/0.2661, allocations: 459.6 kB / 407 MB, free: 3.281 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.2661, allocations: 0 / 407 MB, free: 3.281 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2661, allocations: 0 / 407 MB, free: 3.281 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.2661, allocations: 0 / 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.001253/0.2673, allocations: 0.677 MB / 407.7 MB, free: 2.551 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.2674, allocations: 11.89 kB / 407.7 MB, free: 2.539 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.783e-05/0.2675, allocations: 36.47 kB / 407.7 MB, free: 2.504 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003781/0.2679, allocations: 295.7 kB / 408 MB, free: 2.176 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.741e-05/0.2679, allocations: 16.94 kB / 408 MB, free: 2.16 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.275e-05/0.2679, allocations: 24.38 kB / 408.1 MB, free: 2.137 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007169/0.2687, allocations: 331.9 kB / 408.4 MB, free: 1.805 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.2687, allocations: 3.984 kB / 408.4 MB, free: 1.801 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.04e-05/0.2687, allocations: 12 kB / 408.4 MB, free: 1.789 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.2687, allocations: 4 kB / 408.4 MB, free: 1.785 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008142/0.2696, allocations: 286.1 kB / 408.7 MB, free: 1.504 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001779/0.2713, allocations: 1.15 MB / 409.8 MB, free: 284 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008213/0.2722, allocations: 250.5 kB / 410.1 MB, free: 24 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003534/0.2725, allocations: 108.8 kB / 410.2 MB, free: 15.91 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.984e-05/0.2726, allocations: 4 kB / 410.2 MB, free: 15.91 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004457/0.273, allocations: 177.9 kB / 410.4 MB, free: 15.71 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.613e-06/0.273, allocations: 0 / 410.4 MB, free: 15.71 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.002292/0.2753, allocations: 0.661 MB / 411 MB, free: 15.03 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.626e-05/0.2754, allocations: 110.8 kB / 411.1 MB, free: 14.89 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002726/0.2757, allocations: 282.7 kB / 411.4 MB, free: 14.61 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.559e-05/0.2757, allocations: 29.7 kB / 411.4 MB, free: 14.57 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001201/0.2759, allocations: 199.6 kB / 411.6 MB, free: 14.38 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.71e-05/0.2759, allocations: 47.38 kB / 411.7 MB, free: 14.33 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.589e-05/0.276, allocations: 49.94 kB / 411.7 MB, free: 14.27 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.2761, allocations: 338.8 kB / 412.1 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003599/0.2765, allocations: 104.4 kB / 412.2 MB, free: 13.82 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004048/0.2769, allocations: 205.6 kB / 412.4 MB, free: 13.58 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007154/0.2776, allocations: 319.6 kB / 412.7 MB, free: 13.23 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.2776, allocations: 0 / 412.7 MB, free: 13.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001255/0.2789, allocations: 467.7 kB / 413.1 MB, free: 12.75 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.391e-05/0.2789, allocations: 37.7 kB / 413.2 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.2789, allocations: 0 / 413.2 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004245/0.2794, allocations: 84.86 kB / 413.3 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000211/0.2796, allocations: 55.83 kB / 413.3 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002581/0.2822, allocations: 2.001 MB / 415.3 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003727/0.2826, allocations: 47.88 kB / 415.4 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.62e-05/0.2826, allocations: 16.22 kB / 415.4 MB, free: 10.37 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (23): * Single equations (assignments): 21 * 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.0001403/0.2828, allocations: 153.6 kB / 415.5 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.697e-05/0.2828, allocations: 27.66 kB / 415.5 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.798e-05/0.2829, allocations: 25.83 kB / 415.6 MB, free: 10.15 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.2829, allocations: 0 / 415.6 MB, free: 10.15 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.2829, allocations: 3.938 kB / 415.6 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.782e-05/0.283, allocations: 108.8 kB / 415.7 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.111e-05/0.283, allocations: 7.938 kB / 415.7 MB, free: 10.01 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002616/0.2833, allocations: 27.97 kB / 415.7 MB, free: 9.984 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.569e-05/0.2833, allocations: 19.97 kB / 415.7 MB, free: 9.965 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001336/0.2847, allocations: 441.4 kB / 416.2 MB, free: 9.523 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001075/0.2858, allocations: 0.51 MB / 416.7 MB, free: 8.996 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003254/0.2861, allocations: 99.84 kB / 416.8 MB, free: 8.902 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001824/0.2863, allocations: 205.9 kB / 417 MB, free: 8.703 MB / 334.1 MB Notification: Performance of Backend: time 3e-07/0.2863, allocations: 0 / 417 MB, free: 8.703 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009501/0.2873, allocations: 431.1 kB / 417.4 MB, free: 8.254 MB / 334.1 MB Notification: Performance of SimCode: time 0.0009544/0.2882, allocations: 0.9492 MB / 418.3 MB, free: 7.25 MB / 334.1 MB Notification: Performance of Templates: time 0.007766/0.296, allocations: 4.215 MB / 422.6 MB, free: 3.066 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/InvertingAmplifier/InvertingAmplifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches