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.001287/0.001287, allocations: 117 kB / 21.18 MB, free: 0.6289 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.001474/0.001474, allocations: 209.3 kB / 24.47 MB, free: 3.898 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.441/1.441, allocations: 230.4 MB / 258.1 MB, free: 8.137 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.001927/0.001927, allocations: 67.83 kB / 378.8 MB, free: 2.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3046/0.3065, allocations: 53.32 MB / 432.1 MB, free: 7.352 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier): time 0.005333/0.3118, allocations: 2.975 MB / 435.1 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001499/0.3133, allocations: 0.7713 MB / 435.8 MB, free: 3.59 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001722/0.3135, allocations: 4 kB / 435.8 MB, free: 3.586 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001927/0.3137, allocations: 55.5 kB / 435.9 MB, free: 3.531 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002271/0.3139, allocations: 103.2 kB / 436 MB, free: 3.43 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003222/0.3142, allocations: 119.8 kB / 436.1 MB, free: 3.312 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000532/0.3148, allocations: 414.4 kB / 436.5 MB, free: 2.906 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002343/0.315, allocations: 91.27 kB / 436.6 MB, free: 2.812 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002093/0.3152, allocations: 155.4 kB / 436.8 MB, free: 2.66 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002461/0.3154, allocations: 175.2 kB / 436.9 MB, free: 2.488 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.01e-05/0.3155, allocations: 44 kB / 437 MB, free: 2.445 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.538e-05/0.3156, allocations: 40 kB / 437 MB, free: 2.406 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.432e-05/0.3157, allocations: 79.7 kB / 437.1 MB, free: 2.328 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001945/0.3159, allocations: 175.2 kB / 437.3 MB, free: 2.156 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005763/0.3164, allocations: 455.8 kB / 437.7 MB, free: 1.711 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.3165, allocations: 0 / 437.7 MB, free: 1.711 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.3165, allocations: 0 / 437.7 MB, free: 1.711 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.735e-06/0.3165, allocations: 0 / 437.7 MB, free: 1.711 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.001594/0.3181, allocations: 0.6806 MB / 438.4 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.3181, allocations: 8.031 kB / 438.4 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001065/0.3182, allocations: 40.7 kB / 438.4 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005346/0.3187, allocations: 315.6 kB / 438.7 MB, free: 0.582 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.687e-05/0.3188, allocations: 20.94 kB / 438.8 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.651e-05/0.3189, allocations: 24.38 kB / 438.8 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008474/0.3197, allocations: 327.9 kB / 439.1 MB, free: 212 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.3197, allocations: 4 kB / 439.1 MB, free: 208 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.222e-05/0.3198, allocations: 8 kB / 439.1 MB, free: 200 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.366e-05/0.3198, allocations: 8 kB / 439.1 MB, free: 192 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008737/0.3206, allocations: 290 kB / 439.4 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002223/0.3229, allocations: 1.143 MB / 440.5 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008974/0.3238, allocations: 242.6 kB / 440.8 MB, free: 14.44 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003481/0.3241, allocations: 104.8 kB / 440.9 MB, free: 14.33 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.837e-05/0.3241, allocations: 4 kB / 440.9 MB, free: 14.33 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005161/0.3247, allocations: 185.8 kB / 441.1 MB, free: 14.12 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 2.014e-06/0.3247, allocations: 0 / 441.1 MB, free: 14.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.00249/0.3271, allocations: 0.6591 MB / 441.7 MB, free: 13.44 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.407e-05/0.3272, allocations: 106.8 kB / 441.8 MB, free: 13.31 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003599/0.3276, allocations: 282.7 kB / 442.1 MB, free: 13.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.047e-05/0.3276, allocations: 29.7 kB / 442.1 MB, free: 12.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001707/0.3278, allocations: 204 kB / 442.3 MB, free: 12.78 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.639e-05/0.3278, allocations: 47.64 kB / 442.4 MB, free: 12.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.788e-05/0.3279, allocations: 45.94 kB / 442.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001771/0.3281, allocations: 334.8 kB / 442.8 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003575/0.3285, allocations: 108.4 kB / 442.9 MB, free: 12.24 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004358/0.3289, allocations: 213 kB / 443.1 MB, free: 11.99 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007603/0.3297, allocations: 299.8 kB / 443.4 MB, free: 11.65 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.3297, allocations: 3.938 kB / 443.4 MB, free: 11.65 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001326/0.331, allocations: 488.5 kB / 443.8 MB, free: 11.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.582e-05/0.3311, allocations: 29.7 kB / 443.9 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.3311, allocations: 4 kB / 443.9 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004128/0.3315, allocations: 84.86 kB / 444 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002277/0.3317, allocations: 47.91 kB / 444 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00298/0.3347, allocations: 1.995 MB / 446 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003517/0.335, allocations: 55.75 kB / 446.1 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.789e-05/0.3351, allocations: 12 kB / 446.1 MB, free: 8.785 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.0002094/0.3353, allocations: 157.8 kB / 446.2 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.69e-05/0.3353, allocations: 27.84 kB / 446.3 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.722e-05/0.3354, allocations: 21.84 kB / 446.3 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.3354, allocations: 0 / 446.3 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.802e-06/0.3354, allocations: 7.984 kB / 446.3 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.3354, allocations: 0 / 446.3 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003661/0.3358, allocations: 321.3 kB / 446.6 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3358, allocations: 0 / 446.6 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001419/0.3359, allocations: 23.97 kB / 446.6 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002933/0.3362, allocations: 88.83 kB / 446.7 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.647e-05/0.3362, allocations: 4 kB / 446.7 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002582/0.3388, allocations: 1.801 MB / 448.5 MB, free: 6.133 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3388, allocations: 4.062 kB / 448.5 MB, free: 6.129 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001116/0.3399, allocations: 369 kB / 448.9 MB, free: 5.75 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.009e-05/0.34, allocations: 108.8 kB / 449 MB, free: 5.625 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.802e-05/0.34, allocations: 4 kB / 449 MB, free: 5.621 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002412/0.3403, allocations: 35.95 kB / 449 MB, free: 5.586 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.977e-05/0.3404, allocations: 23.92 kB / 449 MB, free: 5.562 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.12e-05/0.3404, allocations: 7.984 kB / 449.1 MB, free: 5.555 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00022/0.3406, allocations: 201.9 kB / 449.2 MB, free: 5.359 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3406, allocations: 0 / 449.2 MB, free: 5.359 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000394/0.341, allocations: 75.89 kB / 449.3 MB, free: 5.285 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.0001631/0.3412, allocations: 107.2 kB / 449.4 MB, free: 5.172 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001102/0.3423, allocations: 433.7 kB / 449.8 MB, free: 4.723 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3423, allocations: 0 / 449.8 MB, free: 4.723 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005355/0.3428, allocations: 235.1 kB / 450.1 MB, free: 4.48 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003843/0.3432, allocations: 48.52 kB / 450.1 MB, free: 4.434 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001245/0.3444, allocations: 0.5247 MB / 450.7 MB, free: 3.879 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004381/0.3449, allocations: 0.7519 MB / 451.4 MB, free: 3.098 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.361e-05/0.3449, allocations: 23.42 kB / 451.4 MB, free: 3.078 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3449, allocations: 0 / 451.4 MB, free: 3.078 MB / 350.1 MB Notification: Performance of Templates: time 0.008083/0.353, allocations: 4.773 MB / 456.2 MB, free: 14.33 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 -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: 7.397372446022928]