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.001611/0.001611, allocations: 118.9 kB / 17.79 MB, free: 5.285 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.001803/0.001803, allocations: 199.3 kB / 20.74 MB, free: 2.344 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.563/1.563, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.002318/0.002318, allocations: 51.94 kB / 373.5 MB, free: 9.684 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1287, allocations: 53.34 MB / 426.8 MB, free: 4.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.005444/0.1341, allocations: 2.766 MB / 429.6 MB, free: 1.469 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002123/0.1362, allocations: 0.709 MB / 430.3 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003644/0.1366, allocations: 7.938 kB / 430.3 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002645/0.1369, allocations: 43.58 kB / 430.4 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004378/0.1373, allocations: 87.25 kB / 430.5 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004573/0.1378, allocations: 95.83 kB / 430.6 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006614/0.1384, allocations: 346.5 kB / 430.9 MB, free: 188 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000224/0.1386, allocations: 68.7 kB / 431 MB, free: 112 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2562/0.3948, allocations: 130 kB / 431.1 MB, free: 8.203 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003102/0.3951, allocations: 142.5 kB / 431.2 MB, free: 8.203 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.877e-05/0.3952, allocations: 30.7 kB / 431.3 MB, free: 8.203 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.024e-05/0.3953, allocations: 30.7 kB / 431.3 MB, free: 8.203 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.289e-05/0.3954, allocations: 65.56 kB / 431.3 MB, free: 8.203 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001748/0.3955, allocations: 147.1 kB / 431.5 MB, free: 8.164 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004377/0.396, allocations: 319.3 kB / 431.8 MB, free: 8.117 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.396, allocations: 2.312 kB / 431.8 MB, free: 8.117 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.396, allocations: 0 / 431.8 MB, free: 8.117 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.214e-06/0.396, allocations: 0.9375 kB / 431.8 MB, free: 8.117 MB / 350.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.001186/0.3972, allocations: 0.6452 MB / 432.5 MB, free: 7.637 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.3972, allocations: 11.75 kB / 432.5 MB, free: 7.637 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.941e-05/0.3973, allocations: 32.3 kB / 432.5 MB, free: 7.621 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003193/0.3976, allocations: 272.9 kB / 432.8 MB, free: 7.395 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.3976, allocations: 16.03 kB / 432.8 MB, free: 7.395 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.209e-05/0.3977, allocations: 21.34 kB / 432.8 MB, free: 7.395 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006527/0.3983, allocations: 278.9 kB / 433.1 MB, free: 7.344 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.3983, allocations: 3.938 kB / 433.1 MB, free: 7.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.949e-05/0.3984, allocations: 9.438 kB / 433.1 MB, free: 7.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.3984, allocations: 5.906 kB / 433.1 MB, free: 7.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007516/0.3991, allocations: 245.2 kB / 433.3 MB, free: 7.336 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001422/0.4006, allocations: 0.9004 MB / 434.2 MB, free: 6.883 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001539/0.4021, allocations: 433.9 kB / 434.7 MB, free: 6.758 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003269/0.4024, allocations: 87.09 kB / 434.7 MB, free: 6.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.554e-05/0.4024, allocations: 9.141 kB / 434.7 MB, free: 6.746 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004658/0.4029, allocations: 164.9 kB / 434.9 MB, free: 6.672 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.503e-06/0.4029, allocations: 1.219 kB / 434.9 MB, free: 6.672 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.002195/0.4051, allocations: 0.5759 MB / 435.5 MB, free: 6.512 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.417e-05/0.4052, allocations: 107 kB / 435.6 MB, free: 6.387 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002953/0.4055, allocations: 275.8 kB / 435.9 MB, free: 6.277 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/0.4055, allocations: 31.61 kB / 435.9 MB, free: 6.246 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.4056, allocations: 188.2 kB / 436.1 MB, free: 6.113 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.136e-05/0.4056, allocations: 36.14 kB / 436.1 MB, free: 6.094 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.588e-05/0.4057, allocations: 46.17 kB / 436.2 MB, free: 6.078 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.773e-05/0.4058, allocations: 337.6 kB / 436.5 MB, free: 5.762 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003778/0.4061, allocations: 97.27 kB / 436.6 MB, free: 5.758 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004304/0.4066, allocations: 206 kB / 436.8 MB, free: 5.621 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007251/0.4073, allocations: 296.2 kB / 437.1 MB, free: 5.473 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.4073, allocations: 5.312 kB / 437.1 MB, free: 5.469 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001268/0.4086, allocations: 433 kB / 437.5 MB, free: 5.375 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.665e-05/0.4086, allocations: 37.86 kB / 437.5 MB, free: 5.344 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.4086, allocations: 3.281 kB / 437.5 MB, free: 5.344 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003202/0.4089, allocations: 59.28 kB / 437.6 MB, free: 5.336 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002394/0.4092, allocations: 58.72 kB / 437.7 MB, free: 5.332 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001987/0.4112, allocations: 1.598 MB / 439.2 MB, free: 3.977 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003994/0.4116, allocations: 55.05 kB / 439.3 MB, free: 3.961 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.483e-05/0.4116, allocations: 13.19 kB / 439.3 MB, free: 3.961 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.0001397/0.4117, allocations: 143.7 kB / 439.5 MB, free: 3.844 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.941e-05/0.4118, allocations: 26.78 kB / 439.5 MB, free: 3.828 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.482e-05/0.4118, allocations: 26.34 kB / 439.5 MB, free: 3.824 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.4118, allocations: 1.734 kB / 439.5 MB, free: 3.824 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.4118, allocations: 0 / 439.5 MB, free: 3.824 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.4118, allocations: 1.906 kB / 439.5 MB, free: 3.824 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00135/0.4132, allocations: 0.6426 MB / 440.2 MB, free: 3.508 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.4132, allocations: 0 / 440.2 MB, free: 3.508 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001578/0.4133, allocations: 24.78 kB / 440.2 MB, free: 3.508 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002252/0.4136, allocations: 58.91 kB / 440.2 MB, free: 3.496 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.704e-05/0.4136, allocations: 3.547 kB / 440.2 MB, free: 3.496 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001791/0.4154, allocations: 1.603 MB / 441.8 MB, free: 2.129 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.4154, allocations: 0 / 441.8 MB, free: 2.129 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001102/0.4165, allocations: 400.3 kB / 442.2 MB, free: 1.965 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.141e-05/0.4165, allocations: 101.5 kB / 442.3 MB, free: 1.859 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.668e-05/0.4166, allocations: 6.359 kB / 442.3 MB, free: 1.859 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002811/0.4169, allocations: 29.8 kB / 442.4 MB, free: 1.859 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.087e-05/0.4169, allocations: 26.56 kB / 442.4 MB, free: 1.852 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-05/0.4169, allocations: 2.875 kB / 442.4 MB, free: 1.852 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002155/0.4172, allocations: 190.8 kB / 442.6 MB, free: 1.77 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4172, allocations: 0 / 442.6 MB, free: 1.77 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004273/0.4176, allocations: 66.2 kB / 442.6 MB, free: 1.762 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.0001194/0.4177, allocations: 101.9 kB / 442.7 MB, free: 1.676 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001017/0.4187, allocations: 387.7 kB / 443.1 MB, free: 1.5 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.4187, allocations: 0 / 443.1 MB, free: 1.5 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000422/0.4191, allocations: 206.5 kB / 443.3 MB, free: 1.387 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004177/0.4196, allocations: 45.42 kB / 443.4 MB, free: 1.383 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001147/0.4207, allocations: 447 kB / 443.8 MB, free: 1.148 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001792/0.4209, allocations: 0.7479 MB / 444.6 MB, free: 456 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000109/0.421, allocations: 25.39 kB / 444.6 MB, free: 448 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.269e-05/0.4211, allocations: 24.97 kB / 444.6 MB, free: 440 kB / 350.1 MB Notification: Performance of SimCode: time 6.62e-07/0.4211, allocations: 0 / 444.6 MB, free: 440 kB / 350.1 MB Notification: Performance of Templates: time 0.008826/0.4299, allocations: 3.612 MB / 448.2 MB, free: 248 kB / 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: 5.00781387463212]