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.001444/0.001444, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.001182/0.001182, allocations: 159.4 kB / 25.61 MB, free: 8.582 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 1.004/1.004, allocations: 177 MB / 205.9 MB, free: 4.457 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 2.014e-06/2.014e-06, allocations: 0 / 274.2 MB, free: 4.246 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.851e-05/3.053e-05, allocations: 2.312 kB / 274.2 MB, free: 4.242 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.005081/0.005112, allocations: 3.175 MB / 277.3 MB, free: 1.062 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001659/0.006771, allocations: 0.7843 MB / 278.1 MB, free: 284 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002376/0.007008, allocations: 8 kB / 278.1 MB, free: 276 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002113/0.007219, allocations: 63.36 kB / 278.2 MB, free: 212 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003131/0.007533, allocations: 123 kB / 278.3 MB, free: 88 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004039/0.007936, allocations: 121.6 kB / 278.4 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004269/0.008363, allocations: 457.8 kB / 278.9 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002009/0.008564, allocations: 108.5 kB / 279 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003266/0.008891, allocations: 264 kB / 279.2 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001809/0.009072, allocations: 148.2 kB / 279.4 MB, free: 15.01 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.593e-05/0.009118, allocations: 40 kB / 279.4 MB, free: 14.97 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.546e-05/0.009193, allocations: 52 kB / 279.5 MB, free: 14.92 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.396e-05/0.009247, allocations: 83.69 kB / 279.6 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.872e-05/0.009346, allocations: 143.7 kB / 279.7 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003187/0.009664, allocations: 290.9 kB / 280 MB, free: 14.41 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.009668, allocations: 0 / 280 MB, free: 14.41 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.00967, allocations: 0 / 280 MB, free: 14.41 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.009674, allocations: 4 kB / 280 MB, free: 14.41 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.0006386/0.01031, allocations: 0.6868 MB / 280.7 MB, free: 13.68 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.244e-05/0.01035, allocations: 8.031 kB / 280.7 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001542/0.0105, allocations: 84.59 kB / 280.8 MB, free: 13.59 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002494/0.01075, allocations: 252 kB / 281 MB, free: 13.32 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.01077, allocations: 25.03 kB / 281 MB, free: 13.3 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.133e-05/0.0108, allocations: 32.38 kB / 281.1 MB, free: 13.27 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002729/0.01107, allocations: 314.1 kB / 281.4 MB, free: 12.93 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.01108, allocations: 192 / 281.4 MB, free: 12.93 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.125e-05/0.0111, allocations: 16.38 kB / 281.4 MB, free: 12.91 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.01111, allocations: 11.94 kB / 281.4 MB, free: 12.9 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001196/0.01123, allocations: 96.5 kB / 281.5 MB, free: 12.8 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001146/0.01238, allocations: 1.05 MB / 282.5 MB, free: 11.69 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002249/0.0126, allocations: 139.2 kB / 282.7 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.901e-05/0.01265, allocations: 47.66 kB / 282.7 MB, free: 11.49 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.01267, allocations: 7.984 kB / 282.7 MB, free: 11.48 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/0.0127, allocations: 45.33 kB / 282.8 MB, free: 11.43 MB / 266.7 MB Notification: Performance of pre-optimization done (n=18): time 1.342e-06/0.0127, allocations: 0 / 282.8 MB, free: 11.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.0006418/0.01335, allocations: 303.2 kB / 283.1 MB, free: 11.12 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.617e-05/0.01337, allocations: 59.41 kB / 283.1 MB, free: 11.05 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001675/0.01354, allocations: 304 kB / 283.4 MB, free: 10.73 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.354e-05/0.01355, allocations: 29.7 kB / 283.5 MB, free: 10.7 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001172/0.01367, allocations: 266.9 kB / 283.7 MB, free: 10.43 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.61e-05/0.01371, allocations: 55.53 kB / 283.8 MB, free: 10.38 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.978e-05/0.01377, allocations: 67.28 kB / 283.8 MB, free: 10.3 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.01388, allocations: 0.504 MB / 284.3 MB, free: 9.789 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.439e-05/0.01391, allocations: 23.98 kB / 284.4 MB, free: 9.766 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.871e-05/0.01399, allocations: 136.5 kB / 284.5 MB, free: 9.586 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000127/0.01412, allocations: 175.7 kB / 284.7 MB, free: 9.371 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.01412, allocations: 11.94 kB / 284.7 MB, free: 9.359 MB / 266.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002857/0.01441, allocations: 244.7 kB / 284.9 MB, free: 9.109 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.01442, allocations: 8 kB / 284.9 MB, free: 9.102 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.01443, allocations: 4.312 kB / 284.9 MB, free: 9.098 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002716/0.0147, allocations: 95.59 kB / 285 MB, free: 9 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.168e-05/0.01478, allocations: 47.92 kB / 285.1 MB, free: 8.953 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001378/0.01616, allocations: 2.323 MB / 287.4 MB, free: 6.512 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.342e-05/0.01624, allocations: 31.88 kB / 287.4 MB, free: 6.48 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.256e-05/0.01626, allocations: 8 kB / 287.4 MB, free: 6.473 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.349e-05/0.01635, allocations: 184.4 kB / 287.6 MB, free: 6.281 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.359e-05/0.01638, allocations: 27.86 kB / 287.6 MB, free: 6.254 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.883e-05/0.01641, allocations: 26.12 kB / 287.7 MB, free: 6.227 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.01642, allocations: 4 kB / 287.7 MB, free: 6.223 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.01642, allocations: 0 / 287.7 MB, free: 6.223 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.01642, allocations: 7.922 kB / 287.7 MB, free: 6.215 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004346/0.01686, allocations: 0.4937 MB / 288.2 MB, free: 5.684 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.01686, allocations: 0 / 288.2 MB, free: 5.684 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.568e-05/0.01689, allocations: 19.94 kB / 288.2 MB, free: 5.664 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002175/0.01711, allocations: 95.59 kB / 288.3 MB, free: 5.566 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.01712, allocations: 7.984 kB / 288.3 MB, free: 5.559 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001221/0.01834, allocations: 2.32 MB / 290.6 MB, free: 3.121 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.01834, allocations: 0 / 290.6 MB, free: 3.121 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002562/0.0186, allocations: 334.1 kB / 290.9 MB, free: 2.773 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.583e-05/0.01862, allocations: 31.78 kB / 291 MB, free: 2.742 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.662e-05/0.01864, allocations: 8 kB / 291 MB, free: 2.734 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.645e-05/0.01873, allocations: 20.02 kB / 291 MB, free: 2.715 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.927e-05/0.01877, allocations: 15.97 kB / 291 MB, free: 2.699 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.276e-06/0.01877, allocations: 4 kB / 291 MB, free: 2.695 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.43e-05/0.01886, allocations: 205 kB / 291.2 MB, free: 2.496 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01886, allocations: 0 / 291.2 MB, free: 2.496 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002954/0.01915, allocations: 99.78 kB / 291.3 MB, free: 2.398 MB / 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 9.599e-05/0.01925, allocations: 95.25 kB / 291.4 MB, free: 2.297 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003081/0.01956, allocations: 331.3 kB / 291.7 MB, free: 1.953 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.01956, allocations: 4 kB / 291.7 MB, free: 1.949 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001509/0.01971, allocations: 257.2 kB / 292 MB, free: 1.676 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002469/0.01996, allocations: 40.39 kB / 292 MB, free: 1.637 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007597/0.02072, allocations: 0.5104 MB / 292.5 MB, free: 1.098 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.262e-05/0.02077, allocations: 88.31 kB / 292.6 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.409e-05/0.02083, allocations: 26.28 kB / 292.6 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/0.02094, allocations: 110.2 kB / 292.8 MB, free: 0.8555 MB / 266.7 MB Notification: Performance of SimCode: time 7.01e-07/0.02094, allocations: 4 kB / 292.8 MB, free: 0.8516 MB / 266.7 MB Notification: Performance of Templates: time 0.005824/0.02676, allocations: 3.761 MB / 296.5 MB, free: 13.15 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.9200061978772283]