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.001249/0.001249, allocations: 113.6 kB / 17.78 MB, free: 5.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001436/0.001436, allocations: 203.9 kB / 18.74 MB, free: 4.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.453/1.453, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 64.09 kB / 358.7 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2996/0.3009, allocations: 50.54 MB / 409.3 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.004627/0.3056, allocations: 3.204 MB / 412.5 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001828/0.3075, allocations: 0.8179 MB / 413.3 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002635/0.3078, allocations: 4 kB / 413.3 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002244/0.3081, allocations: 63.42 kB / 413.4 MB, free: 13.48 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002661/0.3083, allocations: 103 kB / 413.5 MB, free: 13.38 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004009/0.3088, allocations: 143.8 kB / 413.6 MB, free: 13.24 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005187/0.3093, allocations: 442.2 kB / 414 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002972/0.3096, allocations: 159.8 kB / 414.2 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003088/0.3099, allocations: 171.3 kB / 414.4 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000228/0.3101, allocations: 179.2 kB / 414.5 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.906e-05/0.3102, allocations: 44 kB / 414.6 MB, free: 12.26 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001019/0.3103, allocations: 48 kB / 414.6 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.402e-05/0.3104, allocations: 87.64 kB / 414.7 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001773/0.3106, allocations: 199.1 kB / 414.9 MB, free: 11.93 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005761/0.3112, allocations: 0.498 MB / 415.4 MB, free: 11.43 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3112, allocations: 4 kB / 415.4 MB, free: 11.43 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3112, allocations: 0 / 415.4 MB, free: 11.43 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.241e-05/0.3112, allocations: 0 / 415.4 MB, free: 11.43 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.001201/0.3124, allocations: 0.6817 MB / 416.1 MB, free: 10.7 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.795e-05/0.3125, allocations: 12.03 kB / 416.1 MB, free: 10.69 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001982/0.3127, allocations: 48.64 kB / 416.1 MB, free: 10.64 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004918/0.3132, allocations: 319.7 kB / 416.5 MB, free: 10.29 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.719e-05/0.3132, allocations: 25.03 kB / 416.5 MB, free: 10.27 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.818e-05/0.3133, allocations: 32.38 kB / 416.5 MB, free: 10.23 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007122/0.314, allocations: 349.4 kB / 416.9 MB, free: 9.883 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/0.314, allocations: 3.938 kB / 416.9 MB, free: 9.879 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.492e-05/0.3141, allocations: 8 kB / 416.9 MB, free: 9.871 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.3141, allocations: 8 kB / 416.9 MB, free: 9.863 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005853/0.3147, allocations: 274.5 kB / 417.1 MB, free: 9.598 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002101/0.3168, allocations: 1.261 MB / 418.4 MB, free: 8.254 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006147/0.3174, allocations: 303.7 kB / 418.7 MB, free: 7.93 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002239/0.3177, allocations: 96.75 kB / 418.8 MB, free: 7.832 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.151e-05/0.3177, allocations: 4 kB / 418.8 MB, free: 7.828 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.566e-05/0.3178, allocations: 30.56 kB / 418.8 MB, free: 7.789 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.653e-06/0.3178, allocations: 0 / 418.8 MB, free: 7.789 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.00211/0.3199, allocations: 0.6434 MB / 419.5 MB, free: 7.117 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.514e-05/0.32, allocations: 55.41 kB / 419.5 MB, free: 7.051 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003728/0.3203, allocations: 302.9 kB / 419.8 MB, free: 6.746 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.607e-05/0.3204, allocations: 25.7 kB / 419.8 MB, free: 6.715 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001571/0.3205, allocations: 220.3 kB / 420.1 MB, free: 6.496 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.411e-05/0.3206, allocations: 51.53 kB / 420.1 MB, free: 6.445 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.677e-05/0.3207, allocations: 53.66 kB / 420.2 MB, free: 6.387 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.3208, allocations: 338.8 kB / 420.5 MB, free: 6.047 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002029/0.321, allocations: 79.95 kB / 420.6 MB, free: 5.969 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002527/0.3213, allocations: 162.2 kB / 420.7 MB, free: 5.773 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004363/0.3218, allocations: 240.3 kB / 421 MB, free: 5.504 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.3218, allocations: 0 / 421 MB, free: 5.504 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009882/0.3228, allocations: 409 kB / 421.4 MB, free: 5.098 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.3228, allocations: 11.94 kB / 421.4 MB, free: 5.086 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.3228, allocations: 8.062 kB / 421.4 MB, free: 5.078 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004711/0.3233, allocations: 108.7 kB / 421.5 MB, free: 4.969 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001808/0.3235, allocations: 43.92 kB / 421.5 MB, free: 4.926 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003143/0.3266, allocations: 2.172 MB / 423.7 MB, free: 2.617 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002823/0.327, allocations: 39.77 kB / 423.7 MB, free: 2.578 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.978e-05/0.327, allocations: 12.06 kB / 423.8 MB, free: 2.566 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.0002054/0.3273, allocations: 157.7 kB / 423.9 MB, free: 2.402 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.714e-05/0.3274, allocations: 31.84 kB / 423.9 MB, free: 2.371 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.685e-05/0.3274, allocations: 25.92 kB / 424 MB, free: 2.34 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.3274, allocations: 7.922 kB / 424 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/0.3274, allocations: 4 kB / 424 MB, free: 2.328 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.3275, allocations: 3.984 kB / 424 MB, free: 2.324 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001344/0.3288, allocations: 0.7217 MB / 424.7 MB, free: 1.539 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.3288, allocations: 0 / 424.7 MB, free: 1.539 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.8e-05/0.3289, allocations: 15.98 kB / 424.7 MB, free: 1.523 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003422/0.3293, allocations: 108.7 kB / 424.8 MB, free: 1.414 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.539e-05/0.3293, allocations: 3.938 kB / 424.8 MB, free: 1.41 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002911/0.3322, allocations: 2.155 MB / 427 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.3322, allocations: 3.938 kB / 427 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009014/0.3331, allocations: 408.6 kB / 427.4 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/0.3333, allocations: 112.8 kB / 427.5 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.793e-05/0.3333, allocations: 0 / 427.5 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002058/0.3335, allocations: 23.98 kB / 427.5 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.889e-05/0.3336, allocations: 11.98 kB / 427.5 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.702e-05/0.3336, allocations: 7.938 kB / 427.5 MB, free: 14.53 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002643/0.3339, allocations: 217.9 kB / 427.8 MB, free: 14.32 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3339, allocations: 0 / 427.8 MB, free: 14.32 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005342/0.3344, allocations: 87.89 kB / 427.8 MB, free: 14.23 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (8): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.0002039/0.3346, allocations: 99.19 kB / 427.9 MB, free: 14.12 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009097/0.3356, allocations: 353.7 kB / 428.3 MB, free: 13.77 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.3356, allocations: 0.6875 kB / 428.3 MB, free: 13.77 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003831/0.336, allocations: 226.6 kB / 428.5 MB, free: 13.53 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004981/0.3365, allocations: 52.12 kB / 428.6 MB, free: 13.48 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001266/0.3377, allocations: 0.5546 MB / 429.1 MB, free: 12.89 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003729/0.3381, allocations: 0.7713 MB / 429.9 MB, free: 12.09 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001013/0.3382, allocations: 30.22 kB / 429.9 MB, free: 12.06 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.673e-05/0.3383, allocations: 19.44 kB / 429.9 MB, free: 12.04 MB / 350.1 MB Notification: Performance of SimCode: time 9.31e-07/0.3383, allocations: 0 / 429.9 MB, free: 12.04 MB / 350.1 MB Notification: Performance of Templates: time 0.008054/0.3464, allocations: 3.674 MB / 433.6 MB, free: 8.395 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Adder/Adder.csv","/var/lib/jenkins/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