Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.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.Adder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Adder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001733/0.001733, allocations: 112.2 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002102/0.002102, 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.379/1.379, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 63.91 kB / 359.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.292/0.2932, allocations: 50.54 MB / 410 MB, free: 1.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.004489/0.2977, allocations: 3.201 MB / 413.2 MB, free: 14.55 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001339/0.2991, allocations: 0.8141 MB / 414 MB, free: 13.72 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001513/0.2993, allocations: 8 kB / 414 MB, free: 13.71 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001893/0.2995, allocations: 55.44 kB / 414 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001907/0.2997, allocations: 115 kB / 414.2 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003311/0.3, allocations: 131.8 kB / 414.3 MB, free: 13.42 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000421/0.3004, allocations: 442.2 kB / 414.7 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002707/0.3007, allocations: 163.9 kB / 414.9 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002568/0.301, allocations: 175.4 kB / 415 MB, free: 12.65 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002223/0.3012, allocations: 175.2 kB / 415.2 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.598e-05/0.3013, allocations: 44 kB / 415.3 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.89e-05/0.3014, allocations: 56 kB / 415.3 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.943e-05/0.3015, allocations: 91.62 kB / 415.4 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001569/0.3016, allocations: 191.1 kB / 415.6 MB, free: 12.1 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004869/0.3021, allocations: 0.5034 MB / 416.1 MB, free: 11.6 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.3021, allocations: 0 / 416.1 MB, free: 11.6 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3021, allocations: 3.938 kB / 416.1 MB, free: 11.59 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.3022, allocations: 0 / 416.1 MB, free: 11.59 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001064/0.3032, allocations: 0.6665 MB / 416.8 MB, free: 10.88 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.3033, allocations: 8.031 kB / 416.8 MB, free: 10.87 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001828/0.3035, allocations: 48.45 kB / 416.8 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004131/0.3039, allocations: 319.4 kB / 417.1 MB, free: 10.47 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.434e-05/0.3039, allocations: 25.02 kB / 417.2 MB, free: 10.45 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.66e-05/0.304, allocations: 32.38 kB / 417.2 MB, free: 10.42 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00061/0.3046, allocations: 349.4 kB / 417.5 MB, free: 10.07 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.3046, allocations: 0 / 417.5 MB, free: 10.07 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.338e-05/0.3046, allocations: 20 kB / 417.6 MB, free: 10.05 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.958e-06/0.3047, allocations: 8 kB / 417.6 MB, free: 10.04 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005653/0.3052, allocations: 266.4 kB / 417.8 MB, free: 9.781 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001876/0.3071, allocations: 1.252 MB / 419.1 MB, free: 8.445 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005822/0.3077, allocations: 303.8 kB / 419.4 MB, free: 8.121 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002068/0.3079, allocations: 96.8 kB / 419.5 MB, free: 8.023 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.445e-05/0.308, allocations: 4 kB / 419.5 MB, free: 8.02 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/0.308, allocations: 38.5 kB / 419.5 MB, free: 7.973 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.243e-06/0.308, allocations: 0 / 419.5 MB, free: 7.973 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.001998/0.31, allocations: 0.6432 MB / 420.1 MB, free: 7.301 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.568e-05/0.3101, allocations: 51.41 kB / 420.2 MB, free: 7.238 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003004/0.3104, allocations: 295 kB / 420.5 MB, free: 6.941 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.3104, allocations: 25.7 kB / 420.5 MB, free: 6.91 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001373/0.3105, allocations: 215.8 kB / 420.7 MB, free: 6.695 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.531e-05/0.3106, allocations: 55.2 kB / 420.8 MB, free: 6.641 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.754e-05/0.3107, allocations: 49.7 kB / 420.8 MB, free: 6.586 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.3108, allocations: 338.8 kB / 421.2 MB, free: 6.246 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001943/0.311, allocations: 75.97 kB / 421.2 MB, free: 6.172 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002525/0.3113, allocations: 170.2 kB / 421.4 MB, free: 5.969 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000424/0.3117, allocations: 244.8 kB / 421.6 MB, free: 5.695 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.3117, allocations: 4 kB / 421.6 MB, free: 5.691 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009093/0.3126, allocations: 409.9 kB / 422 MB, free: 5.281 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.3127, allocations: 7.984 kB / 422 MB, free: 5.273 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.3127, allocations: 7.938 kB / 422.1 MB, free: 5.266 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004043/0.3131, allocations: 100.9 kB / 422.2 MB, free: 5.164 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/0.3132, allocations: 43.91 kB / 422.2 MB, free: 5.121 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002794/0.3161, allocations: 2.173 MB / 424.4 MB, free: 2.812 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002082/0.3163, allocations: 43.64 kB / 424.4 MB, free: 2.77 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.673e-05/0.3163, allocations: 8 kB / 424.4 MB, free: 2.762 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * 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: 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,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001383/0.3164, allocations: 153.7 kB / 424.6 MB, free: 2.602 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.813e-05/0.3165, allocations: 27.72 kB / 424.6 MB, free: 2.574 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.889e-05/0.3166, allocations: 25.91 kB / 424.6 MB, free: 2.543 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.3166, allocations: 3.938 kB / 424.6 MB, free: 2.539 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.594e-06/0.3166, allocations: 3.938 kB / 424.6 MB, free: 2.535 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.567e-05/0.3166, allocations: 108.8 kB / 424.7 MB, free: 2.41 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.645e-05/0.3167, allocations: 0 / 424.7 MB, free: 2.41 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002072/0.3169, allocations: 23.98 kB / 424.8 MB, free: 2.387 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.009e-05/0.317, allocations: 15.97 kB / 424.8 MB, free: 2.371 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000974/0.3179, allocations: 397.5 kB / 425.2 MB, free: 1.973 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00064/0.3186, allocations: 453.1 kB / 425.6 MB, free: 1.516 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001724/0.3188, allocations: 63.97 kB / 425.7 MB, free: 1.453 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000199/0.319, allocations: 213.9 kB / 425.9 MB, free: 1.246 MB / 334.1 MB Notification: Performance of Backend: time 6.41e-07/0.319, allocations: 0 / 425.9 MB, free: 1.246 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008883/0.3199, allocations: 363.8 kB / 426.2 MB, free: 0.875 MB / 334.1 MB Notification: Performance of SimCode: time 0.001068/0.321, allocations: 1.024 MB / 427.3 MB, free: 15.8 MB / 350.1 MB Notification: Performance of Templates: time 0.00719/0.3282, allocations: 3.618 MB / 430.9 MB, free: 12.21 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Adder/Adder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches