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.001272/0.001272, allocations: 119.3 kB / 21.18 MB, free: 0.6289 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.001436/0.001436, allocations: 206.8 kB / 24.46 MB, free: 3.902 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.45/1.45, allocations: 230.5 MB / 258.1 MB, free: 8.133 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.001984/0.001984, allocations: 64.05 kB / 378.8 MB, free: 2.836 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.278/0.28, allocations: 53.32 MB / 432.1 MB, free: 7.344 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.005237/0.2852, allocations: 3.229 MB / 435.3 MB, free: 4.102 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001571/0.2868, allocations: 0.8297 MB / 436.1 MB, free: 3.266 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001878/0.287, allocations: 8 kB / 436.2 MB, free: 3.258 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002044/0.2872, allocations: 59.42 kB / 436.2 MB, free: 3.199 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002347/0.2874, allocations: 111 kB / 436.3 MB, free: 3.09 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000381/0.2878, allocations: 135.8 kB / 436.5 MB, free: 2.957 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005142/0.2883, allocations: 446.1 kB / 436.9 MB, free: 2.52 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002627/0.2886, allocations: 119.9 kB / 437 MB, free: 2.402 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002965/0.2889, allocations: 175.3 kB / 437.2 MB, free: 2.23 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002535/0.2891, allocations: 179.2 kB / 437.4 MB, free: 2.055 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.262e-05/0.2892, allocations: 44 kB / 437.4 MB, free: 2.012 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.61e-05/0.2893, allocations: 44 kB / 437.4 MB, free: 1.969 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.516e-05/0.2894, allocations: 91.62 kB / 437.5 MB, free: 1.879 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000192/0.2896, allocations: 195.1 kB / 437.7 MB, free: 1.688 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005777/0.2901, allocations: 0.5035 MB / 438.2 MB, free: 1.184 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2902, allocations: 4 kB / 438.2 MB, free: 1.18 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.2902, allocations: 0 / 438.2 MB, free: 1.18 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.557e-06/0.2902, allocations: 0 / 438.2 MB, free: 1.18 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.001162/0.2913, allocations: 0.6739 MB / 438.9 MB, free: 468 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.2914, allocations: 16.03 kB / 438.9 MB, free: 452 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000205/0.2916, allocations: 48.69 kB / 439 MB, free: 404 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004947/0.2921, allocations: 319.6 kB / 439.3 MB, free: 44 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.783e-05/0.2921, allocations: 21.03 kB / 439.3 MB, free: 24 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.079e-05/0.2922, allocations: 32.45 kB / 439.3 MB, free: 15.99 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006863/0.2928, allocations: 353.4 kB / 439.7 MB, free: 15.63 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.2929, allocations: 0 / 439.7 MB, free: 15.63 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.088e-05/0.2929, allocations: 12 kB / 439.7 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.344e-05/0.2929, allocations: 11.94 kB / 439.7 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006065/0.2935, allocations: 266.5 kB / 440 MB, free: 15.35 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002122/0.2956, allocations: 1.264 MB / 441.2 MB, free: 14.01 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000637/0.2963, allocations: 279.8 kB / 441.5 MB, free: 13.71 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000218/0.2965, allocations: 96.75 kB / 441.6 MB, free: 13.61 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.478e-05/0.2965, allocations: 0 / 441.6 MB, free: 13.61 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.2966, allocations: 38.56 kB / 441.6 MB, free: 13.56 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 9.62e-07/0.2966, allocations: 0 / 441.6 MB, free: 13.56 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.002171/0.2987, allocations: 0.6387 MB / 442.3 MB, free: 12.9 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.777e-05/0.2988, allocations: 51.41 kB / 442.3 MB, free: 12.84 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003698/0.2991, allocations: 306.9 kB / 442.6 MB, free: 12.53 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.243e-05/0.2992, allocations: 25.7 kB / 442.6 MB, free: 12.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000171/0.2993, allocations: 228.2 kB / 442.9 MB, free: 12.27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.93e-05/0.2994, allocations: 55.53 kB / 442.9 MB, free: 12.21 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.017e-05/0.2995, allocations: 49.66 kB / 443 MB, free: 12.16 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001693/0.2996, allocations: 342.8 kB / 443.3 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002061/0.2999, allocations: 71.95 kB / 443.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002753/0.3001, allocations: 170.7 kB / 443.5 MB, free: 11.54 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004699/0.3006, allocations: 241 kB / 443.8 MB, free: 11.27 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.3006, allocations: 0 / 443.8 MB, free: 11.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009917/0.3016, allocations: 406 kB / 444.2 MB, free: 10.87 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.3016, allocations: 11.94 kB / 444.2 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.3016, allocations: 4 kB / 444.2 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004664/0.3021, allocations: 104.8 kB / 444.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000153/0.3022, allocations: 35.98 kB / 444.3 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003302/0.3055, allocations: 2.178 MB / 446.5 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002111/0.3058, allocations: 39.77 kB / 446.5 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.097e-05/0.3058, allocations: 12 kB / 446.5 MB, free: 8.34 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.0001761/0.306, allocations: 149.8 kB / 446.7 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.305e-05/0.306, allocations: 23.86 kB / 446.7 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.404e-05/0.3061, allocations: 33.91 kB / 446.8 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.3061, allocations: 3.938 kB / 446.8 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.3061, allocations: 0 / 446.8 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.3061, allocations: 4 kB / 446.8 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001288/0.3074, allocations: 0.7218 MB / 447.5 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.3074, allocations: 0 / 447.5 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.128e-05/0.3074, allocations: 11.98 kB / 447.5 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003397/0.3078, allocations: 109 kB / 447.6 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.903e-05/0.3078, allocations: 11.94 kB / 447.6 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002944/0.3107, allocations: 2.152 MB / 449.8 MB, free: 4.91 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.3107, allocations: 3.938 kB / 449.8 MB, free: 4.906 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008753/0.3116, allocations: 403 kB / 450.2 MB, free: 4.496 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.42e-05/0.3117, allocations: 120.8 kB / 450.3 MB, free: 4.359 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.223e-05/0.3117, allocations: 4 kB / 450.3 MB, free: 4.355 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001983/0.3119, allocations: 23.92 kB / 450.3 MB, free: 4.332 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.854e-05/0.312, allocations: 11.98 kB / 450.3 MB, free: 4.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.388e-05/0.312, allocations: 7.938 kB / 450.3 MB, free: 4.312 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002264/0.3122, allocations: 217.9 kB / 450.5 MB, free: 4.102 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3122, allocations: 0 / 450.5 MB, free: 4.102 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000441/0.3127, allocations: 87.89 kB / 450.6 MB, free: 4.016 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.0001449/0.3128, allocations: 103.2 kB / 450.7 MB, free: 3.906 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008194/0.3136, allocations: 341.3 kB / 451.1 MB, free: 3.562 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3136, allocations: 0 / 451.1 MB, free: 3.562 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003912/0.314, allocations: 218.5 kB / 451.3 MB, free: 3.336 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004179/0.3144, allocations: 49.42 kB / 451.3 MB, free: 3.285 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/0.3157, allocations: 0.5953 MB / 451.9 MB, free: 2.652 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004201/0.3161, allocations: 0.7713 MB / 452.7 MB, free: 1.852 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.633e-05/0.3162, allocations: 23.44 kB / 452.7 MB, free: 1.828 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3162, allocations: 0 / 452.7 MB, free: 1.828 MB / 350.1 MB Notification: Performance of Templates: time 0.007355/0.3235, allocations: 4.769 MB / 457.5 MB, free: 13.07 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 -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: 7.231416204944253]