Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.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.InvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|gain.opAmp.out.v|gain.opAmp.out.i",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00159/0.00159, allocations: 117.2 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001846/0.001846, 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.383/1.383, allocations: 227.4 MB / 247.6 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 60.05 kB / 359.4 MB, free: 12.85 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2482/0.2496, allocations: 50.55 MB / 410 MB, free: 1.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier): time 0.004263/0.2539, allocations: 2.941 MB / 412.9 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001305/0.2552, allocations: 0.7518 MB / 413.7 MB, free: 13.83 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001401/0.2554, allocations: 4 kB / 413.7 MB, free: 13.83 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001801/0.2556, allocations: 47.5 kB / 413.7 MB, free: 13.78 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001923/0.2558, allocations: 99.17 kB / 413.8 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002834/0.2561, allocations: 115.8 kB / 413.9 MB, free: 13.57 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004225/0.2565, allocations: 430.4 kB / 414.4 MB, free: 13.15 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002655/0.2568, allocations: 123.2 kB / 414.5 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000209/0.257, allocations: 159.4 kB / 414.6 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002262/0.2572, allocations: 171.3 kB / 414.8 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.041e-05/0.2573, allocations: 44 kB / 414.8 MB, free: 12.65 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.829e-05/0.2574, allocations: 40 kB / 414.9 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001679/0.2575, allocations: 83.69 kB / 415 MB, free: 12.53 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001853/0.2577, allocations: 183.1 kB / 415.1 MB, free: 12.35 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004575/0.2582, allocations: 443.7 kB / 415.6 MB, free: 11.92 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.2582, allocations: 0 / 415.6 MB, free: 11.92 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2582, allocations: 0 / 415.6 MB, free: 11.92 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.2582, 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.001297/0.2595, allocations: 0.6809 MB / 416.3 MB, free: 11.19 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.2596, allocations: 8.031 kB / 416.3 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.891e-05/0.2597, allocations: 36.47 kB / 416.3 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004314/0.2601, allocations: 307.6 kB / 416.6 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.397e-05/0.2601, allocations: 16.94 kB / 416.6 MB, free: 10.79 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.127e-05/0.2602, allocations: 24.38 kB / 416.6 MB, free: 10.76 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006906/0.2609, allocations: 324 kB / 417 MB, free: 10.43 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.2609, allocations: 0 / 417 MB, free: 10.43 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.201e-05/0.261, allocations: 16 kB / 417 MB, free: 10.42 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-06/0.261, allocations: 7.984 kB / 417 MB, free: 10.41 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007648/0.2617, allocations: 290 kB / 417.3 MB, free: 10.13 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001868/0.2636, allocations: 1.146 MB / 418.4 MB, free: 8.902 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007736/0.2644, allocations: 242.6 kB / 418.6 MB, free: 8.656 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003197/0.2647, allocations: 116.7 kB / 418.8 MB, free: 8.539 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.423e-05/0.2648, allocations: 0 / 418.8 MB, free: 8.539 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004503/0.2652, allocations: 181.9 kB / 418.9 MB, free: 8.34 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.543e-06/0.2652, allocations: 0 / 418.9 MB, free: 8.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.002146/0.2674, allocations: 0.6625 MB / 419.6 MB, free: 7.652 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.058e-05/0.2675, allocations: 118.8 kB / 419.7 MB, free: 7.512 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003189/0.2678, allocations: 278.7 kB / 420 MB, free: 7.234 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.32e-05/0.2679, allocations: 33.7 kB / 420 MB, free: 7.195 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001473/0.268, allocations: 195.8 kB / 420.2 MB, free: 7 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.15e-05/0.2681, allocations: 47.39 kB / 420.3 MB, free: 6.953 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.292e-05/0.2682, allocations: 53.78 kB / 420.3 MB, free: 6.891 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.2683, allocations: 334.8 kB / 420.6 MB, free: 6.555 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003476/0.2687, allocations: 112.4 kB / 420.7 MB, free: 6.445 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004045/0.2691, allocations: 204.8 kB / 420.9 MB, free: 6.203 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007156/0.2698, allocations: 307.8 kB / 421.2 MB, free: 5.859 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.2698, allocations: 0 / 421.2 MB, free: 5.859 MB / 334.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001185/0.271, allocations: 475.6 kB / 421.7 MB, free: 5.379 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.329e-05/0.2711, allocations: 33.69 kB / 421.7 MB, free: 5.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.2711, allocations: 4 kB / 421.7 MB, free: 5.336 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003815/0.2715, allocations: 80.88 kB / 421.8 MB, free: 5.254 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002024/0.2717, allocations: 51.89 kB / 421.9 MB, free: 5.203 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002564/0.2742, allocations: 1.993 MB / 423.9 MB, free: 3.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003441/0.2746, allocations: 47.8 kB / 423.9 MB, free: 3.023 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.508e-05/0.2746, allocations: 16 kB / 423.9 MB, free: 3.008 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.0001732/0.2748, allocations: 164.9 kB / 424.1 MB, free: 2.84 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.358e-05/0.2749, allocations: 27.78 kB / 424.1 MB, free: 2.812 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.847e-05/0.2749, allocations: 25.95 kB / 424.1 MB, free: 2.777 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.2749, allocations: 0 / 424.1 MB, free: 2.777 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.275, allocations: 4 kB / 424.1 MB, free: 2.773 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.781e-05/0.275, allocations: 100.8 kB / 424.2 MB, free: 2.656 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.642e-05/0.2751, allocations: 7.938 kB / 424.3 MB, free: 2.648 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002412/0.2753, allocations: 31.95 kB / 424.3 MB, free: 2.617 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.171e-05/0.2754, allocations: 23.97 kB / 424.3 MB, free: 2.594 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001258/0.2767, allocations: 445.4 kB / 424.7 MB, free: 2.148 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001025/0.2777, allocations: 0.5049 MB / 425.2 MB, free: 1.629 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003069/0.278, allocations: 91.98 kB / 425.3 MB, free: 1.539 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002014/0.2783, allocations: 209.8 kB / 425.5 MB, free: 1.336 MB / 334.1 MB Notification: Performance of Backend: time 5.71e-07/0.2783, allocations: 8 kB / 425.6 MB, free: 1.328 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001022/0.2793, allocations: 424.2 kB / 426 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of SimCode: time 0.001111/0.2804, allocations: 0.9458 MB / 426.9 MB, free: 15.89 MB / 350.1 MB Notification: Performance of Templates: time 0.008931/0.2894, allocations: 4.238 MB / 431.1 MB, free: 11.69 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches