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.NonInvertingAmplifier.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.001596/0.001596, allocations: 112.8 kB / 19.17 MB, free: 3.871 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.001876/0.001876, allocations: 210.5 kB / 22.13 MB, free: 0.918 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.511/1.511, allocations: 230.4 MB / 255.4 MB, free: 15.01 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.NonInvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|buffer.opAmp.out.v|buffer.opAmp.out.i",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|buffer.opAmp.out.v|buffer.opAmp.out.i",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") [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.001891/0.001891, allocations: 71.83 kB / 374.8 MB, free: 9.727 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1175, allocations: 53.32 MB / 428.1 MB, free: 4.316 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.004985/0.1225, allocations: 2.958 MB / 431.1 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001725/0.1242, allocations: 0.7674 MB / 431.8 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001787/0.1244, allocations: 4 kB / 431.8 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001902/0.1246, allocations: 51.5 kB / 431.9 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003222/0.1249, allocations: 103.2 kB / 432 MB, free: 420 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004658/0.1254, allocations: 119.8 kB / 432.1 MB, free: 300 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.2514/0.3768, allocations: 413.6 kB / 432.5 MB, free: 8.219 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003377/0.3771, allocations: 83.2 kB / 432.6 MB, free: 8.203 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003369/0.3775, allocations: 157.6 kB / 432.7 MB, free: 8.203 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002665/0.3777, allocations: 172 kB / 432.9 MB, free: 8.168 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.557e-05/0.3778, allocations: 43.38 kB / 432.9 MB, free: 8.168 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.041e-05/0.3779, allocations: 41.28 kB / 433 MB, free: 8.168 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.944e-05/0.378, allocations: 80.05 kB / 433.1 MB, free: 8.156 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001923/0.3782, allocations: 175.8 kB / 433.2 MB, free: 8.109 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005698/0.3788, allocations: 460.3 kB / 433.7 MB, free: 8.051 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3788, allocations: 0 / 433.7 MB, free: 8.051 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.3788, allocations: 3.625 kB / 433.7 MB, free: 8.051 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.656e-06/0.3788, allocations: 1 kB / 433.7 MB, free: 8.051 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001315/0.3801, allocations: 0.6773 MB / 434.4 MB, free: 7.562 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.3801, allocations: 10.06 kB / 434.4 MB, free: 7.562 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.321e-05/0.3802, allocations: 40.83 kB / 434.4 MB, free: 7.543 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004144/0.3806, allocations: 300.7 kB / 434.7 MB, free: 7.316 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.712e-05/0.3807, allocations: 20.56 kB / 434.7 MB, free: 7.312 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.855e-05/0.3807, allocations: 27.73 kB / 434.8 MB, free: 7.312 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006629/0.3814, allocations: 324.7 kB / 435.1 MB, free: 7.258 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.3814, allocations: 4.531 kB / 435.1 MB, free: 7.254 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.81e-05/0.3814, allocations: 7.781 kB / 435.1 MB, free: 7.254 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.176e-06/0.3814, allocations: 8.594 kB / 435.1 MB, free: 7.254 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007846/0.3822, allocations: 289.1 kB / 435.4 MB, free: 7.254 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001779/0.384, allocations: 1.141 MB / 436.5 MB, free: 6.723 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000898/0.3849, allocations: 241 kB / 436.8 MB, free: 6.699 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003548/0.3853, allocations: 103.5 kB / 436.9 MB, free: 6.688 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.196e-05/0.3853, allocations: 6.312 kB / 436.9 MB, free: 6.684 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004851/0.3858, allocations: 181.4 kB / 437 MB, free: 6.609 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 3.277e-06/0.3858, allocations: 0.7969 kB / 437 MB, free: 6.609 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002479/0.3883, allocations: 0.6663 MB / 437.7 MB, free: 6.445 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.393e-05/0.3883, allocations: 105.8 kB / 437.8 MB, free: 6.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003519/0.3887, allocations: 283 kB / 438.1 MB, free: 6.215 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.775e-05/0.3887, allocations: 32.34 kB / 438.1 MB, free: 6.184 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001292/0.3888, allocations: 207.1 kB / 438.3 MB, free: 6.043 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.077e-05/0.3889, allocations: 44.05 kB / 438.4 MB, free: 6.02 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.389, allocations: 51.02 kB / 438.4 MB, free: 5.996 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.825e-05/0.3891, allocations: 336.8 kB / 438.7 MB, free: 5.684 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003697/0.3894, allocations: 112.6 kB / 438.9 MB, free: 5.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000408/0.3898, allocations: 216.5 kB / 439.1 MB, free: 5.551 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007298/0.3906, allocations: 317.2 kB / 439.4 MB, free: 5.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.3906, allocations: 0 / 439.4 MB, free: 5.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001337/0.3919, allocations: 484.1 kB / 439.8 MB, free: 5.312 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.183e-05/0.3919, allocations: 35.86 kB / 439.9 MB, free: 5.281 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.392, allocations: 7.25 kB / 439.9 MB, free: 5.277 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004386/0.3924, allocations: 85.7 kB / 440 MB, free: 5.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002318/0.3926, allocations: 49.38 kB / 440 MB, free: 5.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00278/0.3954, allocations: 2.07 MB / 442.1 MB, free: 3.574 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004181/0.3958, allocations: 53.45 kB / 442.1 MB, free: 3.559 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.912e-05/0.3958, allocations: 13.86 kB / 442.2 MB, free: 3.555 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001814/0.396, allocations: 155.5 kB / 442.3 MB, free: 3.414 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.358e-05/0.3961, allocations: 24.42 kB / 442.3 MB, free: 3.402 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.179e-05/0.3961, allocations: 31.94 kB / 442.4 MB, free: 3.371 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.3961, allocations: 1.031 kB / 442.4 MB, free: 3.371 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.3961, allocations: 1.062 kB / 442.4 MB, free: 3.371 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.3961, allocations: 0.7969 kB / 442.4 MB, free: 3.371 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003477/0.3965, allocations: 325.7 kB / 442.7 MB, free: 3.121 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.3965, allocations: 1.219 kB / 442.7 MB, free: 3.121 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001444/0.3966, allocations: 25.22 kB / 442.7 MB, free: 3.117 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002998/0.3969, allocations: 84.39 kB / 442.8 MB, free: 3.094 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.743e-05/0.3969, allocations: 2.547 kB / 442.8 MB, free: 3.094 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002274/0.3992, allocations: 1.982 MB / 444.8 MB, free: 1.41 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.3992, allocations: 3.938 kB / 444.8 MB, free: 1.406 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001164/0.4004, allocations: 372.2 kB / 445.1 MB, free: 1.262 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.992e-05/0.4005, allocations: 105 kB / 445.2 MB, free: 1.148 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.792e-05/0.4005, allocations: 2.516 kB / 445.2 MB, free: 1.148 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000267/0.4008, allocations: 42.16 kB / 445.3 MB, free: 1.137 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.4009, allocations: 17.3 kB / 445.3 MB, free: 1.133 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.951e-05/0.4009, allocations: 7.391 kB / 445.3 MB, free: 1.133 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002696/0.4012, allocations: 204.1 kB / 445.5 MB, free: 1.016 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4012, allocations: 0 / 445.5 MB, free: 1.016 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005265/0.4017, allocations: 75.48 kB / 445.6 MB, free: 1.004 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001569/0.4019, allocations: 110 kB / 445.7 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001379/0.4032, allocations: 494.8 kB / 446.2 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.4032, allocations: 5.281 kB / 446.2 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004755/0.4037, allocations: 230.4 kB / 446.4 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003536/0.4041, allocations: 53.22 kB / 446.5 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003293/0.4074, allocations: 0.9629 MB / 447.4 MB, free: 172 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004321/0.4078, allocations: 0.7588 MB / 448.2 MB, free: 15.46 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.231e-05/0.4079, allocations: 22.03 kB / 448.2 MB, free: 15.45 MB / 366.1 MB Notification: Performance of SimCode: time 1.052e-06/0.4079, allocations: 0 / 448.2 MB, free: 15.45 MB / 366.1 MB Notification: Performance of Templates: time 0.009313/0.4172, allocations: 4.805 MB / 453 MB, free: 14.66 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/NonInvertingAmplifier/NonInvertingAmplifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.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: 7.481357204029337]