Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001834/0.001834, allocations: 119.5 kB / 18.5 MB, free: 4.551 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.002365/0.002365, allocations: 205.7 kB / 21.45 MB, free: 1.605 MB / 14.72 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.562/1.562, allocations: 230.2 MB / 254.5 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 178] 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.InvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|gain.opAmp.out.v|gain.opAmp.out.i",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001903/0.001903, allocations: 67.88 kB / 373.9 MB, free: 9.945 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1373, allocations: 53.33 MB / 427.2 MB, free: 4.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier): time 0.0058/0.1431, allocations: 2.954 MB / 430.1 MB, free: 1.551 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001744/0.1448, allocations: 0.7596 MB / 430.9 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001799/0.145, allocations: 8 kB / 430.9 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000194/0.1452, allocations: 51.5 kB / 431 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002207/0.1454, allocations: 99.19 kB / 431.1 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003371/0.1458, allocations: 123.8 kB / 431.2 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005136/0.1463, allocations: 414.4 kB / 431.6 MB, free: 104 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002417/0.1465, allocations: 91.25 kB / 431.7 MB, free: 4 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2495/0.396, allocations: 150.3 kB / 431.8 MB, free: 8.203 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002518/0.3963, allocations: 176.6 kB / 432 MB, free: 8.168 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.356e-05/0.3963, allocations: 40.25 kB / 432 MB, free: 8.168 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.276e-05/0.3964, allocations: 40.84 kB / 432.1 MB, free: 8.168 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.713e-05/0.3965, allocations: 79.98 kB / 432.2 MB, free: 8.156 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001862/0.3967, allocations: 175.4 kB / 432.3 MB, free: 8.113 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005686/0.3972, allocations: 457.3 kB / 432.8 MB, free: 8.055 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3972, allocations: 0 / 432.8 MB, free: 8.055 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3972, allocations: 0 / 432.8 MB, free: 8.055 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.724e-06/0.3972, allocations: 0.6875 kB / 432.8 MB, free: 8.055 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.001262/0.3985, allocations: 0.6821 MB / 433.5 MB, free: 7.562 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.3986, allocations: 13.31 kB / 433.5 MB, free: 7.559 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.987e-05/0.3986, allocations: 37.64 kB / 433.5 MB, free: 7.539 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004057/0.399, allocations: 297 kB / 433.8 MB, free: 7.316 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.845e-05/0.3991, allocations: 23.47 kB / 433.8 MB, free: 7.316 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.647e-05/0.3991, allocations: 23 kB / 433.8 MB, free: 7.316 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006723/0.3998, allocations: 329.1 kB / 434.2 MB, free: 7.262 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.3998, allocations: 5.531 kB / 434.2 MB, free: 7.258 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.119e-05/0.3998, allocations: 10.62 kB / 434.2 MB, free: 7.258 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.3998, allocations: 6.344 kB / 434.2 MB, free: 7.258 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007296/0.4006, allocations: 283.8 kB / 434.5 MB, free: 7.254 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00176/0.4023, allocations: 1.15 MB / 435.6 MB, free: 6.727 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008234/0.4032, allocations: 244.1 kB / 435.8 MB, free: 6.703 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003447/0.4035, allocations: 108.5 kB / 436 MB, free: 6.691 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.031e-05/0.4035, allocations: 2.812 kB / 436 MB, free: 6.691 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004678/0.404, allocations: 176.8 kB / 436.1 MB, free: 6.621 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.332e-06/0.404, allocations: 0 / 436.1 MB, free: 6.621 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002397/0.4064, allocations: 0.6568 MB / 436.8 MB, free: 6.457 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.415e-05/0.4064, allocations: 110.9 kB / 436.9 MB, free: 6.332 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000364/0.4068, allocations: 281.4 kB / 437.2 MB, free: 6.223 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.496e-05/0.4068, allocations: 34.36 kB / 437.2 MB, free: 6.188 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001411/0.407, allocations: 201.6 kB / 437.4 MB, free: 6.051 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.946e-05/0.407, allocations: 45.62 kB / 437.4 MB, free: 6.023 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.4071, allocations: 51.34 kB / 437.5 MB, free: 6.004 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.033e-05/0.4072, allocations: 332.3 kB / 437.8 MB, free: 5.691 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003887/0.4076, allocations: 114.2 kB / 437.9 MB, free: 5.684 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004057/0.408, allocations: 206.8 kB / 438.1 MB, free: 5.566 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006996/0.4087, allocations: 312.4 kB / 438.4 MB, free: 5.434 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.4087, allocations: 2.5 kB / 438.4 MB, free: 5.434 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001279/0.41, allocations: 473.9 kB / 438.9 MB, free: 5.336 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.621e-05/0.41, allocations: 32.7 kB / 438.9 MB, free: 5.305 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.41, allocations: 4.547 kB / 438.9 MB, free: 5.305 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004175/0.4104, allocations: 88.81 kB / 439 MB, free: 5.293 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002213/0.4107, allocations: 47.44 kB / 439.1 MB, free: 5.293 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002562/0.4132, allocations: 1.994 MB / 441.1 MB, free: 3.758 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003629/0.4136, allocations: 61.7 kB / 441.1 MB, free: 3.734 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.716e-05/0.4136, allocations: 15.17 kB / 441.1 MB, free: 3.73 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.0001398/0.4138, allocations: 152.3 kB / 441.3 MB, free: 3.594 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.689e-05/0.4138, allocations: 23.3 kB / 441.3 MB, free: 3.582 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.79e-05/0.4138, allocations: 23.23 kB / 441.3 MB, free: 3.566 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.4138, allocations: 2.125 kB / 441.3 MB, free: 3.566 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.4139, allocations: 4.797 kB / 441.3 MB, free: 3.562 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.4139, allocations: 0.5625 kB / 441.3 MB, free: 3.562 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003024/0.4142, allocations: 335.7 kB / 441.7 MB, free: 3.305 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.4142, allocations: 0 / 441.7 MB, free: 3.305 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001361/0.4143, allocations: 22.33 kB / 441.7 MB, free: 3.305 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002778/0.4146, allocations: 88.91 kB / 441.8 MB, free: 3.277 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.643e-05/0.4146, allocations: 1.906 kB / 441.8 MB, free: 3.277 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002073/0.4167, allocations: 1.797 MB / 443.6 MB, free: 1.762 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.4167, allocations: 7.891 kB / 443.6 MB, free: 1.762 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001117/0.4178, allocations: 369.7 kB / 443.9 MB, free: 1.617 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.935e-05/0.4179, allocations: 109.4 kB / 444.1 MB, free: 1.5 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.248e-05/0.4179, allocations: 7.031 kB / 444.1 MB, free: 1.496 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002501/0.4181, allocations: 30.47 kB / 444.1 MB, free: 1.496 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/0.4182, allocations: 21.36 kB / 444.1 MB, free: 1.488 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.933e-05/0.4183, allocations: 8.344 kB / 444.1 MB, free: 1.484 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002927/0.4186, allocations: 199.7 kB / 444.3 MB, free: 1.371 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4186, allocations: 0 / 444.3 MB, free: 1.371 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005373/0.4191, allocations: 83.23 kB / 444.4 MB, free: 1.352 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.0001718/0.4193, allocations: 99.64 kB / 444.5 MB, free: 1.266 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001156/0.4204, allocations: 437.6 kB / 444.9 MB, free: 1.02 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.4204, allocations: 0 / 444.9 MB, free: 1.02 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004959/0.4209, allocations: 234.8 kB / 445.2 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000382/0.4213, allocations: 52.73 kB / 445.2 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001034/0.4223, allocations: 498.9 kB / 445.7 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002602/0.4226, allocations: 0.754 MB / 446.4 MB, free: 15.86 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001044/0.4227, allocations: 28.69 kB / 446.5 MB, free: 15.86 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.468e-05/0.4228, allocations: 19.69 kB / 446.5 MB, free: 15.85 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.4228, allocations: 1.344 kB / 446.5 MB, free: 15.85 MB / 366.1 MB Notification: Performance of Templates: time 0.01019/0.433, allocations: 4.236 MB / 450.7 MB, free: 15.6 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/InvertingAmplifier/InvertingAmplifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.957458185963333]