Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001486/0.001486, allocations: 83.58 kB / 21.19 MB, free: 3.379 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001843/0.001843, allocations: 161 kB / 24.56 MB, free: 12 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.023/1.023, allocations: 177.1 MB / 205 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Adder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Adder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 273 MB, free: 1.477 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.949e-05/3.105e-05, allocations: 2.312 kB / 273 MB, free: 1.473 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.004148/0.00418, allocations: 3.208 MB / 276.2 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001786/0.005965, allocations: 0.8024 MB / 277 MB, free: 13.44 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002542/0.006219, allocations: 7.938 kB / 277 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002007/0.00642, allocations: 71.36 kB / 277.1 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002758/0.006696, allocations: 115 kB / 277.2 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004364/0.007132, allocations: 139.7 kB / 277.4 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005182/0.00765, allocations: 457.9 kB / 277.8 MB, free: 12.66 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002406/0.007891, allocations: 104.5 kB / 277.9 MB, free: 12.55 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004485/0.00834, allocations: 263.5 kB / 278.2 MB, free: 12.3 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002228/0.008562, allocations: 143.6 kB / 278.3 MB, free: 12.16 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.351e-05/0.008616, allocations: 40 kB / 278.3 MB, free: 12.12 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.307e-05/0.008709, allocations: 55.92 kB / 278.4 MB, free: 12.06 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.778e-05/0.008767, allocations: 83.69 kB / 278.5 MB, free: 11.98 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001291/0.008896, allocations: 139.7 kB / 278.6 MB, free: 11.84 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004148/0.009311, allocations: 290.9 kB / 278.9 MB, free: 11.56 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.009315, allocations: 0 / 278.9 MB, free: 11.56 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.009316, allocations: 0 / 278.9 MB, free: 11.56 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.009323, allocations: 0 / 278.9 MB, free: 11.56 MB / 266.7 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.000943/0.01027, allocations: 0.6869 MB / 279.6 MB, free: 10.84 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.01031, allocations: 8.031 kB / 279.6 MB, free: 10.83 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002152/0.01053, allocations: 72.69 kB / 279.7 MB, free: 10.76 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003608/0.01089, allocations: 259.9 kB / 279.9 MB, free: 10.48 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.579e-05/0.01092, allocations: 25.03 kB / 279.9 MB, free: 10.45 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.209e-05/0.01096, allocations: 32.38 kB / 280 MB, free: 10.42 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005045/0.01146, allocations: 353.1 kB / 280.3 MB, free: 10.04 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.01148, allocations: 4.125 kB / 280.3 MB, free: 10.04 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.903e-05/0.01151, allocations: 12.38 kB / 280.3 MB, free: 10.03 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.701e-05/0.01152, allocations: 11.94 kB / 280.3 MB, free: 10.02 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000244/0.01177, allocations: 123.8 kB / 280.5 MB, free: 9.891 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001517/0.01329, allocations: 1.128 MB / 281.6 MB, free: 8.699 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003143/0.0136, allocations: 135.2 kB / 281.7 MB, free: 8.555 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.463e-05/0.01369, allocations: 43.67 kB / 281.8 MB, free: 8.508 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.876e-05/0.01371, allocations: 4 kB / 281.8 MB, free: 8.504 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/0.01375, allocations: 41.38 kB / 281.8 MB, free: 8.453 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 2.504e-06/0.01375, allocations: 0 / 281.8 MB, free: 8.453 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.001023/0.01477, allocations: 372.1 kB / 282.2 MB, free: 8.082 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.254e-05/0.0148, allocations: 51.41 kB / 282.2 MB, free: 8.02 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002621/0.01507, allocations: 308.2 kB / 282.5 MB, free: 7.699 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.222e-05/0.01509, allocations: 33.7 kB / 282.6 MB, free: 7.66 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001406/0.01523, allocations: 270.9 kB / 282.8 MB, free: 7.391 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.535e-05/0.01526, allocations: 55.47 kB / 282.9 MB, free: 7.336 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002243/0.01549, allocations: 55.36 kB / 282.9 MB, free: 7.273 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.01562, allocations: 0.5078 MB / 283.4 MB, free: 6.754 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.494e-05/0.0157, allocations: 31.98 kB / 283.5 MB, free: 6.723 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001308/0.01583, allocations: 148.2 kB / 283.6 MB, free: 6.527 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000215/0.01604, allocations: 194.5 kB / 283.8 MB, free: 6.289 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.01605, allocations: 4 kB / 283.8 MB, free: 6.285 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004782/0.01652, allocations: 276.9 kB / 284.1 MB, free: 6.004 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.01654, allocations: 4 kB / 284.1 MB, free: 6 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.01655, allocations: 4 kB / 284.1 MB, free: 5.996 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004152/0.01697, allocations: 99.67 kB / 284.2 MB, free: 5.895 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/0.01709, allocations: 43.92 kB / 284.2 MB, free: 5.852 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0019/0.01899, allocations: 2.267 MB / 286.5 MB, free: 3.465 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001637/0.01915, allocations: 31.78 kB / 286.5 MB, free: 3.434 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.973e-05/0.01917, allocations: 12 kB / 286.5 MB, free: 3.422 MB / 266.7 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.0001324/0.0193, allocations: 176.5 kB / 286.7 MB, free: 3.238 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.695e-05/0.01936, allocations: 27.86 kB / 286.7 MB, free: 3.211 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.149e-05/0.0194, allocations: 29.77 kB / 286.8 MB, free: 3.18 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.0194, allocations: 0 / 286.8 MB, free: 3.18 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.01941, allocations: 0 / 286.8 MB, free: 3.18 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.01941, allocations: 0 / 286.8 MB, free: 3.18 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007943/0.0202, allocations: 0.5555 MB / 287.3 MB, free: 2.574 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.02021, allocations: 0 / 287.3 MB, free: 2.574 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.844e-05/0.02027, allocations: 12 kB / 287.3 MB, free: 2.562 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003419/0.02061, allocations: 95.61 kB / 287.4 MB, free: 2.465 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.703e-05/0.02063, allocations: 7.984 kB / 287.4 MB, free: 2.457 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001718/0.02234, allocations: 2.255 MB / 289.7 MB, free: 84 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.02234, allocations: 0 / 289.7 MB, free: 84 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006171/0.02296, allocations: 343.3 kB / 290 MB, free: 15.73 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.384e-05/0.02301, allocations: 35.81 kB / 290.1 MB, free: 15.69 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.628e-05/0.02303, allocations: 3.938 kB / 290.1 MB, free: 15.69 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001479/0.02318, allocations: 19.98 kB / 290.1 MB, free: 15.67 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.095e-05/0.02324, allocations: 15.95 kB / 290.1 MB, free: 15.65 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.457e-05/0.02325, allocations: 11.94 kB / 290.1 MB, free: 15.64 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000168/0.02342, allocations: 205.1 kB / 290.3 MB, free: 15.44 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.02342, allocations: 0 / 290.3 MB, free: 15.44 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005378/0.02396, allocations: 95.78 kB / 290.4 MB, free: 15.35 MB / 282.7 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.0001281/0.02409, allocations: 103.2 kB / 290.5 MB, free: 15.24 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004743/0.02456, allocations: 319.2 kB / 290.8 MB, free: 14.91 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.02457, allocations: 7.938 kB / 290.8 MB, free: 14.9 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002122/0.02478, allocations: 246.1 kB / 291.1 MB, free: 14.64 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003616/0.02514, allocations: 44.64 kB / 291.1 MB, free: 14.6 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001164/0.0263, allocations: 0.5142 MB / 291.6 MB, free: 14.05 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.924e-05/0.02637, allocations: 84.31 kB / 291.7 MB, free: 13.95 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.561e-05/0.02645, allocations: 26.28 kB / 291.7 MB, free: 13.93 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.579e-05/0.02649, allocations: 16.5 kB / 291.7 MB, free: 13.91 MB / 282.7 MB Notification: Performance of SimCode: time 1.082e-06/0.0265, allocations: 0 / 291.7 MB, free: 13.91 MB / 282.7 MB Notification: Performance of Templates: time 0.006962/0.03346, allocations: 3.276 MB / 295 MB, free: 10.68 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Adder/Adder.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1471358030103147]