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.002005/0.002005, allocations: 92.31 kB / 20.96 MB, free: 3.473 MB / 18.57 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.002618/0.002618, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 18.57 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.47/1.47, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 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.794e-06/1.794e-06, allocations: 0 / 272.4 MB, free: 1.789 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.753e-05/2.933e-05, allocations: 2.312 kB / 272.4 MB, free: 1.785 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.004571/0.0046, allocations: 2.592 MB / 275 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001771/0.006371, allocations: 0.6778 MB / 275.6 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002483/0.00662, allocations: 11.88 kB / 275.6 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002124/0.006832, allocations: 47.56 kB / 275.7 MB, free: 14.44 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002979/0.00713, allocations: 95.25 kB / 275.8 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003507/0.00748, allocations: 95.81 kB / 275.9 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000548/0.008028, allocations: 362.3 kB / 276.2 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002019/0.00823, allocations: 60.81 kB / 276.3 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003603/0.008591, allocations: 191.5 kB / 276.5 MB, free: 13.65 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002162/0.008807, allocations: 111.7 kB / 276.6 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.372e-05/0.008871, allocations: 35.94 kB / 276.6 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.127e-05/0.008932, allocations: 32 kB / 276.7 MB, free: 13.47 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.364e-05/0.009006, allocations: 59.75 kB / 276.7 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001835/0.009189, allocations: 107.7 kB / 276.8 MB, free: 13.31 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004829/0.009672, allocations: 326.9 kB / 277.1 MB, free: 12.99 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.009676, allocations: 0 / 277.1 MB, free: 12.99 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.009678, allocations: 4 kB / 277.1 MB, free: 12.98 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.096e-05/0.009689, allocations: 0 / 277.1 MB, free: 12.98 MB / 266.7 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.001598/0.01129, allocations: 0.5587 MB / 277.7 MB, free: 12.39 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.01133, allocations: 8.031 kB / 277.7 MB, free: 12.38 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001522/0.01148, allocations: 44.75 kB / 277.8 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004996/0.01198, allocations: 225.2 kB / 278 MB, free: 12.09 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.551e-05/0.01201, allocations: 16.88 kB / 278 MB, free: 12.08 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.38e-05/0.01205, allocations: 20.38 kB / 278 MB, free: 12.06 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007761/0.01283, allocations: 326.7 kB / 278.3 MB, free: 11.71 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.01284, allocations: 192 / 278.3 MB, free: 11.71 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.041e-05/0.01287, allocations: 12.31 kB / 278.3 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.679e-05/0.01289, allocations: 11.94 kB / 278.4 MB, free: 11.69 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008159/0.0137, allocations: 245.8 kB / 278.6 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00173/0.01543, allocations: 0.7755 MB / 279.4 MB, free: 10.62 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001528/0.01696, allocations: 354.3 kB / 279.7 MB, free: 10.27 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003703/0.01733, allocations: 96.81 kB / 279.8 MB, free: 10.17 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.276e-05/0.01736, allocations: 0 / 279.8 MB, free: 10.17 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005353/0.01789, allocations: 217.3 kB / 280 MB, free: 9.926 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 1.262e-06/0.01789, allocations: 0 / 280 MB, free: 9.926 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.002162/0.02005, allocations: 0.5056 MB / 280.5 MB, free: 9.41 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.155e-05/0.02015, allocations: 110.8 kB / 280.6 MB, free: 9.277 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003468/0.02049, allocations: 261.8 kB / 280.9 MB, free: 9.008 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.626e-05/0.02053, allocations: 29.7 kB / 280.9 MB, free: 8.973 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001681/0.0207, allocations: 191.9 kB / 281.1 MB, free: 8.781 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.517e-05/0.02074, allocations: 35.73 kB / 281.1 MB, free: 8.746 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/0.02084, allocations: 53.66 kB / 281.2 MB, free: 8.688 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002005/0.02104, allocations: 330.8 kB / 281.5 MB, free: 8.355 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003761/0.02142, allocations: 117.6 kB / 281.6 MB, free: 8.234 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005231/0.02194, allocations: 291.3 kB / 281.9 MB, free: 7.883 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007549/0.0227, allocations: 297.5 kB / 282.2 MB, free: 7.543 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.0227, allocations: 0 / 282.2 MB, free: 7.543 MB / 266.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001336/0.02404, allocations: 473.5 kB / 282.7 MB, free: 7.059 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.582e-05/0.02409, allocations: 37.77 kB / 282.7 MB, free: 7.016 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/0.0241, allocations: 4 kB / 282.7 MB, free: 7.012 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005487/0.02465, allocations: 104.8 kB / 282.8 MB, free: 6.906 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002479/0.0249, allocations: 59.89 kB / 282.9 MB, free: 6.848 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00315/0.02805, allocations: 1.479 MB / 284.4 MB, free: 5.266 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005318/0.02858, allocations: 51.8 kB / 284.4 MB, free: 5.215 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.615e-05/0.02862, allocations: 16.09 kB / 284.4 MB, free: 5.199 MB / 266.7 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.0002396/0.02886, allocations: 141.7 kB / 284.6 MB, free: 5.051 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.987e-05/0.02893, allocations: 19.91 kB / 284.6 MB, free: 5.031 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.761e-05/0.029, allocations: 25.77 kB / 284.6 MB, free: 5.004 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.029, allocations: 0 / 284.6 MB, free: 5.004 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.029, allocations: 3.938 kB / 284.6 MB, free: 5 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.02901, allocations: 0 / 284.6 MB, free: 5 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002022/0.03103, allocations: 0.5572 MB / 285.2 MB, free: 4.402 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.03103, allocations: 0 / 285.2 MB, free: 4.402 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002199/0.03125, allocations: 31.91 kB / 285.2 MB, free: 4.371 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006713/0.03192, allocations: 96.77 kB / 285.3 MB, free: 4.273 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.121e-05/0.03195, allocations: 8 kB / 285.3 MB, free: 4.266 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003203/0.03515, allocations: 1.471 MB / 286.8 MB, free: 2.695 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.03515, allocations: 0 / 286.8 MB, free: 2.695 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001631/0.03678, allocations: 404 kB / 287.2 MB, free: 2.281 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.57e-05/0.03685, allocations: 15.89 kB / 287.2 MB, free: 2.266 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.136e-05/0.0369, allocations: 8 kB / 287.2 MB, free: 2.258 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004159/0.03731, allocations: 27.97 kB / 287.2 MB, free: 2.23 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/0.03742, allocations: 19.91 kB / 287.2 MB, free: 2.211 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-05/0.03744, allocations: 4 kB / 287.2 MB, free: 2.207 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003211/0.03776, allocations: 189.2 kB / 287.4 MB, free: 2.023 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.03776, allocations: 0 / 287.4 MB, free: 2.023 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000673/0.03843, allocations: 67.84 kB / 287.5 MB, free: 1.957 MB / 266.7 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.0001943/0.03863, allocations: 107.2 kB / 287.6 MB, free: 1.844 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001532/0.04016, allocations: 410.7 kB / 288 MB, free: 1.414 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.04016, allocations: 4 kB / 288 MB, free: 1.41 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006708/0.04083, allocations: 207.2 kB / 288.2 MB, free: 1.195 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006291/0.04146, allocations: 40.66 kB / 288.2 MB, free: 1.156 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001584/0.04305, allocations: 436.9 kB / 288.7 MB, free: 0.6992 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002159/0.04326, allocations: 142 kB / 288.8 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001563/0.04342, allocations: 25.92 kB / 288.8 MB, free: 0.5117 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.468e-05/0.04351, allocations: 20.5 kB / 288.8 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of SimCode: time 6.61e-07/0.04351, allocations: 0 / 288.8 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of Templates: time 0.01217/0.05568, allocations: 3.602 MB / 292.4 MB, free: 12.95 MB / 282.7 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.455839343019761]