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.001482/0.001482, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.001862/0.001862, allocations: 213.7 kB / 23.74 MB, free: 4.688 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.481/1.481, allocations: 230.6 MB / 257.5 MB, free: 8.023 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+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 0.001699/0.001699, allocations: 47.91 kB / 378.3 MB, free: 2.605 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2967/0.2984, allocations: 53.36 MB / 431.7 MB, free: 6.926 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.004299/0.3027, allocations: 2.782 MB / 434.4 MB, free: 4.133 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001417/0.3041, allocations: 0.7206 MB / 435.2 MB, free: 3.406 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001421/0.3042, allocations: 8 kB / 435.2 MB, free: 3.398 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001572/0.3044, allocations: 39.58 kB / 435.2 MB, free: 3.359 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001999/0.3046, allocations: 87.27 kB / 435.3 MB, free: 3.273 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002886/0.3049, allocations: 99.81 kB / 435.4 MB, free: 3.176 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004399/0.3053, allocations: 350.5 kB / 435.7 MB, free: 2.832 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001875/0.3055, allocations: 60.89 kB / 435.8 MB, free: 2.77 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001807/0.3057, allocations: 139.5 kB / 435.9 MB, free: 2.633 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002115/0.3059, allocations: 147.4 kB / 436.1 MB, free: 2.488 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.138e-05/0.3059, allocations: 28 kB / 436.1 MB, free: 2.461 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.088e-05/0.306, allocations: 28 kB / 436.1 MB, free: 2.434 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.923e-05/0.3061, allocations: 67.7 kB / 436.2 MB, free: 2.367 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001526/0.3062, allocations: 143.3 kB / 436.3 MB, free: 2.227 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003987/0.3066, allocations: 323.9 kB / 436.7 MB, free: 1.914 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.3066, allocations: 0 / 436.7 MB, free: 1.914 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3066, allocations: 0 / 436.7 MB, free: 1.914 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.036e-05/0.3066, allocations: 0 / 436.7 MB, free: 1.914 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.00125/0.3079, allocations: 0.5702 MB / 437.2 MB, free: 1.309 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.3079, allocations: 15.97 kB / 437.2 MB, free: 1.293 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.824e-05/0.308, allocations: 32.75 kB / 437.3 MB, free: 1.262 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003916/0.3084, allocations: 217.8 kB / 437.5 MB, free: 1.023 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.276e-05/0.3084, allocations: 16.81 kB / 437.5 MB, free: 1.008 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.832e-05/0.3084, allocations: 16.38 kB / 437.5 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000657/0.3091, allocations: 286 kB / 437.8 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.3091, allocations: 0 / 437.8 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.003e-05/0.3091, allocations: 11.98 kB / 437.8 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.3092, allocations: 8 kB / 437.8 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000754/0.3099, allocations: 241.6 kB / 438 MB, free: 456 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001659/0.3116, allocations: 0.8602 MB / 438.9 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001523/0.3131, allocations: 362.2 kB / 439.3 MB, free: 15.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003254/0.3134, allocations: 92.72 kB / 439.4 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.3134, allocations: 0 / 439.4 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004664/0.3139, allocations: 169.8 kB / 439.5 MB, free: 14.88 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.282e-06/0.3139, allocations: 0 / 439.5 MB, free: 14.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.002078/0.316, allocations: 0.494 MB / 440 MB, free: 14.38 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.883e-05/0.3161, allocations: 114.8 kB / 440.1 MB, free: 14.24 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003204/0.3164, allocations: 269.9 kB / 440.4 MB, free: 13.96 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.842e-05/0.3164, allocations: 29.7 kB / 440.4 MB, free: 13.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001518/0.3166, allocations: 191.9 kB / 440.6 MB, free: 13.74 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.604e-05/0.3166, allocations: 31.73 kB / 440.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.93e-05/0.3167, allocations: 45.7 kB / 440.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.3169, allocations: 342.8 kB / 441 MB, free: 13.31 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003486/0.3172, allocations: 95.92 kB / 441.1 MB, free: 13.22 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004076/0.3176, allocations: 197.9 kB / 441.3 MB, free: 12.98 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007013/0.3183, allocations: 301.3 kB / 441.6 MB, free: 12.64 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.68e-06/0.3183, allocations: 8 kB / 441.6 MB, free: 12.63 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001198/0.3195, allocations: 427.9 kB / 442 MB, free: 12.2 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.384e-05/0.3196, allocations: 41.7 kB / 442.1 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.3196, allocations: 4 kB / 442.1 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003026/0.3199, allocations: 56.81 kB / 442.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002248/0.3201, allocations: 55.89 kB / 442.2 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002243/0.3223, allocations: 1.509 MB / 443.7 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000326/0.3227, allocations: 59.73 kB / 443.7 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.264e-05/0.3227, allocations: 12 kB / 443.8 MB, free: 10.34 MB / 350.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.0001588/0.3229, allocations: 141.8 kB / 443.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.011e-05/0.3229, allocations: 27.8 kB / 443.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.517e-05/0.3229, allocations: 21.7 kB / 443.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.3229, allocations: 4 kB / 443.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-06/0.3229, allocations: 0 / 443.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.3229, allocations: 0 / 443.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00139/0.3243, allocations: 0.6229 MB / 444.6 MB, free: 9.461 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.3243, allocations: 0 / 444.6 MB, free: 9.461 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001383/0.3245, allocations: 27.91 kB / 444.6 MB, free: 9.434 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002207/0.3247, allocations: 60.81 kB / 444.7 MB, free: 9.371 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.3247, allocations: 0 / 444.7 MB, free: 9.371 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002036/0.3267, allocations: 1.502 MB / 446.2 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3267, allocations: 0 / 446.2 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001054/0.3278, allocations: 396.1 kB / 446.5 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.595e-05/0.3278, allocations: 27.94 kB / 446.6 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.605e-05/0.3279, allocations: 7.938 kB / 446.6 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000267/0.3282, allocations: 27.97 kB / 446.6 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.63e-05/0.3282, allocations: 19.97 kB / 446.6 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.898e-06/0.3282, allocations: 4 kB / 446.6 MB, free: 7.266 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002136/0.3285, allocations: 197.2 kB / 446.8 MB, free: 7.07 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3285, allocations: 0 / 446.8 MB, free: 7.07 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003596/0.3288, allocations: 63.89 kB / 446.9 MB, free: 7.008 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,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001578/0.329, allocations: 99.19 kB / 447 MB, free: 6.898 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009631/0.3299, allocations: 385.8 kB / 447.4 MB, free: 6.496 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3299, allocations: 0.8125 kB / 447.4 MB, free: 6.496 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004274/0.3304, allocations: 202.6 kB / 447.6 MB, free: 6.285 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003797/0.3307, allocations: 52.8 kB / 447.6 MB, free: 6.234 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001022/0.3318, allocations: 447.7 kB / 448 MB, free: 5.773 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004005/0.3322, allocations: 0.7479 MB / 448.8 MB, free: 5 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001025/0.3323, allocations: 30.27 kB / 448.8 MB, free: 4.969 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.887e-05/0.3323, allocations: 19.62 kB / 448.8 MB, free: 4.949 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3323, allocations: 0 / 448.8 MB, free: 4.949 MB / 350.1 MB Notification: Performance of Templates: time 0.008308/0.3406, allocations: 3.717 MB / 452.6 MB, free: 1.273 MB / 350.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.600410348037258]