Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Adder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001756/0.001756, allocations: 110.4 kB / 21.17 MB, free: 0.7852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002041/0.002041, allocations: 217.4 kB / 24.47 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.531/1.531, allocations: 230.4 MB / 258.1 MB, free: 8.148 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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=1000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_4.1.0-beta.om_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-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Adder") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 71.81 kB / 378.8 MB, free: 2.957 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2779/0.2799, allocations: 53.32 MB / 432.1 MB, free: 7.398 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.005073/0.285, allocations: 3.225 MB / 435.3 MB, free: 4.16 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001812/0.2868, allocations: 0.8258 MB / 436.1 MB, free: 3.328 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001925/0.287, allocations: 11.94 kB / 436.1 MB, free: 3.316 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000193/0.2872, allocations: 59.44 kB / 436.2 MB, free: 3.258 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002384/0.2874, allocations: 119 kB / 436.3 MB, free: 3.141 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000396/0.2878, allocations: 131.8 kB / 436.5 MB, free: 3.012 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005417/0.2883, allocations: 446.2 kB / 436.9 MB, free: 2.574 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002678/0.2886, allocations: 111.9 kB / 437 MB, free: 2.465 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003167/0.2889, allocations: 167.4 kB / 437.2 MB, free: 2.301 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002721/0.2892, allocations: 187.2 kB / 437.3 MB, free: 2.117 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.273e-05/0.2893, allocations: 44 kB / 437.4 MB, free: 2.074 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.759e-05/0.2894, allocations: 47.98 kB / 437.4 MB, free: 2.027 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.751e-05/0.2894, allocations: 91.62 kB / 437.5 MB, free: 1.938 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001949/0.2896, allocations: 199.1 kB / 437.7 MB, free: 1.742 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006014/0.2902, allocations: 0.4996 MB / 438.2 MB, free: 1.242 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2902, allocations: 4 kB / 438.2 MB, free: 1.238 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.2902, allocations: 0 / 438.2 MB, free: 1.238 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.085e-05/0.2902, allocations: 0 / 438.2 MB, free: 1.238 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.001211/0.2915, allocations: 0.6739 MB / 438.9 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.2915, allocations: 12.03 kB / 438.9 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000194/0.2917, allocations: 52.69 kB / 439 MB, free: 464 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004631/0.2921, allocations: 323.5 kB / 439.3 MB, free: 100 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.462e-05/0.2922, allocations: 25.03 kB / 439.3 MB, free: 76 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.62e-05/0.2922, allocations: 28.38 kB / 439.3 MB, free: 48 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007127/0.2929, allocations: 349.4 kB / 439.7 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.2929, allocations: 4 kB / 439.7 MB, free: 15.69 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.505e-05/0.293, allocations: 12 kB / 439.7 MB, free: 15.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.293, allocations: 8 kB / 439.7 MB, free: 15.67 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006616/0.2937, allocations: 270.4 kB / 440 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002107/0.2958, allocations: 1.257 MB / 441.2 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00064/0.2964, allocations: 295.7 kB / 441.5 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002145/0.2966, allocations: 84.81 kB / 441.6 MB, free: 13.67 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.2966, allocations: 0 / 441.6 MB, free: 13.67 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.454e-05/0.2967, allocations: 38.56 kB / 441.6 MB, free: 13.62 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.042e-06/0.2967, allocations: 0 / 441.6 MB, free: 13.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.002208/0.2989, allocations: 0.6395 MB / 442.3 MB, free: 12.95 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/0.2989, allocations: 51.41 kB / 442.3 MB, free: 12.89 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003651/0.2993, allocations: 302.9 kB / 442.6 MB, free: 12.59 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.386e-05/0.2993, allocations: 25.7 kB / 442.6 MB, free: 12.55 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001789/0.2995, allocations: 224.2 kB / 442.8 MB, free: 12.33 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.872e-05/0.2995, allocations: 63.52 kB / 442.9 MB, free: 12.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.312e-05/0.2996, allocations: 49.66 kB / 443 MB, free: 12.21 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001738/0.2998, allocations: 338.8 kB / 443.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002132/0.3, allocations: 71.97 kB / 443.4 MB, free: 11.8 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002813/0.3003, allocations: 162.8 kB / 443.5 MB, free: 11.61 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004852/0.3008, allocations: 249 kB / 443.8 MB, free: 11.33 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.3008, allocations: 0 / 443.8 MB, free: 11.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001038/0.3018, allocations: 406 kB / 444.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.3018, allocations: 11.94 kB / 444.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.3018, allocations: 7.938 kB / 444.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004363/0.3023, allocations: 96.86 kB / 444.3 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001728/0.3024, allocations: 47.89 kB / 444.3 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003401/0.3058, allocations: 2.175 MB / 446.5 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000269/0.3061, allocations: 39.77 kB / 446.5 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.333e-05/0.3061, allocations: 12 kB / 446.5 MB, free: 8.395 MB / 350.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.000199/0.3063, allocations: 145.8 kB / 446.7 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.888e-05/0.3064, allocations: 23.86 kB / 446.7 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.54e-05/0.3065, allocations: 29.91 kB / 446.7 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.3065, allocations: 3.938 kB / 446.7 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.3065, allocations: 4 kB / 446.7 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.3065, allocations: 4 kB / 446.8 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00141/0.3079, allocations: 0.7295 MB / 447.5 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.3079, allocations: 0 / 447.5 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.038e-05/0.3079, allocations: 8 kB / 447.5 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003599/0.3083, allocations: 100.8 kB / 447.6 MB, free: 7.273 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.551e-05/0.3083, allocations: 7.938 kB / 447.6 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003109/0.3114, allocations: 2.16 MB / 449.8 MB, free: 4.969 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.3114, allocations: 3.938 kB / 449.8 MB, free: 4.965 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009546/0.3124, allocations: 415.1 kB / 450.2 MB, free: 4.543 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001209/0.3125, allocations: 108.9 kB / 450.3 MB, free: 4.418 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.162e-05/0.3125, allocations: 0 / 450.3 MB, free: 4.418 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002174/0.3128, allocations: 31.97 kB / 450.3 MB, free: 4.387 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.116e-05/0.3128, allocations: 7.984 kB / 450.3 MB, free: 4.379 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.598e-05/0.3128, allocations: 7.938 kB / 450.3 MB, free: 4.371 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002675/0.3131, allocations: 214 kB / 450.5 MB, free: 4.164 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3131, allocations: 0 / 450.5 MB, free: 4.164 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005385/0.3136, allocations: 87.89 kB / 450.6 MB, free: 4.078 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.0001684/0.3138, allocations: 103.2 kB / 450.7 MB, free: 3.969 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008194/0.3146, allocations: 346.7 kB / 451.1 MB, free: 3.617 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3146, allocations: 0 / 451.1 MB, free: 3.617 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004092/0.315, allocations: 222.5 kB / 451.3 MB, free: 3.387 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004391/0.3155, allocations: 48.03 kB / 451.3 MB, free: 3.34 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00124/0.3167, allocations: 0.5726 MB / 451.9 MB, free: 2.738 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004262/0.3171, allocations: 0.7675 MB / 452.7 MB, free: 1.941 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.073e-05/0.3172, allocations: 26.28 kB / 452.7 MB, free: 1.914 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.506e-05/0.3173, allocations: 19.44 kB / 452.7 MB, free: 1.895 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3173, allocations: 0 / 452.7 MB, free: 1.895 MB / 350.1 MB Notification: Performance of Templates: time 0.008843/0.3261, allocations: 3.811 MB / 456.5 MB, free: 14.11 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Adder.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Adder.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Adder -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Adder_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Adder/Adder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Adder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.571886477060616]