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.001069/0.001069, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.001104/0.001104, allocations: 160.5 kB / 24.56 MB, free: 16 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 0.9447/0.9447, allocations: 177 MB / 204.8 MB, free: 5.578 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.343e-06/1.343e-06, allocations: 0 / 272.9 MB, free: 1.414 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.058e-05/2.192e-05, allocations: 7.719 kB / 273 MB, free: 1.406 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.005371/0.005393, allocations: 3.228 MB / 276.2 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001171/0.006564, allocations: 0.7828 MB / 277 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001321/0.006696, allocations: 7.938 kB / 277 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001468/0.006843, allocations: 59.38 kB / 277 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001657/0.007009, allocations: 131 kB / 277.2 MB, free: 13.17 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002916/0.0073, allocations: 115.7 kB / 277.3 MB, free: 13.06 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003275/0.007628, allocations: 461.9 kB / 277.7 MB, free: 12.61 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001736/0.007802, allocations: 104.5 kB / 277.8 MB, free: 12.5 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000262/0.008064, allocations: 263.4 kB / 278.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000168/0.008232, allocations: 147.5 kB / 278.2 MB, free: 12.1 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.21e-05/0.008274, allocations: 48 kB / 278.3 MB, free: 12.05 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.678e-05/0.00834, allocations: 44 kB / 278.3 MB, free: 12.01 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.974e-05/0.00839, allocations: 91.67 kB / 278.4 MB, free: 11.92 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.951e-05/0.00848, allocations: 139.7 kB / 278.5 MB, free: 11.78 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002631/0.008743, allocations: 294.9 kB / 278.8 MB, free: 11.49 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.008745, allocations: 0 / 278.8 MB, free: 11.49 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.008746, allocations: 0 / 278.8 MB, free: 11.49 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.008752, allocations: 0 / 278.8 MB, free: 11.49 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.0006333/0.009385, allocations: 0.679 MB / 279.5 MB, free: 10.78 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.009421, allocations: 15.98 kB / 279.5 MB, free: 10.76 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001512/0.009572, allocations: 80.64 kB / 279.6 MB, free: 10.68 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002632/0.009836, allocations: 260 kB / 279.9 MB, free: 10.4 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.009853, allocations: 24.97 kB / 279.9 MB, free: 10.38 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.09e-05/0.009884, allocations: 36.38 kB / 279.9 MB, free: 10.34 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003335/0.01022, allocations: 334.1 kB / 280.2 MB, free: 9.984 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.01023, allocations: 192 / 280.2 MB, free: 9.984 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.325e-05/0.01025, allocations: 16.38 kB / 280.3 MB, free: 9.969 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.01026, allocations: 11.94 kB / 280.3 MB, free: 9.957 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001828/0.01044, allocations: 123.8 kB / 280.4 MB, free: 9.832 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001035/0.01148, allocations: 1.031 MB / 281.4 MB, free: 8.734 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002313/0.01171, allocations: 147.2 kB / 281.6 MB, free: 8.578 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.948e-05/0.01178, allocations: 58.3 kB / 281.6 MB, free: 8.52 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.683e-05/0.01179, allocations: 4 kB / 281.6 MB, free: 8.516 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.151e-05/0.01182, allocations: 37.39 kB / 281.7 MB, free: 8.469 MB / 266.7 MB Notification: Performance of pre-optimization done (n=18): time 1.332e-06/0.01182, allocations: 3.938 kB / 281.7 MB, free: 8.465 MB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.0006691/0.01249, allocations: 329 kB / 282 MB, free: 8.133 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.379e-05/0.01251, allocations: 55.41 kB / 282 MB, free: 8.066 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002792/0.01279, allocations: 304.2 kB / 282.3 MB, free: 7.754 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.01281, allocations: 33.7 kB / 282.4 MB, free: 7.715 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.876e-05/0.01291, allocations: 258.9 kB / 282.6 MB, free: 7.457 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.173e-05/0.01294, allocations: 59.5 kB / 282.7 MB, free: 7.398 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.272e-05/0.013, allocations: 63.34 kB / 282.7 MB, free: 7.328 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.01313, allocations: 0.4962 MB / 283.2 MB, free: 6.82 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.84e-05/0.01319, allocations: 39.97 kB / 283.3 MB, free: 6.781 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001074/0.01329, allocations: 140.5 kB / 283.4 MB, free: 6.598 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001665/0.01346, allocations: 188.3 kB / 283.6 MB, free: 6.367 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.01347, allocations: 3.938 kB / 283.6 MB, free: 6.363 MB / 266.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003241/0.01379, allocations: 272.1 kB / 283.9 MB, free: 6.09 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.0138, allocations: 8.312 kB / 283.9 MB, free: 6.082 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.01381, allocations: 8 kB / 283.9 MB, free: 6.074 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003161/0.01412, allocations: 99.59 kB / 284 MB, free: 5.973 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.34e-05/0.01421, allocations: 39.92 kB / 284 MB, free: 5.934 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001436/0.01564, allocations: 2.385 MB / 286.4 MB, free: 3.422 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.113e-05/0.01573, allocations: 31.86 kB / 286.4 MB, free: 3.391 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.31e-05/0.01575, allocations: 12 kB / 286.5 MB, free: 3.379 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.205e-05/0.01584, allocations: 176.5 kB / 286.6 MB, free: 3.195 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.228e-05/0.01587, allocations: 27.86 kB / 286.7 MB, free: 3.168 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.721e-05/0.0159, allocations: 26.11 kB / 286.7 MB, free: 3.141 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-06/0.0159, allocations: 4 kB / 286.7 MB, free: 3.137 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.0159, allocations: 3.938 kB / 286.7 MB, free: 3.133 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.01591, allocations: 0 / 286.7 MB, free: 3.133 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000498/0.0164, allocations: 0.5583 MB / 287.2 MB, free: 2.531 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.01641, allocations: 3.984 kB / 287.2 MB, free: 2.527 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.84e-05/0.01644, allocations: 15.94 kB / 287.3 MB, free: 2.512 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00023/0.01667, allocations: 99.59 kB / 287.4 MB, free: 2.41 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.417e-06/0.01668, allocations: 7.922 kB / 287.4 MB, free: 2.402 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001355/0.01804, allocations: 2.358 MB / 289.7 MB, free: 15.92 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.01804, allocations: 3.938 kB / 289.7 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002784/0.01832, allocations: 347.7 kB / 290.1 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.316e-05/0.01834, allocations: 27.81 kB / 290.1 MB, free: 15.52 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.587e-05/0.01836, allocations: 4 kB / 290.1 MB, free: 15.52 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.544e-05/0.01844, allocations: 24.02 kB / 290.1 MB, free: 15.5 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.099e-05/0.01849, allocations: 27.94 kB / 290.2 MB, free: 15.47 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.0185, allocations: 4 kB / 290.2 MB, free: 15.46 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001171/0.01862, allocations: 209.1 kB / 290.4 MB, free: 15.26 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01862, allocations: 4 kB / 290.4 MB, free: 15.25 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003013/0.01892, allocations: 99.72 kB / 290.5 MB, free: 15.16 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 7.973e-05/0.019, allocations: 103.2 kB / 290.6 MB, free: 15.05 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003407/0.01934, allocations: 331.4 kB / 290.9 MB, free: 14.7 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.01934, allocations: 0 / 290.9 MB, free: 14.7 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001579/0.0195, allocations: 268 kB / 291.1 MB, free: 14.42 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002336/0.01973, allocations: 41.19 kB / 291.2 MB, free: 14.38 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007676/0.0205, allocations: 0.5067 MB / 291.7 MB, free: 13.85 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.367e-05/0.02055, allocations: 96.41 kB / 291.8 MB, free: 13.73 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.591e-05/0.02061, allocations: 22.3 kB / 291.8 MB, free: 13.71 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.55e-05/0.02065, allocations: 20.5 kB / 291.8 MB, free: 13.69 MB / 282.7 MB Notification: Performance of SimCode: time 1.392e-06/0.02065, allocations: 0 / 291.8 MB, free: 13.69 MB / 282.7 MB Notification: Performance of Templates: time 0.0054/0.02605, allocations: 3.601 MB / 295.4 MB, free: 10.14 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.870302277151495]