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.001138/0.001138, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.0009385/0.0009385, allocations: 160.9 kB / 24.99 MB, free: 8.816 MB / 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 0.9957/0.9957, allocations: 177 MB / 205.2 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] 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.833e-06/1.833e-06, allocations: 0 / 273 MB, free: 1.742 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.005e-05/3.188e-05, allocations: 6.25 kB / 273 MB, free: 1.734 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.005036/0.005068, allocations: 3.214 MB / 276.3 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001376/0.006445, allocations: 0.775 MB / 277 MB, free: 13.72 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001702/0.006615, allocations: 7.938 kB / 277 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001821/0.006797, allocations: 67.42 kB / 277.1 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000168/0.006965, allocations: 118.9 kB / 277.2 MB, free: 13.53 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003047/0.00727, allocations: 119.7 kB / 277.3 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000324/0.007594, allocations: 465.9 kB / 277.8 MB, free: 12.95 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001937/0.007787, allocations: 108.5 kB / 277.9 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002599/0.008047, allocations: 255.5 kB / 278.1 MB, free: 12.59 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001688/0.008216, allocations: 143.5 kB / 278.3 MB, free: 12.45 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.415e-05/0.00826, allocations: 44 kB / 278.3 MB, free: 12.41 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.267e-05/0.008333, allocations: 51.98 kB / 278.4 MB, free: 12.36 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.816e-05/0.008391, allocations: 91.67 kB / 278.5 MB, free: 12.27 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000107/0.008498, allocations: 143.6 kB / 278.6 MB, free: 12.13 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003479/0.008846, allocations: 294.9 kB / 278.9 MB, free: 11.84 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.008849, allocations: 0 / 278.9 MB, free: 11.84 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.008851, allocations: 0 / 278.9 MB, free: 11.84 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.008857, allocations: 0 / 278.9 MB, free: 11.84 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.0007809/0.009638, allocations: 0.6868 MB / 279.6 MB, free: 11.12 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.009677, allocations: 11.98 kB / 279.6 MB, free: 11.11 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001626/0.00984, allocations: 72.66 kB / 279.7 MB, free: 11.04 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002866/0.01013, allocations: 264 kB / 279.9 MB, free: 10.75 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.15e-05/0.01015, allocations: 29.03 kB / 280 MB, free: 10.72 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.15e-05/0.01018, allocations: 32.38 kB / 280 MB, free: 10.69 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004871/0.01067, allocations: 334.1 kB / 280.3 MB, free: 10.33 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.01068, allocations: 4.125 kB / 280.3 MB, free: 10.33 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.535e-05/0.0107, allocations: 12.38 kB / 280.3 MB, free: 10.32 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.305e-05/0.01072, allocations: 11.94 kB / 280.3 MB, free: 10.3 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001947/0.01091, allocations: 127.8 kB / 280.5 MB, free: 10.18 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001097/0.01201, allocations: 1.038 MB / 281.5 MB, free: 9.07 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002583/0.01227, allocations: 147.3 kB / 281.6 MB, free: 8.914 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.078e-05/0.01234, allocations: 50.64 kB / 281.7 MB, free: 8.863 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.206e-05/0.01236, allocations: 4 kB / 281.7 MB, free: 8.859 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.01239, allocations: 41.33 kB / 281.7 MB, free: 8.809 MB / 266.7 MB Notification: Performance of pre-optimization done (n=18): time 1.653e-06/0.01239, allocations: 0 / 281.7 MB, free: 8.809 MB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.0007077/0.0131, allocations: 329 kB / 282.1 MB, free: 8.477 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.032e-05/0.01313, allocations: 51.41 kB / 282.1 MB, free: 8.414 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002041/0.01333, allocations: 308.2 kB / 282.4 MB, free: 8.098 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.01335, allocations: 25.7 kB / 282.4 MB, free: 8.066 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00012/0.01347, allocations: 274.9 kB / 282.7 MB, free: 7.793 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.495e-05/0.0135, allocations: 59.5 kB / 282.8 MB, free: 7.734 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.797e-05/0.01356, allocations: 55.36 kB / 282.8 MB, free: 7.672 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.01369, allocations: 0.5079 MB / 283.3 MB, free: 7.152 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.704e-05/0.01375, allocations: 27.98 kB / 283.4 MB, free: 7.125 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001072/0.01386, allocations: 140.5 kB / 283.5 MB, free: 6.941 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001766/0.01404, allocations: 188.4 kB / 283.7 MB, free: 6.711 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.01404, allocations: 7.938 kB / 283.7 MB, free: 6.703 MB / 266.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003281/0.01437, allocations: 272.4 kB / 283.9 MB, free: 6.43 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.01438, allocations: 4 kB / 284 MB, free: 6.426 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.01439, allocations: 4 kB / 284 MB, free: 6.422 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003378/0.01473, allocations: 107.6 kB / 284.1 MB, free: 6.312 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.303e-05/0.01481, allocations: 39.92 kB / 284.1 MB, free: 6.273 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001562/0.01637, allocations: 2.374 MB / 286.5 MB, free: 3.773 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.603e-05/0.01646, allocations: 27.83 kB / 286.5 MB, free: 3.746 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.01647, allocations: 12 kB / 286.5 MB, free: 3.734 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 9.728e-05/0.01657, allocations: 176.5 kB / 286.7 MB, free: 3.551 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.482e-05/0.0166, allocations: 31.86 kB / 286.7 MB, free: 3.52 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.019e-05/0.01663, allocations: 34.05 kB / 286.8 MB, free: 3.484 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.01663, allocations: 0 / 286.8 MB, free: 3.484 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.01664, allocations: 7.938 kB / 286.8 MB, free: 3.477 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.01664, allocations: 0 / 286.8 MB, free: 3.477 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006958/0.01734, allocations: 0.5621 MB / 287.3 MB, free: 2.871 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.01734, allocations: 0 / 287.3 MB, free: 2.871 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.724e-05/0.01738, allocations: 12 kB / 287.3 MB, free: 2.859 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002417/0.01762, allocations: 103.5 kB / 287.4 MB, free: 2.754 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.01763, allocations: 11.94 kB / 287.4 MB, free: 2.742 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001262/0.01889, allocations: 2.347 MB / 289.8 MB, free: 276 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.01889, allocations: 4 kB / 289.8 MB, free: 272 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002841/0.01918, allocations: 351.6 kB / 290.1 MB, free: 15.9 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.481e-05/0.0192, allocations: 27.8 kB / 290.2 MB, free: 15.87 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.553e-05/0.01922, allocations: 4 kB / 290.2 MB, free: 15.87 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.212e-05/0.0193, allocations: 24.02 kB / 290.2 MB, free: 15.84 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.052e-05/0.01935, allocations: 11.97 kB / 290.2 MB, free: 15.83 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.176e-06/0.01936, allocations: 8 kB / 290.2 MB, free: 15.82 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001156/0.01947, allocations: 217 kB / 290.4 MB, free: 15.61 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01947, allocations: 0 / 290.4 MB, free: 15.61 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002817/0.01976, allocations: 99.78 kB / 290.5 MB, free: 15.51 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: 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.00012/0.01988, allocations: 99.25 kB / 290.6 MB, free: 15.41 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003928/0.02027, allocations: 335.4 kB / 290.9 MB, free: 15.06 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.02027, allocations: 0 / 290.9 MB, free: 15.06 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001732/0.02044, allocations: 269.2 kB / 291.2 MB, free: 14.77 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002632/0.02071, allocations: 48.53 kB / 291.3 MB, free: 14.73 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008732/0.02158, allocations: 0.5104 MB / 291.8 MB, free: 14.19 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.817e-05/0.02164, allocations: 96.41 kB / 291.9 MB, free: 14.08 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.683e-05/0.0217, allocations: 22.28 kB / 291.9 MB, free: 14.05 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.819e-05/0.02173, allocations: 20.5 kB / 291.9 MB, free: 14.04 MB / 282.7 MB Notification: Performance of SimCode: time 1.272e-06/0.02174, allocations: 0 / 291.9 MB, free: 14.04 MB / 282.7 MB Notification: Performance of Templates: time 0.005603/0.02734, allocations: 3.454 MB / 295.4 MB, free: 10.62 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe 2>&1) [Timeout 240] 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","",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 filterSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.diff.mat", vars={"vOut.v"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] filterSimulationResults("/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.ref.mat", vars={"vOut.v"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.9123566951602697]