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.001802/0.001802, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 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.002273/0.002273, allocations: 169.2 kB / 24.5 MB, free: 3.453 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.462/1.462, allocations: 177.2 MB / 204.9 MB, free: 9.059 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 0.001709/0.001709, allocations: 51.75 kB / 325.6 MB, free: 272 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0953/0.09701, allocations: 53.34 MB / 378.9 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.004334/0.1013, allocations: 2.582 MB / 381.5 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001386/0.1027, allocations: 0.6778 MB / 382.2 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002017/0.1029, allocations: 4 kB / 382.2 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001663/0.1031, allocations: 39.58 kB / 382.2 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002356/0.1033, allocations: 91.27 kB / 382.3 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003097/0.1036, allocations: 103.8 kB / 382.4 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004706/0.1041, allocations: 354.5 kB / 382.8 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001696/0.1043, allocations: 60.81 kB / 382.8 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002112/0.1045, allocations: 131.5 kB / 383 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000229/0.1047, allocations: 131.4 kB / 383.1 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.361e-05/0.1048, allocations: 28 kB / 383.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.48e-05/0.1048, allocations: 32 kB / 383.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.565e-05/0.1049, allocations: 63.7 kB / 383.2 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000166/0.1051, allocations: 127.5 kB / 383.3 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004208/0.1055, allocations: 322.7 kB / 383.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.1055, allocations: 0 / 383.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1055, allocations: 0 / 383.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.857e-06/0.1055, allocations: 0 / 383.7 MB, free: 10.93 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.001321/0.1068, allocations: 0.5665 MB / 384.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.1069, allocations: 12.03 kB / 384.2 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.744e-05/0.107, allocations: 28.75 kB / 384.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004153/0.1074, allocations: 217.8 kB / 384.5 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.326e-05/0.1074, allocations: 16.88 kB / 384.5 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.393e-05/0.1074, allocations: 20.36 kB / 384.5 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000703/0.1081, allocations: 342.4 kB / 384.8 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.1082, allocations: 0 / 384.8 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.976e-05/0.1082, allocations: 12 kB / 384.9 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.1082, allocations: 4 kB / 384.9 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007901/0.109, allocations: 245.8 kB / 385.1 MB, free: 9.395 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001555/0.1105, allocations: 0.7715 MB / 385.9 MB, free: 8.574 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001572/0.1121, allocations: 354.4 kB / 386.2 MB, free: 8.219 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003338/0.1124, allocations: 88.78 kB / 386.3 MB, free: 8.129 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.03e-05/0.1125, allocations: 4 kB / 386.3 MB, free: 8.125 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004871/0.113, allocations: 225.1 kB / 386.5 MB, free: 7.871 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.492e-06/0.113, allocations: 0 / 386.5 MB, free: 7.871 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.002146/0.1151, allocations: 0.494 MB / 387 MB, free: 7.367 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.63e-05/0.1152, allocations: 110.8 kB / 387.1 MB, free: 7.234 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000288/0.1155, allocations: 261.8 kB / 387.4 MB, free: 6.969 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.695e-05/0.1155, allocations: 29.7 kB / 387.4 MB, free: 6.934 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001476/0.1156, allocations: 195.9 kB / 387.6 MB, free: 6.738 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.384e-05/0.1157, allocations: 31.77 kB / 387.6 MB, free: 6.707 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.992e-05/0.1158, allocations: 45.7 kB / 387.7 MB, free: 6.656 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.1159, allocations: 338.8 kB / 388 MB, free: 6.316 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003794/0.1163, allocations: 121.6 kB / 388.1 MB, free: 6.191 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004977/0.1168, allocations: 287.3 kB / 388.4 MB, free: 5.844 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007515/0.1175, allocations: 301.9 kB / 388.7 MB, free: 5.5 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.1176, allocations: 0 / 388.7 MB, free: 5.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001298/0.1188, allocations: 469.5 kB / 389.2 MB, free: 5.023 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.531e-05/0.1189, allocations: 29.7 kB / 389.2 MB, free: 4.988 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.1189, allocations: 4 kB / 389.2 MB, free: 4.984 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003083/0.1192, allocations: 64.88 kB / 389.3 MB, free: 4.918 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002348/0.1194, allocations: 55.89 kB / 389.3 MB, free: 4.863 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002332/0.1218, allocations: 1.475 MB / 390.8 MB, free: 3.285 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003567/0.1221, allocations: 55.8 kB / 390.8 MB, free: 3.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.285e-05/0.1222, allocations: 8 kB / 390.9 MB, free: 3.223 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.0001661/0.1223, allocations: 153.8 kB / 391 MB, free: 3.062 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.57e-05/0.1224, allocations: 19.91 kB / 391 MB, free: 3.043 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.738e-05/0.1224, allocations: 25.7 kB / 391.1 MB, free: 3.012 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.1224, allocations: 4 kB / 391.1 MB, free: 3.008 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.1224, allocations: 0 / 391.1 MB, free: 3.008 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.1224, allocations: 0 / 391.1 MB, free: 3.008 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001421/0.1239, allocations: 0.5537 MB / 391.6 MB, free: 2.414 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.703e-06/0.1239, allocations: 8.094 kB / 391.6 MB, free: 2.406 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001466/0.124, allocations: 31.91 kB / 391.6 MB, free: 2.375 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002233/0.1242, allocations: 56.81 kB / 391.7 MB, free: 2.316 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.1242, allocations: 0 / 391.7 MB, free: 2.316 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002164/0.1264, allocations: 1.479 MB / 393.2 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.1264, allocations: 3.938 kB / 393.2 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001071/0.1275, allocations: 388.1 kB / 393.6 MB, free: 344 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.133e-05/0.1275, allocations: 23.84 kB / 393.6 MB, free: 320 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.375e-05/0.1276, allocations: 7.938 kB / 393.6 MB, free: 312 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002789/0.1278, allocations: 35.95 kB / 393.6 MB, free: 276 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.07e-05/0.1279, allocations: 11.98 kB / 393.6 MB, free: 264 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.605e-05/0.1279, allocations: 7.984 kB / 393.7 MB, free: 256 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001875/0.1281, allocations: 181.2 kB / 393.8 MB, free: 76 kB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1281, allocations: 0 / 393.8 MB, free: 76 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003772/0.1285, allocations: 67.89 kB / 393.9 MB, free: 8 kB / 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.0001441/0.1286, allocations: 103.2 kB / 394 MB, free: 15.89 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001025/0.1297, allocations: 411.6 kB / 394.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.1297, allocations: 4 kB / 394.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004381/0.1301, allocations: 203.2 kB / 394.6 MB, free: 15.25 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003989/0.1305, allocations: 52.69 kB / 394.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001029/0.1315, allocations: 451.6 kB / 395.1 MB, free: 14.73 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000154/0.1317, allocations: 130.2 kB / 395.2 MB, free: 14.58 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.118e-05/0.1318, allocations: 25.94 kB / 395.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.049e-05/0.1318, allocations: 24.5 kB / 395.3 MB, free: 14.53 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1318, allocations: 0 / 395.3 MB, free: 14.53 MB / 366.1 MB Notification: Performance of Templates: time 0.008354/0.1402, allocations: 3.589 MB / 398.9 MB, free: 11 MB / 366.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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/VoltageFollower/VoltageFollower.csv","/var/lib/jenkins1/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.364212415064685]