Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002026/0.002026, allocations: 84.3 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002525/0.002525, allocations: 168.8 kB / 23.95 MB, free: 4.172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.474/1.474, allocations: 177.1 MB / 204.3 MB, free: 9.176 MB / 190.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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 325.1 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.487e-05/2.643e-05, allocations: 5.375 kB / 325.1 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.004543/0.004569, allocations: 2.599 MB / 327.7 MB, free: 14.76 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001743/0.006312, allocations: 0.6838 MB / 328.4 MB, free: 14.28 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000307/0.006619, allocations: 8 kB / 328.4 MB, free: 14.27 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001938/0.006813, allocations: 39.5 kB / 328.4 MB, free: 14.25 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003387/0.007152, allocations: 93.59 kB / 328.5 MB, free: 14.18 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003926/0.007544, allocations: 102.1 kB / 328.6 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005947/0.008139, allocations: 359.1 kB / 329 MB, free: 13.94 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002064/0.008346, allocations: 59.89 kB / 329 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004056/0.008751, allocations: 198.6 kB / 329.2 MB, free: 13.82 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002418/0.008993, allocations: 111.7 kB / 329.3 MB, free: 13.78 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.334e-05/0.009066, allocations: 28.88 kB / 329.4 MB, free: 13.78 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.028e-05/0.009137, allocations: 29.09 kB / 329.4 MB, free: 13.78 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.168e-05/0.009218, allocations: 61.67 kB / 329.5 MB, free: 13.74 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001704/0.009389, allocations: 102.8 kB / 329.6 MB, free: 13.69 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005212/0.00991, allocations: 331.6 kB / 329.9 MB, free: 13.56 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.009913, allocations: 0 / 329.9 MB, free: 13.56 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.009914, allocations: 1.188 kB / 329.9 MB, free: 13.56 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.646e-05/0.009931, allocations: 0 / 329.9 MB, free: 13.56 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001531/0.01146, allocations: 0.5633 MB / 330.5 MB, free: 13.14 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.0115, allocations: 8.625 kB / 330.5 MB, free: 13.14 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001082/0.01161, allocations: 36.8 kB / 330.5 MB, free: 13.12 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004408/0.01205, allocations: 221.4 kB / 330.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.227e-05/0.01208, allocations: 20.66 kB / 330.7 MB, free: 12.9 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.855e-05/0.01212, allocations: 17.81 kB / 330.8 MB, free: 12.9 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007426/0.01287, allocations: 325.9 kB / 331.1 MB, free: 12.66 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.01288, allocations: 8.172 kB / 331.1 MB, free: 12.66 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.058e-05/0.01291, allocations: 10.84 kB / 331.1 MB, free: 12.65 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/0.01292, allocations: 12.98 kB / 331.1 MB, free: 12.64 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007785/0.0137, allocations: 237 kB / 331.3 MB, free: 12.54 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001647/0.01535, allocations: 0.7701 MB / 332.1 MB, free: 11.89 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001563/0.01691, allocations: 352.2 kB / 332.4 MB, free: 11.75 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003361/0.01725, allocations: 94.12 kB / 332.5 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.122e-05/0.01727, allocations: 1.031 kB / 332.5 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005272/0.0178, allocations: 217.9 kB / 332.8 MB, free: 11.5 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.863e-06/0.0178, allocations: 0 / 332.8 MB, free: 11.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.002226/0.02002, allocations: 0.4993 MB / 333.3 MB, free: 11.28 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.072e-05/0.0201, allocations: 105 kB / 333.4 MB, free: 11.15 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003479/0.02045, allocations: 274.2 kB / 333.6 MB, free: 10.96 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.447e-05/0.02049, allocations: 27.73 kB / 333.6 MB, free: 10.93 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001745/0.02066, allocations: 195.4 kB / 333.8 MB, free: 10.75 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.608e-05/0.0207, allocations: 33.3 kB / 333.9 MB, free: 10.72 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.977e-05/0.0208, allocations: 50 kB / 333.9 MB, free: 10.68 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.02097, allocations: 331.8 kB / 334.2 MB, free: 10.35 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003856/0.02136, allocations: 123.1 kB / 334.4 MB, free: 10.28 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004946/0.02185, allocations: 278.3 kB / 334.6 MB, free: 10 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007985/0.02265, allocations: 305 kB / 334.9 MB, free: 9.766 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.02266, allocations: 0 / 334.9 MB, free: 9.766 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001393/0.02405, allocations: 472.3 kB / 335.4 MB, free: 9.488 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.823e-05/0.0241, allocations: 32.52 kB / 335.4 MB, free: 9.457 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.02411, allocations: 3.812 kB / 335.4 MB, free: 9.457 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003362/0.02445, allocations: 60.16 kB / 335.5 MB, free: 9.43 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002413/0.02469, allocations: 53.09 kB / 335.5 MB, free: 9.414 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002506/0.02719, allocations: 1.484 MB / 337 MB, free: 8.055 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004248/0.02762, allocations: 54.75 kB / 337.1 MB, free: 8.027 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.625e-05/0.02765, allocations: 17.45 kB / 337.1 MB, free: 8.02 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002024/0.02786, allocations: 143.5 kB / 337.2 MB, free: 7.883 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.438e-05/0.02791, allocations: 18.88 kB / 337.3 MB, free: 7.875 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.181e-05/0.02796, allocations: 23.23 kB / 337.3 MB, free: 7.863 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.02797, allocations: 1.188 kB / 337.3 MB, free: 7.863 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.02797, allocations: 13.12 kB / 337.3 MB, free: 7.852 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.02797, allocations: 4 kB / 337.3 MB, free: 7.848 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001443/0.02942, allocations: 0.5507 MB / 337.8 MB, free: 7.438 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.02942, allocations: 0 / 337.8 MB, free: 7.438 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001537/0.02957, allocations: 29.31 kB / 337.9 MB, free: 7.426 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002332/0.02981, allocations: 57.03 kB / 337.9 MB, free: 7.398 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.807e-05/0.02983, allocations: 5.406 kB / 337.9 MB, free: 7.395 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002237/0.03206, allocations: 1.467 MB / 339.4 MB, free: 6.051 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.03206, allocations: 1.031 kB / 339.4 MB, free: 6.051 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001169/0.03323, allocations: 395.1 kB / 339.8 MB, free: 5.758 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.357e-05/0.03332, allocations: 23.84 kB / 339.8 MB, free: 5.734 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.383e-05/0.03336, allocations: 3.984 kB / 339.8 MB, free: 5.73 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002933/0.03365, allocations: 35.97 kB / 339.9 MB, free: 5.695 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.17e-05/0.03374, allocations: 19.91 kB / 339.9 MB, free: 5.676 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-05/0.03375, allocations: 8 kB / 339.9 MB, free: 5.668 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002411/0.03399, allocations: 185.2 kB / 340.1 MB, free: 5.484 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.03399, allocations: 0 / 340.1 MB, free: 5.484 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004329/0.03443, allocations: 63.91 kB / 340.1 MB, free: 5.422 MB / 302.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,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001608/0.03459, allocations: 107.1 kB / 340.2 MB, free: 5.309 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001139/0.03573, allocations: 412.1 kB / 340.6 MB, free: 4.875 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.03573, allocations: 8.125 kB / 340.6 MB, free: 4.867 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000492/0.03622, allocations: 206.7 kB / 340.8 MB, free: 4.652 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004379/0.03666, allocations: 43.45 kB / 340.9 MB, free: 4.613 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001247/0.03791, allocations: 426.4 kB / 341.3 MB, free: 4.172 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001677/0.03807, allocations: 134.2 kB / 341.4 MB, free: 4.02 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001144/0.03819, allocations: 22.03 kB / 341.5 MB, free: 3.996 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.735e-05/0.03826, allocations: 20.5 kB / 341.5 MB, free: 3.977 MB / 302.1 MB Notification: Performance of SimCode: time 8.81e-07/0.03826, allocations: 0 / 341.5 MB, free: 3.977 MB / 302.1 MB Notification: Performance of Templates: time 0.008861/0.04712, allocations: 3.581 MB / 345.1 MB, free: 464 kB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/VoltageFollower/VoltageFollower.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.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.552121002227068]