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.001475/0.001475, allocations: 110.2 kB / 17.75 MB, free: 5.352 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.00156/0.00156, allocations: 185.4 kB / 18.68 MB, free: 4.426 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.333/1.333, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001019/0.001019, allocations: 55.91 kB / 352 MB, free: 3.223 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2523/0.2533, allocations: 49.43 MB / 401.4 MB, free: 8.766 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier): time 0.003785/0.2571, allocations: 2.936 MB / 404.4 MB, free: 5.941 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001178/0.2583, allocations: 0.7207 MB / 405.1 MB, free: 5.215 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001325/0.2585, allocations: 15.94 kB / 405.1 MB, free: 5.199 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001773/0.2587, allocations: 47.5 kB / 405.2 MB, free: 5.152 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001932/0.2589, allocations: 99.19 kB / 405.3 MB, free: 5.055 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002834/0.2592, allocations: 115.8 kB / 405.4 MB, free: 4.941 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004003/0.2596, allocations: 426.4 kB / 405.8 MB, free: 4.523 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002249/0.2598, allocations: 119.3 kB / 405.9 MB, free: 4.398 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001772/0.26, allocations: 159.4 kB / 406.1 MB, free: 4.242 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001996/0.2602, allocations: 171.3 kB / 406.2 MB, free: 4.074 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.351e-05/0.2603, allocations: 43.94 kB / 406.3 MB, free: 4.031 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.348e-05/0.2603, allocations: 40 kB / 406.3 MB, free: 3.992 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.004e-05/0.2604, allocations: 79.75 kB / 406.4 MB, free: 3.914 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001706/0.2606, allocations: 179.2 kB / 406.6 MB, free: 3.738 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004478/0.2611, allocations: 454.1 kB / 407 MB, free: 3.297 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2611, allocations: 0 / 407 MB, free: 3.297 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2611, allocations: 0 / 407 MB, free: 3.297 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.055e-05/0.2611, allocations: 0 / 407 MB, free: 3.297 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.001277/0.2624, allocations: 0.6806 MB / 407.7 MB, free: 2.562 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.2624, allocations: 15.88 kB / 407.7 MB, free: 2.547 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.465e-05/0.2625, allocations: 32.75 kB / 407.7 MB, free: 2.516 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004082/0.2629, allocations: 299.8 kB / 408 MB, free: 2.184 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/0.263, allocations: 20.86 kB / 408.1 MB, free: 2.164 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.255e-05/0.263, allocations: 24.38 kB / 408.1 MB, free: 2.141 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000695/0.2637, allocations: 331.9 kB / 408.4 MB, free: 1.809 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.2637, allocations: 3.984 kB / 408.4 MB, free: 1.805 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.021e-05/0.2638, allocations: 12 kB / 408.4 MB, free: 1.793 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.2638, allocations: 8 kB / 408.4 MB, free: 1.785 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007877/0.2646, allocations: 286 kB / 408.7 MB, free: 1.504 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001767/0.2663, allocations: 1.158 MB / 409.9 MB, free: 276 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008279/0.2672, allocations: 246.5 kB / 410.1 MB, free: 20 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003554/0.2676, allocations: 104.8 kB / 410.2 MB, free: 15.91 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.538e-05/0.2676, allocations: 8 kB / 410.2 MB, free: 15.91 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004548/0.2681, allocations: 173.9 kB / 410.4 MB, free: 15.71 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.393e-06/0.2681, allocations: 3.938 kB / 410.4 MB, free: 15.71 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.002219/0.2703, allocations: 0.6669 MB / 411.1 MB, free: 15.02 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.517e-05/0.2704, allocations: 102.8 kB / 411.2 MB, free: 14.89 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002906/0.2707, allocations: 282.7 kB / 411.4 MB, free: 14.61 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.569e-05/0.2707, allocations: 37.69 kB / 411.5 MB, free: 14.56 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001575/0.2709, allocations: 200 kB / 411.7 MB, free: 14.36 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.566e-05/0.2709, allocations: 43.67 kB / 411.7 MB, free: 14.32 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.271, allocations: 53.89 kB / 411.8 MB, free: 14.25 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.2712, allocations: 330.8 kB / 412.1 MB, free: 13.92 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003632/0.2715, allocations: 108.4 kB / 412.2 MB, free: 13.82 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004119/0.2719, allocations: 213.5 kB / 412.4 MB, free: 13.57 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006834/0.2726, allocations: 307.7 kB / 412.7 MB, free: 13.22 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.2727, allocations: 0 / 412.7 MB, free: 13.22 MB / 334.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001187/0.2738, allocations: 482.4 kB / 413.2 MB, free: 12.74 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.661e-05/0.2739, allocations: 33.7 kB / 413.2 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.2739, allocations: 0 / 413.2 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000376/0.2743, allocations: 88.8 kB / 413.3 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002012/0.2745, allocations: 51.97 kB / 413.3 MB, free: 12.56 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002549/0.2771, allocations: 1.986 MB / 415.3 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000322/0.2774, allocations: 63.8 kB / 415.4 MB, free: 10.37 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.309e-05/0.2774, allocations: 11.94 kB / 415.4 MB, free: 10.36 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.0001578/0.2776, allocations: 157.7 kB / 415.5 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.555e-05/0.2776, allocations: 23.86 kB / 415.6 MB, free: 10.17 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.062e-05/0.2777, allocations: 25.83 kB / 415.6 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.2777, allocations: 0 / 415.6 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.2777, allocations: 4 kB / 415.6 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.317e-05/0.2778, allocations: 104.9 kB / 415.7 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.77e-05/0.2778, allocations: 7.938 kB / 415.7 MB, free: 10.01 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002476/0.2781, allocations: 31.95 kB / 415.7 MB, free: 9.977 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.338e-05/0.2782, allocations: 27.97 kB / 415.8 MB, free: 9.949 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001283/0.2795, allocations: 435.7 kB / 416.2 MB, free: 9.516 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001044/0.2805, allocations: 0.5219 MB / 416.7 MB, free: 8.977 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003165/0.2809, allocations: 91.98 kB / 416.8 MB, free: 8.887 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001922/0.2811, allocations: 205.9 kB / 417 MB, free: 8.688 MB / 334.1 MB Notification: Performance of Backend: time 4.21e-07/0.2811, allocations: 0 / 417 MB, free: 8.688 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009731/0.282, allocations: 428 kB / 417.4 MB, free: 8.242 MB / 334.1 MB Notification: Performance of SimCode: time 0.00115/0.2832, allocations: 0.9555 MB / 418.4 MB, free: 7.234 MB / 334.1 MB Notification: Performance of Templates: time 0.008146/0.2914, allocations: 4.216 MB / 422.6 MB, free: 3.051 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