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.InvertingAmplifier.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.001361/0.001361, allocations: 108.4 kB / 21.17 MB, free: 0.7852 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.00144/0.00144, allocations: 217.3 kB / 24.47 MB, free: 4.359 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.539/1.539, allocations: 230.4 MB / 258.1 MB, free: 8.16 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.InvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|gain.opAmp.out.v|gain.opAmp.out.i",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|gain.opAmp.out.v|gain.opAmp.out.i",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier") [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.002019/0.002019, allocations: 67.84 kB / 378.8 MB, free: 2.895 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2995/0.3015, allocations: 53.32 MB / 432.1 MB, free: 7.398 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier): time 0.004767/0.3063, allocations: 2.98 MB / 435.1 MB, free: 4.406 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001586/0.3079, allocations: 0.7713 MB / 435.8 MB, free: 3.629 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001898/0.3081, allocations: 7.938 kB / 435.8 MB, free: 3.621 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001941/0.3083, allocations: 47.56 kB / 435.9 MB, free: 3.574 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002224/0.3085, allocations: 103.1 kB / 436 MB, free: 3.473 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003463/0.3088, allocations: 123.8 kB / 436.1 MB, free: 3.352 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005161/0.3094, allocations: 414.5 kB / 436.5 MB, free: 2.945 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002173/0.3096, allocations: 91.27 kB / 436.6 MB, free: 2.852 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002176/0.3098, allocations: 159.4 kB / 436.8 MB, free: 2.695 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002523/0.31, allocations: 179.2 kB / 436.9 MB, free: 2.52 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.302e-05/0.3101, allocations: 40 kB / 437 MB, free: 2.48 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.188e-05/0.3102, allocations: 40 kB / 437 MB, free: 2.441 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.531e-05/0.3103, allocations: 79.75 kB / 437.1 MB, free: 2.363 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001974/0.3105, allocations: 171.2 kB / 437.3 MB, free: 2.195 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000567/0.311, allocations: 451.8 kB / 437.7 MB, free: 1.754 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.311, allocations: 0 / 437.7 MB, free: 1.754 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.311, allocations: 0 / 437.7 MB, free: 1.754 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.695e-06/0.311, allocations: 0 / 437.7 MB, free: 1.754 MB / 334.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.001479/0.3125, allocations: 0.6923 MB / 438.4 MB, free: 1.008 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.3126, allocations: 12.03 kB / 438.4 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.962e-05/0.3126, allocations: 36.7 kB / 438.4 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005607/0.3132, allocations: 311.6 kB / 438.7 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.43e-05/0.3132, allocations: 16.94 kB / 438.8 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.037e-05/0.3133, allocations: 24.38 kB / 438.8 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007781/0.3141, allocations: 335.9 kB / 439.1 MB, free: 244 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.3141, allocations: 0 / 439.1 MB, free: 244 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.471e-05/0.3141, allocations: 12 kB / 439.1 MB, free: 232 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.213e-05/0.3141, allocations: 8 kB / 439.1 MB, free: 224 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008752/0.315, allocations: 278.1 kB / 439.4 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002134/0.3171, allocations: 1.147 MB / 440.5 MB, free: 14.72 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008996/0.318, allocations: 242.5 kB / 440.8 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003546/0.3184, allocations: 100.8 kB / 440.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.402e-05/0.3184, allocations: 0 / 440.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005167/0.3189, allocations: 185.9 kB / 441.1 MB, free: 14.17 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.322e-06/0.3189, allocations: 0 / 441.1 MB, free: 14.17 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002533/0.3215, allocations: 0.6666 MB / 441.7 MB, free: 13.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.542e-05/0.3216, allocations: 106.8 kB / 441.8 MB, free: 13.35 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003628/0.3219, allocations: 282.6 kB / 442.1 MB, free: 13.06 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.966e-05/0.322, allocations: 33.7 kB / 442.1 MB, free: 13.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001676/0.3221, allocations: 200 kB / 442.3 MB, free: 12.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.824e-05/0.3222, allocations: 47.64 kB / 442.4 MB, free: 12.78 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.631e-05/0.3223, allocations: 45.94 kB / 442.4 MB, free: 12.72 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.3224, allocations: 338.8 kB / 442.8 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003735/0.3228, allocations: 108.4 kB / 442.9 MB, free: 12.28 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000448/0.3233, allocations: 201.1 kB / 443.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007724/0.324, allocations: 310.4 kB / 443.4 MB, free: 11.7 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.324, allocations: 7.938 kB / 443.4 MB, free: 11.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001375/0.3254, allocations: 475.7 kB / 443.8 MB, free: 11.21 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.957e-05/0.3255, allocations: 37.7 kB / 443.9 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.3255, allocations: 8.062 kB / 443.9 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004114/0.3259, allocations: 80.8 kB / 444 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000224/0.3261, allocations: 43.91 kB / 444 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003057/0.3292, allocations: 1.998 MB / 446 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003733/0.3295, allocations: 59.73 kB / 446.1 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.464e-05/0.3296, allocations: 12.12 kB / 446.1 MB, free: 8.824 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (23): * Single equations (assignments): 21 * 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.0001969/0.3298, allocations: 149.8 kB / 446.2 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.732e-05/0.3298, allocations: 23.86 kB / 446.2 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.68e-05/0.3299, allocations: 29.83 kB / 446.3 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.3299, allocations: 0 / 446.3 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.3299, allocations: 3.938 kB / 446.3 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.3299, allocations: 3.984 kB / 446.3 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00036/0.3302, allocations: 329.3 kB / 446.6 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.3302, allocations: 0 / 446.6 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001476/0.3304, allocations: 27.97 kB / 446.6 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000293/0.3307, allocations: 80.8 kB / 446.7 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.3307, allocations: 0 / 446.7 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00262/0.3333, allocations: 1.809 MB / 448.5 MB, free: 6.168 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.3333, allocations: 0 / 448.5 MB, free: 6.168 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001152/0.3345, allocations: 365.5 kB / 448.9 MB, free: 5.789 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.3346, allocations: 116.8 kB / 449 MB, free: 5.656 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.217e-05/0.3346, allocations: 4 kB / 449 MB, free: 5.652 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002537/0.3349, allocations: 31.95 kB / 449 MB, free: 5.621 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.641e-05/0.335, allocations: 15.98 kB / 449 MB, free: 5.605 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-05/0.335, allocations: 11.98 kB / 449.1 MB, free: 5.594 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000232/0.3352, allocations: 201.9 kB / 449.2 MB, free: 5.398 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3352, allocations: 0 / 449.2 MB, free: 5.398 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004119/0.3356, allocations: 83.89 kB / 449.3 MB, free: 5.316 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.0001672/0.3358, allocations: 107.2 kB / 449.4 MB, free: 5.203 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001132/0.3369, allocations: 429.7 kB / 449.9 MB, free: 4.758 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3369, allocations: 0 / 449.9 MB, free: 4.758 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000514/0.3374, allocations: 235.2 kB / 450.1 MB, free: 4.516 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003434/0.3378, allocations: 40.53 kB / 450.1 MB, free: 4.477 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001154/0.3389, allocations: 0.4957 MB / 450.6 MB, free: 3.957 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004114/0.3393, allocations: 0.7558 MB / 451.4 MB, free: 3.172 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001176/0.3395, allocations: 26.28 kB / 451.4 MB, free: 3.141 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.192e-05/0.3395, allocations: 19.44 kB / 451.4 MB, free: 3.125 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3395, allocations: 0 / 451.4 MB, free: 3.125 MB / 350.1 MB Notification: Performance of Templates: time 0.009119/0.3486, allocations: 4.327 MB / 455.7 MB, free: 14.84 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/InvertingAmplifier/InvertingAmplifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.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: 4.660959410015494]