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.001453/0.001453, allocations: 115.5 kB / 21.18 MB, free: 0.5898 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.001443/0.001443, allocations: 210.8 kB / 24.47 MB, free: 3.996 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.43/1.43, allocations: 230.5 MB / 258.1 MB, free: 8.129 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.001915/0.001915, allocations: 71.83 kB / 378.8 MB, free: 2.832 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3136/0.3155, allocations: 53.31 MB / 432.1 MB, free: 7.352 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.004586/0.3201, allocations: 2.972 MB / 435.1 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001568/0.3217, allocations: 0.7713 MB / 435.8 MB, free: 3.59 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001654/0.3218, allocations: 4 kB / 435.8 MB, free: 3.586 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001951/0.322, allocations: 55.44 kB / 435.9 MB, free: 3.531 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002173/0.3223, allocations: 103.2 kB / 436 MB, free: 3.43 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003387/0.3226, allocations: 119.8 kB / 436.1 MB, free: 3.312 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005005/0.3231, allocations: 418.4 kB / 436.5 MB, free: 2.902 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002423/0.3233, allocations: 95.25 kB / 436.6 MB, free: 2.805 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002109/0.3235, allocations: 155.4 kB / 436.8 MB, free: 2.652 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002362/0.3238, allocations: 167.3 kB / 436.9 MB, free: 2.488 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.386e-05/0.3238, allocations: 40 kB / 437 MB, free: 2.449 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.554e-05/0.3239, allocations: 44 kB / 437 MB, free: 2.406 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.23e-05/0.324, allocations: 75.69 kB / 437.1 MB, free: 2.332 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001975/0.3242, allocations: 183.1 kB / 437.3 MB, free: 2.152 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000568/0.3248, allocations: 456.2 kB / 437.7 MB, free: 1.707 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.3248, allocations: 0 / 437.7 MB, free: 1.707 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3248, allocations: 0 / 437.7 MB, free: 1.707 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.3248, allocations: 4 kB / 437.7 MB, free: 1.703 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.001527/0.3263, allocations: 0.6845 MB / 438.4 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.3263, allocations: 8.031 kB / 438.4 MB, free: 0.957 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001076/0.3265, allocations: 36.7 kB / 438.4 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000591/0.327, allocations: 311.6 kB / 438.7 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.208e-05/0.3271, allocations: 16.94 kB / 438.8 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.182e-05/0.3271, allocations: 24.38 kB / 438.8 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007681/0.3279, allocations: 328 kB / 439.1 MB, free: 212 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.3279, allocations: 0 / 439.1 MB, free: 212 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.714e-05/0.3279, allocations: 15.98 kB / 439.1 MB, free: 196 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.359e-05/0.328, allocations: 4 kB / 439.1 MB, free: 192 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008689/0.3288, allocations: 286 kB / 439.4 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001982/0.3308, allocations: 1.139 MB / 440.5 MB, free: 14.69 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008725/0.3317, allocations: 246.6 kB / 440.8 MB, free: 14.44 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000334/0.332, allocations: 105 kB / 440.9 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.388e-05/0.3321, allocations: 11.88 kB / 440.9 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004696/0.3325, allocations: 177.9 kB / 441.1 MB, free: 14.13 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.252e-06/0.3325, allocations: 0 / 441.1 MB, free: 14.13 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002432/0.335, allocations: 0.663 MB / 441.7 MB, free: 13.44 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.685e-05/0.335, allocations: 110.8 kB / 441.8 MB, free: 13.3 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003412/0.3354, allocations: 282.7 kB / 442.1 MB, free: 13.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.57e-05/0.3354, allocations: 29.7 kB / 442.1 MB, free: 12.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001682/0.3356, allocations: 208 kB / 442.3 MB, free: 12.77 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.357e-05/0.3356, allocations: 39.69 kB / 442.4 MB, free: 12.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001083/0.3357, allocations: 53.89 kB / 442.4 MB, free: 12.67 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.3359, allocations: 334.8 kB / 442.8 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003621/0.3363, allocations: 108.1 kB / 442.9 MB, free: 12.23 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000451/0.3367, allocations: 225.6 kB / 443.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007836/0.3375, allocations: 323.4 kB / 443.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.3375, allocations: 0 / 443.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001309/0.3388, allocations: 475.7 kB / 443.9 MB, free: 11.12 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.865e-05/0.3389, allocations: 41.69 kB / 443.9 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.3389, allocations: 4 kB / 443.9 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000422/0.3393, allocations: 84.86 kB / 444 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002277/0.3395, allocations: 51.91 kB / 444.1 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003232/0.3428, allocations: 2.064 MB / 446.1 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003643/0.3431, allocations: 55.88 kB / 446.2 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.538e-05/0.3432, allocations: 8 kB / 446.2 MB, free: 8.672 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.0002068/0.3434, allocations: 153.7 kB / 446.3 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.488e-05/0.3434, allocations: 27.84 kB / 446.4 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.925e-05/0.3435, allocations: 25.84 kB / 446.4 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.3435, allocations: 0 / 446.4 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.3435, allocations: 4.031 kB / 446.4 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.3435, allocations: 7.984 kB / 446.4 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003471/0.3438, allocations: 321.4 kB / 446.7 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.3438, allocations: 4 kB / 446.7 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001398/0.344, allocations: 23.97 kB / 446.7 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002877/0.3443, allocations: 80.92 kB / 446.8 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.138e-05/0.3443, allocations: 12 kB / 446.8 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002734/0.347, allocations: 1.967 MB / 448.8 MB, free: 5.852 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/0.347, allocations: 7.922 kB / 448.8 MB, free: 5.844 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001106/0.3481, allocations: 372.1 kB / 449.2 MB, free: 5.461 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.474e-05/0.3482, allocations: 104.9 kB / 449.3 MB, free: 5.34 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.832e-05/0.3483, allocations: 4 kB / 449.3 MB, free: 5.336 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002497/0.3485, allocations: 43.83 kB / 449.3 MB, free: 5.293 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.54e-05/0.3486, allocations: 11.98 kB / 449.3 MB, free: 5.281 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.394e-05/0.3486, allocations: 8 kB / 449.3 MB, free: 5.273 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002266/0.3488, allocations: 206 kB / 449.5 MB, free: 5.074 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3488, allocations: 0 / 449.5 MB, free: 5.074 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004295/0.3492, allocations: 75.89 kB / 449.6 MB, free: 5 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.000168/0.3494, allocations: 107.2 kB / 449.7 MB, free: 4.887 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001416/0.3508, allocations: 493.8 kB / 450.2 MB, free: 4.379 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.3508, allocations: 0 / 450.2 MB, free: 4.379 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005164/0.3514, allocations: 235.1 kB / 450.4 MB, free: 4.137 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003578/0.3517, allocations: 61.88 kB / 450.5 MB, free: 4.078 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003285/0.355, allocations: 0.9695 MB / 451.5 MB, free: 3.078 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004093/0.3554, allocations: 0.7596 MB / 452.2 MB, free: 2.289 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.276e-05/0.3555, allocations: 19.44 kB / 452.2 MB, free: 2.27 MB / 350.1 MB Notification: Performance of SimCode: time 1.242e-06/0.3555, allocations: 7.938 kB / 452.2 MB, free: 2.262 MB / 350.1 MB Notification: Performance of Templates: time 0.007511/0.363, allocations: 4.793 MB / 457 MB, free: 13.5 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.39774885494262]