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.001374/0.001374, allocations: 114 kB / 21.18 MB, free: 0.7422 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.001461/0.001461, allocations: 214.1 kB / 24.48 MB, free: 4.191 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.407/1.407, allocations: 230.4 MB / 258.1 MB, free: 8.172 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.001959/0.001959, allocations: 71.83 kB / 378.8 MB, free: 2.859 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2159/0.2179, allocations: 53.31 MB / 432.1 MB, free: 7.379 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.004689/0.2226, allocations: 3.24 MB / 435.3 MB, free: 4.129 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00155/0.2241, allocations: 0.8258 MB / 436.2 MB, free: 3.297 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002063/0.2243, allocations: 8 kB / 436.2 MB, free: 3.289 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001905/0.2245, allocations: 55.44 kB / 436.2 MB, free: 3.234 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002619/0.2248, allocations: 115 kB / 436.3 MB, free: 3.121 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003441/0.2251, allocations: 139.8 kB / 436.5 MB, free: 2.984 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005144/0.2256, allocations: 442.2 kB / 436.9 MB, free: 2.551 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002334/0.2259, allocations: 119.9 kB / 437 MB, free: 2.434 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002948/0.2262, allocations: 163.4 kB / 437.2 MB, free: 2.273 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002614/0.2264, allocations: 183.2 kB / 437.4 MB, free: 2.094 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.461e-05/0.2265, allocations: 44 kB / 437.4 MB, free: 2.051 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.502e-05/0.2266, allocations: 48 kB / 437.4 MB, free: 2.004 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.575e-05/0.2267, allocations: 91.62 kB / 437.5 MB, free: 1.914 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001854/0.2268, allocations: 195.1 kB / 437.7 MB, free: 1.723 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005895/0.2274, allocations: 0.5073 MB / 438.2 MB, free: 1.215 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.2274, allocations: 0 / 438.2 MB, free: 1.215 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2274, allocations: 0 / 438.2 MB, free: 1.215 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.261e-05/0.2275, allocations: 0 / 438.2 MB, free: 1.215 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.001226/0.2287, allocations: 0.6739 MB / 438.9 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.2287, allocations: 16.03 kB / 438.9 MB, free: 488 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001983/0.2289, allocations: 48.69 kB / 439 MB, free: 440 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000467/0.2294, allocations: 323.5 kB / 439.3 MB, free: 76 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.505e-05/0.2294, allocations: 21.03 kB / 439.3 MB, free: 56 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.412e-05/0.2295, allocations: 28.38 kB / 439.3 MB, free: 28 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006985/0.2302, allocations: 357.4 kB / 439.7 MB, free: 15.67 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.2302, allocations: 0 / 439.7 MB, free: 15.67 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.233e-05/0.2302, allocations: 8 kB / 439.7 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.2302, allocations: 11.94 kB / 439.7 MB, free: 15.65 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006359/0.2308, allocations: 266.5 kB / 440 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002135/0.233, allocations: 1.265 MB / 441.2 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006477/0.2336, allocations: 287.8 kB / 441.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002241/0.2339, allocations: 92.75 kB / 441.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/0.2339, allocations: 0 / 441.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.458e-05/0.2339, allocations: 38.56 kB / 441.6 MB, free: 13.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.112e-06/0.2339, allocations: 0 / 441.6 MB, free: 13.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.002264/0.2362, allocations: 0.6356 MB / 442.3 MB, free: 12.93 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.32e-05/0.2362, allocations: 51.41 kB / 442.3 MB, free: 12.87 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003631/0.2366, allocations: 302.9 kB / 442.6 MB, free: 12.56 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.076e-05/0.2366, allocations: 29.7 kB / 442.6 MB, free: 12.53 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001577/0.2368, allocations: 220.3 kB / 442.9 MB, free: 12.31 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.87e-05/0.2368, allocations: 59.52 kB / 442.9 MB, free: 12.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.49e-05/0.2369, allocations: 49.66 kB / 443 MB, free: 12.2 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.237, allocations: 338.8 kB / 443.3 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002196/0.2373, allocations: 71.97 kB / 443.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002849/0.2376, allocations: 170.6 kB / 443.5 MB, free: 11.58 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000492/0.238, allocations: 249.1 kB / 443.8 MB, free: 11.3 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.238, allocations: 0 / 443.8 MB, free: 11.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001041/0.2391, allocations: 402 kB / 444.2 MB, free: 10.9 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.2391, allocations: 8 kB / 444.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.2391, allocations: 7.938 kB / 444.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000417/0.2395, allocations: 100.9 kB / 444.3 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001615/0.2397, allocations: 47.91 kB / 444.3 MB, free: 10.74 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003284/0.243, allocations: 2.178 MB / 446.5 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002231/0.2432, allocations: 39.77 kB / 446.5 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.09e-05/0.2432, allocations: 8 kB / 446.6 MB, free: 8.371 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.0001601/0.2434, allocations: 149.8 kB / 446.7 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.524e-05/0.2434, allocations: 23.86 kB / 446.7 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.513e-05/0.2435, allocations: 33.91 kB / 446.8 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.2435, allocations: 0 / 446.8 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.2435, allocations: 3.938 kB / 446.8 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.113e-05/0.2436, allocations: 112.8 kB / 446.9 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.197e-05/0.2436, allocations: 0 / 446.9 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002225/0.2439, allocations: 23.98 kB / 446.9 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.187e-05/0.2439, allocations: 11.97 kB / 446.9 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001115/0.245, allocations: 408.5 kB / 447.3 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007277/0.2457, allocations: 454.3 kB / 447.7 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001849/0.2459, allocations: 63.95 kB / 447.8 MB, free: 7.059 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002204/0.2461, allocations: 214 kB / 448 MB, free: 6.852 MB / 350.1 MB Notification: Performance of Backend: time 3.41e-07/0.2461, allocations: 0 / 448 MB, free: 6.852 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009134/0.2471, allocations: 356.5 kB / 448.4 MB, free: 6.484 MB / 350.1 MB Notification: Performance of SimCode: time 0.001216/0.2483, allocations: 1.039 MB / 449.4 MB, free: 5.391 MB / 350.1 MB Notification: Performance of Templates: time 0.008577/0.2569, allocations: 3.746 MB / 453.2 MB, free: 1.668 MB / 350.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: 4.18272643815726]