Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001839/0.001839, allocations: 104.7 kB / 19.8 MB, free: 2.516 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.002057/0.002057, allocations: 216.8 kB / 23 MB, free: 5.609 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.551/1.551, allocations: 230.2 MB / 256.2 MB, free: 8.551 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.NonInvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|buffer.opAmp.out.v|buffer.opAmp.out.i",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001879/0.001879, allocations: 63.89 kB / 376.5 MB, free: 3.574 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3262/0.3281, allocations: 53.33 MB / 429.8 MB, free: 7.535 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.004748/0.3328, allocations: 2.984 MB / 432.8 MB, free: 4.535 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001734/0.3346, allocations: 0.7635 MB / 433.6 MB, free: 3.766 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001911/0.3348, allocations: 4 kB / 433.6 MB, free: 3.762 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002031/0.335, allocations: 51.5 kB / 433.6 MB, free: 3.711 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002344/0.3352, allocations: 103.2 kB / 433.7 MB, free: 3.609 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003361/0.3355, allocations: 115.8 kB / 433.8 MB, free: 3.496 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005035/0.336, allocations: 414.4 kB / 434.3 MB, free: 3.09 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002468/0.3363, allocations: 99.25 kB / 434.4 MB, free: 2.984 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002119/0.3365, allocations: 159.4 kB / 434.5 MB, free: 2.828 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002353/0.3367, allocations: 171.2 kB / 434.7 MB, free: 2.66 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.614e-05/0.3368, allocations: 40 kB / 434.7 MB, free: 2.621 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.279e-05/0.3369, allocations: 40 kB / 434.8 MB, free: 2.582 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.522e-05/0.337, allocations: 79.69 kB / 434.8 MB, free: 2.504 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001895/0.3371, allocations: 175.2 kB / 435 MB, free: 2.332 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006264/0.3378, allocations: 455.5 kB / 435.4 MB, free: 1.891 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.387e-06/0.3378, allocations: 4 kB / 435.4 MB, free: 1.887 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3378, allocations: 0 / 435.4 MB, free: 1.887 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.3378, allocations: 4 kB / 435.5 MB, free: 1.883 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.001506/0.3393, allocations: 0.6845 MB / 436.1 MB, free: 1.145 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.3393, allocations: 8.031 kB / 436.1 MB, free: 1.137 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001044/0.3394, allocations: 36.7 kB / 436.2 MB, free: 1.102 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005612/0.34, allocations: 315.6 kB / 436.5 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.913e-05/0.34, allocations: 16.94 kB / 436.5 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.027e-05/0.3401, allocations: 24.38 kB / 436.5 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008499/0.3409, allocations: 328 kB / 436.9 MB, free: 392 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.3409, allocations: 0 / 436.9 MB, free: 392 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.515e-05/0.341, allocations: 12 kB / 436.9 MB, free: 380 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.341, allocations: 4 kB / 436.9 MB, free: 376 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008094/0.3418, allocations: 290 kB / 437.1 MB, free: 88 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002045/0.3438, allocations: 1.139 MB / 438.3 MB, free: 14.87 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008798/0.3447, allocations: 246.6 kB / 438.5 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003378/0.3451, allocations: 96.78 kB / 438.6 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.61e-05/0.3451, allocations: 0 / 438.6 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004885/0.3456, allocations: 189.7 kB / 438.8 MB, free: 14.31 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.402e-06/0.3456, allocations: 0 / 438.8 MB, free: 14.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0024/0.348, allocations: 0.6702 MB / 439.5 MB, free: 13.62 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.113e-05/0.3481, allocations: 102.8 kB / 439.6 MB, free: 13.49 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003813/0.3485, allocations: 294.6 kB / 439.9 MB, free: 13.2 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.46e-05/0.3485, allocations: 29.7 kB / 439.9 MB, free: 13.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001747/0.3487, allocations: 200 kB / 440.1 MB, free: 12.96 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.312e-05/0.3487, allocations: 51.84 kB / 440.1 MB, free: 12.91 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.3488, allocations: 49.89 kB / 440.2 MB, free: 12.85 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001794/0.349, allocations: 342.8 kB / 440.5 MB, free: 12.51 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003576/0.3494, allocations: 108.1 kB / 440.6 MB, free: 12.4 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004267/0.3498, allocations: 209.2 kB / 440.8 MB, free: 12.15 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007723/0.3506, allocations: 327.3 kB / 441.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.3506, allocations: 0 / 441.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001298/0.3519, allocations: 475.7 kB / 441.6 MB, free: 11.31 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.936e-05/0.3519, allocations: 37.69 kB / 441.7 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.3519, allocations: 4 kB / 441.7 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004105/0.3523, allocations: 92.81 kB / 441.8 MB, free: 11.17 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002169/0.3526, allocations: 47.95 kB / 441.8 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00325/0.3558, allocations: 2.056 MB / 443.9 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003499/0.3562, allocations: 55.8 kB / 443.9 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.852e-05/0.3562, allocations: 16.06 kB / 443.9 MB, free: 8.855 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.0002077/0.3564, allocations: 157.7 kB / 444.1 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.1e-05/0.3564, allocations: 23.86 kB / 444.1 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.151e-05/0.3565, allocations: 29.83 kB / 444.1 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.3565, allocations: 0 / 444.1 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.3565, allocations: 0 / 444.1 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.792e-06/0.3565, allocations: 3.984 kB / 444.1 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003872/0.3569, allocations: 325.3 kB / 444.5 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.3569, allocations: 4 kB / 444.5 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000137/0.357, allocations: 27.97 kB / 444.5 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002859/0.3573, allocations: 80.92 kB / 444.6 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/0.3573, allocations: 0 / 444.6 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002951/0.3603, allocations: 1.978 MB / 446.5 MB, free: 6.027 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.3603, allocations: 0 / 446.5 MB, free: 6.027 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001099/0.3614, allocations: 369.6 kB / 446.9 MB, free: 5.645 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.303e-05/0.3615, allocations: 108.9 kB / 447 MB, free: 5.52 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.414e-05/0.3615, allocations: 0 / 447 MB, free: 5.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002527/0.3618, allocations: 39.89 kB / 447 MB, free: 5.48 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.847e-05/0.3618, allocations: 15.98 kB / 447.1 MB, free: 5.465 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.675e-05/0.3619, allocations: 4 kB / 447.1 MB, free: 5.461 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002484/0.3621, allocations: 213.9 kB / 447.3 MB, free: 5.254 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3621, allocations: 3.938 kB / 447.3 MB, free: 5.25 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004559/0.3626, allocations: 71.89 kB / 447.3 MB, free: 5.18 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.000192/0.3628, allocations: 111.3 kB / 447.5 MB, free: 5.059 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001423/0.3642, allocations: 0.49 MB / 447.9 MB, free: 4.543 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.3642, allocations: 0 / 447.9 MB, free: 4.543 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000499/0.3647, allocations: 231.2 kB / 448.2 MB, free: 4.305 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003498/0.365, allocations: 48.03 kB / 448.2 MB, free: 4.262 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0032/0.3682, allocations: 0.9518 MB / 449.2 MB, free: 3.289 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004295/0.3687, allocations: 0.7596 MB / 449.9 MB, free: 2.504 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001226/0.3688, allocations: 26.28 kB / 450 MB, free: 2.48 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.402e-05/0.3688, allocations: 19.44 kB / 450 MB, free: 2.461 MB / 350.1 MB Notification: Performance of SimCode: time 2.044e-06/0.3688, allocations: 0 / 450 MB, free: 2.461 MB / 350.1 MB Notification: Performance of Templates: time 0.009346/0.3782, allocations: 4.276 MB / 454.3 MB, free: 14.22 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/NonInvertingAmplifier/NonInvertingAmplifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 4.726979978382587]