Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001588/0.001588, allocations: 88.28 kB / 20.96 MB, free: 3.445 MB / 18.57 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.001559/0.001559, allocations: 156.9 kB / 24.26 MB, free: 144 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.451/1.451, allocations: 177 MB / 204.4 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.522e-06/1.522e-06, allocations: 0 / 272.2 MB, free: 1.734 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.668e-05/2.82e-05, allocations: 2.312 kB / 272.2 MB, free: 1.73 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.004767/0.004796, allocations: 2.977 MB / 275.2 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001639/0.006434, allocations: 0.7711 MB / 276 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000178/0.006612, allocations: 7.938 kB / 276 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002017/0.006814, allocations: 63.36 kB / 276.1 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002588/0.007073, allocations: 126.9 kB / 276.2 MB, free: 13.76 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003572/0.00743, allocations: 115.7 kB / 276.3 MB, free: 13.65 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005391/0.007969, allocations: 457.9 kB / 276.7 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002597/0.008229, allocations: 120.5 kB / 276.9 MB, free: 13.08 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004038/0.008633, allocations: 255.5 kB / 277.1 MB, free: 12.83 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002242/0.008857, allocations: 135.6 kB / 277.2 MB, free: 12.7 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.928e-05/0.008926, allocations: 40 kB / 277.3 MB, free: 12.66 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001006/0.009027, allocations: 48 kB / 277.3 MB, free: 12.61 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.941e-05/0.009126, allocations: 91.61 kB / 277.4 MB, free: 12.52 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001732/0.009299, allocations: 139.7 kB / 277.6 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009126/0.01021, allocations: 0.5256 MB / 278.1 MB, free: 11.86 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.01022, allocations: 0 / 278.1 MB, free: 11.86 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.01022, allocations: 0 / 278.1 MB, free: 11.86 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.224e-06/0.01022, allocations: 4 kB / 278.1 MB, free: 11.86 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001084/0.01131, allocations: 0.5791 MB / 278.7 MB, free: 11.25 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.01134, allocations: 11.98 kB / 278.7 MB, free: 11.23 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002549/0.0116, allocations: 80.64 kB / 278.8 MB, free: 11.16 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004782/0.01208, allocations: 261.1 kB / 279 MB, free: 10.88 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.863e-05/0.01212, allocations: 29.03 kB / 279 MB, free: 10.85 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.945e-05/0.01217, allocations: 28.38 kB / 279.1 MB, free: 10.82 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006772/0.01284, allocations: 405.4 kB / 279.5 MB, free: 10.39 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.01285, allocations: 192 / 279.5 MB, free: 10.39 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.97e-05/0.01289, allocations: 16.38 kB / 279.5 MB, free: 10.38 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.521e-05/0.01291, allocations: 11.94 kB / 279.5 MB, free: 10.37 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005179/0.01343, allocations: 250.5 kB / 279.7 MB, free: 10.12 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002006/0.01543, allocations: 1.024 MB / 280.8 MB, free: 9.035 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004433/0.01588, allocations: 174.7 kB / 280.9 MB, free: 8.855 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001775/0.01605, allocations: 76.83 kB / 281 MB, free: 8.777 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.452e-05/0.01608, allocations: 4 kB / 281 MB, free: 8.773 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.01611, allocations: 30.56 kB / 281 MB, free: 8.734 MB / 266.7 MB Notification: Performance of pre-optimization done (n=18): time 1.193e-06/0.01611, allocations: 7.938 kB / 281.1 MB, free: 8.727 MB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.001482/0.01759, allocations: 426.2 kB / 281.5 MB, free: 8.301 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.543e-05/0.01765, allocations: 55.41 kB / 281.5 MB, free: 8.234 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003577/0.01801, allocations: 273.8 kB / 281.8 MB, free: 7.957 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.748e-05/0.01803, allocations: 25.7 kB / 281.8 MB, free: 7.926 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000181/0.01821, allocations: 228.1 kB / 282 MB, free: 7.695 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.948e-05/0.01827, allocations: 59.48 kB / 282.1 MB, free: 7.637 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.786e-05/0.01837, allocations: 53.66 kB / 282.1 MB, free: 7.578 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001988/0.01857, allocations: 334.8 kB / 282.5 MB, free: 7.242 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001515/0.01872, allocations: 71.97 kB / 282.5 MB, free: 7.172 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002258/0.01895, allocations: 145.3 kB / 282.7 MB, free: 6.996 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003561/0.0193, allocations: 213.3 kB / 282.9 MB, free: 6.754 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/0.01931, allocations: 3.938 kB / 282.9 MB, free: 6.75 MB / 266.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007602/0.02007, allocations: 353.5 kB / 283.2 MB, free: 6.398 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.02009, allocations: 6.812 kB / 283.2 MB, free: 6.395 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.02009, allocations: 4 kB / 283.3 MB, free: 6.391 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006781/0.02077, allocations: 140.6 kB / 283.4 MB, free: 6.25 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001678/0.02094, allocations: 35.98 kB / 283.4 MB, free: 6.215 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003546/0.02449, allocations: 2.041 MB / 285.5 MB, free: 4.07 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002149/0.0247, allocations: 27.91 kB / 285.5 MB, free: 4.043 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.226e-05/0.02472, allocations: 8 kB / 285.5 MB, free: 4.035 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 2 (add.opAmp.satNeg,add.opAmp.satPos) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * 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,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0002304/0.02495, allocations: 161.7 kB / 285.7 MB, free: 3.867 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.868e-05/0.02502, allocations: 27.86 kB / 285.7 MB, free: 3.84 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.282e-05/0.02507, allocations: 26.12 kB / 285.7 MB, free: 3.812 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.02508, allocations: 4 kB / 285.7 MB, free: 3.809 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/0.02509, allocations: 7.922 kB / 285.7 MB, free: 3.801 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.02509, allocations: 0 / 285.7 MB, free: 3.801 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001073/0.02617, allocations: 0.5653 MB / 286.3 MB, free: 3.195 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.02617, allocations: 4 kB / 286.3 MB, free: 3.191 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.921e-05/0.02625, allocations: 11.98 kB / 286.3 MB, free: 3.18 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006068/0.02685, allocations: 132.7 kB / 286.4 MB, free: 3.047 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.025e-05/0.02687, allocations: 7.938 kB / 286.4 MB, free: 3.039 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002893/0.02977, allocations: 2.026 MB / 288.5 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.02977, allocations: 4.062 kB / 288.5 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006825/0.03045, allocations: 356.5 kB / 288.8 MB, free: 0.5352 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.258e-05/0.03051, allocations: 31.78 kB / 288.9 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.502e-05/0.03054, allocations: 0 / 288.9 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002041/0.03074, allocations: 19.98 kB / 288.9 MB, free: 496 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.441e-05/0.03082, allocations: 27.81 kB / 288.9 MB, free: 468 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/0.03083, allocations: 4 kB / 288.9 MB, free: 464 kB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000231/0.03106, allocations: 197.1 kB / 289.1 MB, free: 268 kB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03106, allocations: 0 / 289.1 MB, free: 268 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005291/0.03159, allocations: 103.7 kB / 289.2 MB, free: 164 kB / 266.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: 2 (add.opAmp.satPos,add.opAmp.satNeg) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * 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,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001724/0.03176, allocations: 102.8 kB / 289.3 MB, free: 56 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000709/0.03247, allocations: 323.4 kB / 289.6 MB, free: 15.73 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.03248, allocations: 0 / 289.6 MB, free: 15.73 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003547/0.03283, allocations: 218.4 kB / 289.8 MB, free: 15.5 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003962/0.03323, allocations: 41.05 kB / 289.9 MB, free: 15.46 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001319/0.03455, allocations: 0.5206 MB / 290.4 MB, free: 14.91 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002114/0.03476, allocations: 172.8 kB / 290.6 MB, free: 14.72 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.278e-05/0.03485, allocations: 18.3 kB / 290.6 MB, free: 14.7 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.418e-05/0.0349, allocations: 20.5 kB / 290.6 MB, free: 14.68 MB / 282.7 MB Notification: Performance of SimCode: time 5.41e-07/0.03491, allocations: 0 / 290.6 MB, free: 14.68 MB / 282.7 MB Notification: Performance of Templates: time 0.00918/0.04409, allocations: 3.417 MB / 294 MB, free: 11.31 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,vOut.v Variables in the result:Vin,add.R,add.R1,add.R2,add.V0,add.Vns,add.Vps,add.k1,add.k2,add.opAmp.Tau,add.opAmp.V0,add.opAmp.Vns,add.opAmp.Vps,add.opAmp.initOpAmp,add.opAmp.useFirstOrder,add.opAmp.useSupply,add.r.R,add.r.T,add.r.T_ref,add.r.alpha,add.r1.R,add.r1.T,add.r1.T_ref,add.r1.alpha,add.r2.R,add.r2.T,add.r2.T_ref,add.r2.alpha,add.v2,f,time,vIn1.V,vIn1.f,vIn1.offset,vIn1.phase,vIn1.signalSource.amplitude,vIn1.signalSource.continuous,vIn1.signalSource.f,vIn1.signalSource.offset,vIn1.signalSource.phase,vIn1.signalSource.startTime,vIn1.startTime,vIn2.V,vOut.v [Calling sys.exit(0), Time elapsed: 4.503998021013103]