Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Adder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001493/0.001493, allocations: 103.7 kB / 17.71 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001652/0.001653, allocations: 187.7 kB / 18.64 MB, free: 4.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.32/1.32, allocations: 222.9 MB / 242.3 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001079/0.00108, allocations: 51.91 kB / 352 MB, free: 3.234 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3044/0.3055, allocations: 49.43 MB / 401.4 MB, free: 8.762 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.00471/0.3102, allocations: 3.197 MB / 404.6 MB, free: 5.68 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001571/0.3118, allocations: 0.7557 MB / 405.3 MB, free: 4.918 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001834/0.3121, allocations: 4 kB / 405.3 MB, free: 4.914 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002124/0.3123, allocations: 63.42 kB / 405.4 MB, free: 4.852 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002119/0.3126, allocations: 103 kB / 405.5 MB, free: 4.75 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003069/0.3129, allocations: 131.8 kB / 405.6 MB, free: 4.621 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004231/0.3133, allocations: 446.2 kB / 406.1 MB, free: 4.184 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002705/0.3136, allocations: 147.9 kB / 406.2 MB, free: 4.039 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002171/0.3138, allocations: 171.3 kB / 406.4 MB, free: 3.871 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001981/0.314, allocations: 179.2 kB / 406.6 MB, free: 3.695 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.232e-05/0.3141, allocations: 44 kB / 406.6 MB, free: 3.652 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.898e-05/0.3142, allocations: 44 kB / 406.6 MB, free: 3.609 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.488e-05/0.3142, allocations: 79.77 kB / 406.7 MB, free: 3.531 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001811/0.3144, allocations: 199 kB / 406.9 MB, free: 3.336 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004206/0.3149, allocations: 0.5033 MB / 407.4 MB, free: 2.836 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.3149, allocations: 0 / 407.4 MB, free: 2.836 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3149, allocations: 0 / 407.4 MB, free: 2.836 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.714e-06/0.3149, allocations: 0 / 407.4 MB, free: 2.836 MB / 318.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.001023/0.3159, allocations: 0.6588 MB / 408.1 MB, free: 2.129 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.316, allocations: 16.02 kB / 408.1 MB, free: 2.113 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.096e-05/0.3161, allocations: 40.47 kB / 408.1 MB, free: 2.074 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003837/0.3164, allocations: 299.6 kB / 408.4 MB, free: 1.742 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.428e-05/0.3165, allocations: 25.03 kB / 408.4 MB, free: 1.719 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.246e-05/0.3165, allocations: 28.38 kB / 408.5 MB, free: 1.691 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006188/0.3172, allocations: 361.3 kB / 408.8 MB, free: 1.324 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.3172, allocations: 4 kB / 408.8 MB, free: 1.32 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.431e-05/0.3172, allocations: 12 kB / 408.8 MB, free: 1.309 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.335e-06/0.3172, allocations: 4 kB / 408.8 MB, free: 1.305 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000565/0.3178, allocations: 274.5 kB / 409.1 MB, free: 1.039 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001891/0.3197, allocations: 1.264 MB / 410.4 MB, free: 15.69 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006183/0.3203, allocations: 295.7 kB / 410.7 MB, free: 15.38 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000218/0.3206, allocations: 96.81 kB / 410.8 MB, free: 15.28 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.459e-05/0.3206, allocations: 4 kB / 410.8 MB, free: 15.27 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.3206, allocations: 34.56 kB / 410.8 MB, free: 15.23 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.473e-06/0.3206, allocations: 0 / 410.8 MB, free: 15.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.002121/0.3228, allocations: 0.6355 MB / 411.4 MB, free: 14.57 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.3228, allocations: 59.34 kB / 411.5 MB, free: 14.5 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003268/0.3232, allocations: 298.9 kB / 411.8 MB, free: 14.2 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.534e-05/0.3232, allocations: 33.7 kB / 411.8 MB, free: 14.16 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/0.3233, allocations: 215.7 kB / 412 MB, free: 13.94 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.013e-05/0.3234, allocations: 51.3 kB / 412.1 MB, free: 13.89 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.855e-05/0.3235, allocations: 49.61 kB / 412.1 MB, free: 13.84 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.3236, allocations: 338.8 kB / 412.5 MB, free: 13.5 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002039/0.3238, allocations: 83.95 kB / 412.5 MB, free: 13.41 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002435/0.3241, allocations: 158.2 kB / 412.7 MB, free: 13.22 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005236/0.3246, allocations: 242.1 kB / 412.9 MB, free: 12.95 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.3246, allocations: 0 / 412.9 MB, free: 12.95 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009309/0.3256, allocations: 405.9 kB / 413.3 MB, free: 12.54 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.3256, allocations: 11.94 kB / 413.3 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.3256, allocations: 3.984 kB / 413.3 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004324/0.3261, allocations: 104.9 kB / 413.4 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00016/0.3262, allocations: 43.91 kB / 413.5 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003072/0.3293, allocations: 2.169 MB / 415.7 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002286/0.3295, allocations: 39.67 kB / 415.7 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.745e-05/0.3296, allocations: 8 kB / 415.7 MB, free: 10.02 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.0001685/0.3298, allocations: 157.8 kB / 415.9 MB, free: 9.859 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.033e-05/0.3298, allocations: 23.72 kB / 415.9 MB, free: 9.836 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.333e-05/0.3299, allocations: 29.91 kB / 415.9 MB, free: 9.801 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.3299, allocations: 3.938 kB / 415.9 MB, free: 9.797 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.3299, allocations: 4 kB / 415.9 MB, free: 9.793 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.3299, allocations: 3.984 kB / 415.9 MB, free: 9.789 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001225/0.3311, allocations: 0.7256 MB / 416.6 MB, free: 9 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.3311, allocations: 7.984 kB / 416.7 MB, free: 8.992 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.906e-05/0.3312, allocations: 8 kB / 416.7 MB, free: 8.984 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003181/0.3315, allocations: 100.8 kB / 416.8 MB, free: 8.883 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.3316, allocations: 7.938 kB / 416.8 MB, free: 8.875 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002709/0.3343, allocations: 2.151 MB / 418.9 MB, free: 6.59 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.3343, allocations: 3.938 kB / 418.9 MB, free: 6.586 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008321/0.3351, allocations: 419.7 kB / 419.3 MB, free: 6.16 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.954e-05/0.3352, allocations: 100.8 kB / 419.4 MB, free: 6.043 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.934e-05/0.3353, allocations: 4 kB / 419.4 MB, free: 6.039 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002061/0.3355, allocations: 19.98 kB / 419.5 MB, free: 6.02 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.65e-05/0.3355, allocations: 19.91 kB / 419.5 MB, free: 6 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.465e-05/0.3355, allocations: 7.938 kB / 419.5 MB, free: 5.992 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002071/0.3358, allocations: 214 kB / 419.7 MB, free: 5.785 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3358, allocations: 0 / 419.7 MB, free: 5.785 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004986/0.3363, allocations: 95.69 kB / 419.8 MB, free: 5.691 MB / 334.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.0001385/0.3364, allocations: 99.19 kB / 419.9 MB, free: 5.582 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007639/0.3372, allocations: 345.3 kB / 420.2 MB, free: 5.234 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.3372, allocations: 0 / 420.2 MB, free: 5.234 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003493/0.3376, allocations: 235.1 kB / 420.5 MB, free: 4.992 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003777/0.3379, allocations: 46.06 kB / 420.5 MB, free: 4.941 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001104/0.3391, allocations: 0.5803 MB / 421.1 MB, free: 4.324 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003131/0.3394, allocations: 0.7713 MB / 421.8 MB, free: 3.523 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.134e-05/0.3394, allocations: 19.44 kB / 421.9 MB, free: 3.504 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3395, allocations: 0 / 421.9 MB, free: 3.504 MB / 334.1 MB Notification: Performance of Templates: time 0.006539/0.346, allocations: 4.683 MB / 426.5 MB, free: 14.82 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches