Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.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.Subtracter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001135/0.001135, allocations: 114.2 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00114/0.00114, allocations: 210.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.415/1.415, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 59.91 kB / 359.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2979/0.2993, allocations: 50.54 MB / 410 MB, free: 1.621 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter): time 0.00426/0.3036, allocations: 3.388 MB / 413.4 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001311/0.3049, allocations: 0.8571 MB / 414.2 MB, free: 13.35 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001397/0.3051, allocations: 8 kB / 414.2 MB, free: 13.34 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001573/0.3053, allocations: 71.34 kB / 414.3 MB, free: 13.27 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001993/0.3055, allocations: 114.9 kB / 414.4 MB, free: 13.16 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002924/0.3058, allocations: 151.8 kB / 414.6 MB, free: 13.01 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004139/0.3062, allocations: 0.4902 MB / 415 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002631/0.3065, allocations: 177 kB / 415.2 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002499/0.3067, allocations: 195.3 kB / 415.4 MB, free: 12.15 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002174/0.3069, allocations: 203.1 kB / 415.6 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.911e-05/0.307, allocations: 48 kB / 415.7 MB, free: 11.9 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001066/0.3071, allocations: 52 kB / 415.7 MB, free: 11.85 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.147e-05/0.3072, allocations: 99.67 kB / 415.8 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001778/0.3074, allocations: 218.9 kB / 416 MB, free: 11.54 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004895/0.3079, allocations: 0.5657 MB / 416.6 MB, free: 10.98 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.3079, allocations: 0 / 416.6 MB, free: 10.98 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3079, allocations: 0 / 416.6 MB, free: 10.98 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.3079, allocations: 0 / 416.6 MB, free: 10.98 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: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.001027/0.3089, allocations: 0.7057 MB / 417.3 MB, free: 10.22 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.068e-05/0.309, allocations: 8.031 kB / 417.3 MB, free: 10.21 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001739/0.3092, allocations: 52.47 kB / 417.3 MB, free: 10.16 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004122/0.3096, allocations: 328.6 kB / 417.7 MB, free: 9.801 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.482e-05/0.3096, allocations: 29.38 kB / 417.7 MB, free: 9.773 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.485e-05/0.3097, allocations: 36.12 kB / 417.7 MB, free: 9.738 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006256/0.3103, allocations: 386.2 kB / 418.1 MB, free: 9.348 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.3103, allocations: 0 / 418.1 MB, free: 9.348 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.484e-05/0.3104, allocations: 16 kB / 418.1 MB, free: 9.332 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.3104, allocations: 11.98 kB / 418.1 MB, free: 9.32 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006026/0.311, allocations: 299.8 kB / 418.4 MB, free: 9.027 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002022/0.313, allocations: 1.443 MB / 419.9 MB, free: 7.492 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005718/0.3136, allocations: 242.7 kB / 420.1 MB, free: 7.246 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000203/0.3138, allocations: 92.81 kB / 420.2 MB, free: 7.152 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.3138, allocations: 0 / 420.2 MB, free: 7.152 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.3139, allocations: 38.56 kB / 420.2 MB, free: 7.105 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.052e-06/0.3139, allocations: 0 / 420.2 MB, free: 7.105 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.002135/0.316, allocations: 0.7548 MB / 421 MB, free: 6.301 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.1e-05/0.3161, allocations: 55.41 kB / 421 MB, free: 6.234 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003338/0.3164, allocations: 320.4 kB / 421.4 MB, free: 5.918 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.078e-05/0.3165, allocations: 29.7 kB / 421.4 MB, free: 5.883 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001495/0.3166, allocations: 227.6 kB / 421.6 MB, free: 5.652 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.03e-05/0.3167, allocations: 55.2 kB / 421.7 MB, free: 5.598 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.23e-05/0.3167, allocations: 49.61 kB / 421.7 MB, free: 5.543 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.3169, allocations: 342.8 kB / 422 MB, free: 5.199 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002365/0.3171, allocations: 83.95 kB / 422.1 MB, free: 5.117 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003984/0.3176, allocations: 161.4 kB / 422.3 MB, free: 4.926 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007467/0.3183, allocations: 243.5 kB / 422.5 MB, free: 4.656 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.3183, allocations: 0 / 422.5 MB, free: 4.656 MB / 334.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009812/0.3193, allocations: 429.5 kB / 422.9 MB, free: 4.227 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.3193, allocations: 10.81 kB / 423 MB, free: 4.219 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.3194, allocations: 0 / 423 MB, free: 4.219 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004329/0.3198, allocations: 117.7 kB / 423.1 MB, free: 4.098 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002231/0.32, allocations: 35.92 kB / 423.1 MB, free: 4.062 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004121/0.3242, allocations: 3.564 MB / 426.7 MB, free: 224 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002328/0.3244, allocations: 39.73 kB / 426.7 MB, free: 184 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.999e-05/0.3244, allocations: 12 kB / 426.7 MB, free: 172 kB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * 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: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001705/0.3246, allocations: 157.7 kB / 426.9 MB, free: 4 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.928e-05/0.3247, allocations: 27.67 kB / 426.9 MB, free: 15.97 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.193e-05/0.3248, allocations: 34.2 kB / 426.9 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.3248, allocations: 0 / 426.9 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.3248, allocations: 7.984 kB / 426.9 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.142e-05/0.3249, allocations: 108.8 kB / 427 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.153e-05/0.3249, allocations: 4 kB / 427 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002263/0.3251, allocations: 27.91 kB / 427.1 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.148e-05/0.3252, allocations: 19.97 kB / 427.1 MB, free: 15.76 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001074/0.3263, allocations: 437.2 kB / 427.5 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006795/0.327, allocations: 466.1 kB / 428 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001684/0.3271, allocations: 63.97 kB / 428 MB, free: 14.79 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002313/0.3274, allocations: 235.1 kB / 428.3 MB, free: 14.56 MB / 350.1 MB Notification: Performance of Backend: time 6.92e-07/0.3274, allocations: 192 / 428.3 MB, free: 14.56 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00128/0.3287, allocations: 0.5269 MB / 428.8 MB, free: 14 MB / 350.1 MB Notification: Performance of SimCode: time 0.001145/0.3298, allocations: 1.067 MB / 429.9 MB, free: 12.89 MB / 350.1 MB Notification: Performance of Templates: time 0.007571/0.3374, allocations: 3.951 MB / 433.8 MB, free: 8.969 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Subtracter/Subtracter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches