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.001558/0.001558, allocations: 109.8 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001928/0.001928, allocations: 210.8 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.437/1.437, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00113/0.00113, allocations: 55.91 kB / 359.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2576/0.2587, allocations: 50.54 MB / 410 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.004023/0.2628, allocations: 3.209 MB / 413.2 MB, free: 14.37 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001587/0.2644, allocations: 0.8102 MB / 414 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003133/0.2647, allocations: 4 kB / 414 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002404/0.265, allocations: 67.36 kB / 414 MB, free: 13.48 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000369/0.2654, allocations: 103.1 kB / 414.1 MB, free: 13.38 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004204/0.2658, allocations: 143.7 kB / 414.3 MB, free: 13.24 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005615/0.2664, allocations: 434.3 kB / 414.7 MB, free: 12.81 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002902/0.2667, allocations: 171.7 kB / 414.9 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003642/0.2671, allocations: 163.4 kB / 415 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002817/0.2674, allocations: 183.2 kB / 415.2 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.231e-05/0.2675, allocations: 48 kB / 415.3 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001232/0.2676, allocations: 48 kB / 415.3 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.313e-05/0.2677, allocations: 87.69 kB / 415.4 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001993/0.2679, allocations: 195.1 kB / 415.6 MB, free: 11.93 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005046/0.2684, allocations: 0.4994 MB / 416.1 MB, free: 11.43 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.2684, allocations: 4 kB / 416.1 MB, free: 11.43 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2684, allocations: 7.938 kB / 416.1 MB, free: 11.42 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.833e-05/0.2684, allocations: 0 / 416.1 MB, free: 11.42 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.001188/0.2696, allocations: 0.6548 MB / 416.8 MB, free: 10.72 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.2697, allocations: 8.031 kB / 416.8 MB, free: 10.71 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002894/0.27, allocations: 56.39 kB / 416.8 MB, free: 10.66 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006037/0.2706, allocations: 319.5 kB / 417.1 MB, free: 10.3 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.032e-05/0.2706, allocations: 21.03 kB / 417.1 MB, free: 10.29 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.042e-05/0.2707, allocations: 32.38 kB / 417.2 MB, free: 10.25 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007756/0.2715, allocations: 349.3 kB / 417.5 MB, free: 9.902 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/0.2715, allocations: 4 kB / 417.5 MB, free: 9.898 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.271e-05/0.2715, allocations: 16 kB / 417.5 MB, free: 9.883 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/0.2716, allocations: 8 kB / 417.5 MB, free: 9.875 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005793/0.2722, allocations: 262.5 kB / 417.8 MB, free: 9.621 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002053/0.2742, allocations: 1.256 MB / 419.1 MB, free: 8.281 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006566/0.2749, allocations: 307.7 kB / 419.4 MB, free: 7.953 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002347/0.2751, allocations: 96.8 kB / 419.5 MB, free: 7.855 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.049e-05/0.2752, allocations: 0 / 419.5 MB, free: 7.855 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.487e-05/0.2752, allocations: 38.56 kB / 419.5 MB, free: 7.809 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.443e-06/0.2752, allocations: 0 / 419.5 MB, free: 7.809 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.002324/0.2776, allocations: 0.6393 MB / 420.1 MB, free: 7.141 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.069e-05/0.2777, allocations: 59.34 kB / 420.2 MB, free: 7.07 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004027/0.2781, allocations: 291 kB / 420.5 MB, free: 6.777 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.083e-05/0.2781, allocations: 33.7 kB / 420.5 MB, free: 6.738 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001685/0.2783, allocations: 215.8 kB / 420.7 MB, free: 6.523 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.986e-05/0.2783, allocations: 55.19 kB / 420.8 MB, free: 6.469 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.734e-05/0.2784, allocations: 53.7 kB / 420.8 MB, free: 6.41 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.2786, allocations: 334.8 kB / 421.2 MB, free: 6.074 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002098/0.2788, allocations: 75.97 kB / 421.2 MB, free: 6 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002585/0.2791, allocations: 162.2 kB / 421.4 MB, free: 5.805 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004472/0.2795, allocations: 246 kB / 421.6 MB, free: 5.527 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.2795, allocations: 0 / 421.6 MB, free: 5.527 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009898/0.2805, allocations: 412.4 kB / 422 MB, free: 5.117 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.2806, allocations: 11.94 kB / 422 MB, free: 5.105 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.2806, allocations: 4 kB / 422 MB, free: 5.102 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004294/0.281, allocations: 96.86 kB / 422.1 MB, free: 5.004 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000154/0.2812, allocations: 51.84 kB / 422.2 MB, free: 4.953 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003105/0.2843, allocations: 2.162 MB / 424.4 MB, free: 2.652 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002354/0.2845, allocations: 47.64 kB / 424.4 MB, free: 2.605 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.074e-05/0.2846, allocations: 8 kB / 424.4 MB, free: 2.598 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.0001851/0.2848, allocations: 157.7 kB / 424.6 MB, free: 2.434 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.099e-05/0.2848, allocations: 23.72 kB / 424.6 MB, free: 2.41 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.981e-05/0.2849, allocations: 29.91 kB / 424.6 MB, free: 2.375 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.2849, allocations: 3.938 kB / 424.6 MB, free: 2.371 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.2849, allocations: 0 / 424.6 MB, free: 2.371 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.2849, allocations: 8 kB / 424.6 MB, free: 2.363 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001295/0.2862, allocations: 0.7278 MB / 425.4 MB, free: 1.574 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.2862, allocations: 0 / 425.4 MB, free: 1.574 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.203e-05/0.2863, allocations: 12 kB / 425.4 MB, free: 1.562 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003412/0.2867, allocations: 100.8 kB / 425.5 MB, free: 1.461 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.757e-05/0.2867, allocations: 7.938 kB / 425.5 MB, free: 1.453 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002737/0.2894, allocations: 2.155 MB / 427.6 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.2895, allocations: 3.938 kB / 427.6 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008437/0.2903, allocations: 416.1 kB / 428 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.389e-05/0.2904, allocations: 100.8 kB / 428.1 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.888e-05/0.2905, allocations: 0 / 428.1 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002118/0.2907, allocations: 31.97 kB / 428.2 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.909e-05/0.2907, allocations: 11.98 kB / 428.2 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.536e-05/0.2907, allocations: 7.938 kB / 428.2 MB, free: 14.57 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002216/0.291, allocations: 214 kB / 428.4 MB, free: 14.36 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.291, allocations: 0 / 428.4 MB, free: 14.36 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004869/0.2915, allocations: 95.69 kB / 428.5 MB, free: 14.27 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.0001541/0.2916, allocations: 106.6 kB / 428.6 MB, free: 14.15 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007901/0.2924, allocations: 338.9 kB / 428.9 MB, free: 13.81 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.2925, allocations: 4.25 kB / 428.9 MB, free: 13.8 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003695/0.2928, allocations: 229.7 kB / 429.1 MB, free: 13.57 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003885/0.2932, allocations: 44.81 kB / 429.2 MB, free: 13.52 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001223/0.2945, allocations: 0.5793 MB / 429.8 MB, free: 12.91 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003885/0.2949, allocations: 0.7675 MB / 430.5 MB, free: 12.11 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.993e-05/0.2949, allocations: 23.38 kB / 430.6 MB, free: 12.09 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2949, allocations: 4 kB / 430.6 MB, free: 12.08 MB / 350.1 MB Notification: Performance of Templates: time 0.007077/0.302, allocations: 4.789 MB / 435.4 MB, free: 7.297 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