Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001349/0.001349, allocations: 72.06 kB / 21.24 MB, free: 404 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 160.4 kB / 24.49 MB, free: 3.461 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 173.4 MB / 201.1 MB, free: 12.67 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00174/0.00174, allocations: 51.55 kB / 319.4 MB, free: 3.227 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09584/0.09758, allocations: 52.16 MB / 371.6 MB, free: 7.309 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.004597/0.1022, allocations: 2.58 MB / 374.2 MB, free: 4.715 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001481/0.1037, allocations: 0.6428 MB / 374.8 MB, free: 4.066 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002372/0.1039, allocations: 7.938 kB / 374.8 MB, free: 4.059 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002055/0.1041, allocations: 43.58 kB / 374.9 MB, free: 4.016 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002844/0.1044, allocations: 91.25 kB / 375 MB, free: 3.926 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000348/0.1047, allocations: 103.8 kB / 375.1 MB, free: 3.824 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005344/0.1053, allocations: 350.5 kB / 375.4 MB, free: 3.48 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001848/0.1055, allocations: 60.83 kB / 375.5 MB, free: 3.418 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002519/0.1057, allocations: 131.5 kB / 375.6 MB, free: 3.289 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002783/0.106, allocations: 127.4 kB / 375.7 MB, free: 3.164 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.772e-05/0.1061, allocations: 32 kB / 375.7 MB, free: 3.133 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.565e-05/0.1062, allocations: 28 kB / 375.8 MB, free: 3.105 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.889e-05/0.1063, allocations: 63.7 kB / 375.8 MB, free: 3.043 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002182/0.1065, allocations: 119.5 kB / 376 MB, free: 2.926 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004883/0.107, allocations: 322.7 kB / 376.3 MB, free: 2.609 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.009e-05/0.107, allocations: 15.92 kB / 376.3 MB, free: 2.594 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.107, allocations: 0 / 376.3 MB, free: 2.594 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.427e-05/0.107, allocations: 0 / 376.3 MB, free: 2.594 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.001411/0.1084, allocations: 0.5548 MB / 376.8 MB, free: 2.004 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.1085, allocations: 12.92 kB / 376.8 MB, free: 1.992 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001018/0.1086, allocations: 28.75 kB / 376.9 MB, free: 1.965 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004475/0.109, allocations: 218 kB / 377.1 MB, free: 1.727 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.579e-05/0.109, allocations: 12.88 kB / 377.1 MB, free: 1.711 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.082e-05/0.1091, allocations: 20.38 kB / 377.1 MB, free: 1.691 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007204/0.1098, allocations: 334.4 kB / 377.4 MB, free: 1.34 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.1098, allocations: 3.938 kB / 377.5 MB, free: 1.336 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.706e-05/0.1098, allocations: 8 kB / 377.5 MB, free: 1.328 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.1098, allocations: 4 kB / 377.5 MB, free: 1.324 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008146/0.1106, allocations: 245.8 kB / 377.7 MB, free: 1.086 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00169/0.1123, allocations: 0.7716 MB / 378.5 MB, free: 272 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001575/0.1139, allocations: 354.3 kB / 378.8 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003334/0.1142, allocations: 88.78 kB / 378.9 MB, free: 15.82 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.426e-05/0.1143, allocations: 4 kB / 378.9 MB, free: 15.82 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005034/0.1148, allocations: 233.1 kB / 379.1 MB, free: 15.55 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.553e-06/0.1148, allocations: 0 / 379.1 MB, free: 15.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.002149/0.1169, allocations: 0.4941 MB / 379.6 MB, free: 15.05 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.08e-05/0.117, allocations: 110.8 kB / 379.7 MB, free: 14.92 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000347/0.1174, allocations: 261.8 kB / 380 MB, free: 14.65 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.096e-05/0.1174, allocations: 25.7 kB / 380 MB, free: 14.62 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000171/0.1176, allocations: 203.8 kB / 380.2 MB, free: 14.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.543e-05/0.1176, allocations: 27.81 kB / 380.3 MB, free: 14.39 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.241e-05/0.1177, allocations: 49.66 kB / 380.3 MB, free: 14.33 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001854/0.1179, allocations: 330.8 kB / 380.6 MB, free: 14 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003818/0.1183, allocations: 125.6 kB / 380.7 MB, free: 13.87 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005194/0.1188, allocations: 286.6 kB / 381 MB, free: 13.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007821/0.1196, allocations: 305.1 kB / 381.3 MB, free: 13.18 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.399e-06/0.1196, allocations: 0 / 381.3 MB, free: 13.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001332/0.1209, allocations: 465.6 kB / 381.8 MB, free: 12.7 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.632e-05/0.121, allocations: 33.7 kB / 381.8 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/0.121, allocations: 4 kB / 381.8 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003508/0.1213, allocations: 64.88 kB / 381.9 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002353/0.1216, allocations: 51.89 kB / 381.9 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002416/0.124, allocations: 1.471 MB / 383.4 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003572/0.1243, allocations: 51.84 kB / 383.5 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.772e-05/0.1244, allocations: 12 kB / 383.5 MB, free: 10.91 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.0001792/0.1245, allocations: 145.5 kB / 383.6 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.023e-05/0.1246, allocations: 23.8 kB / 383.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.284e-05/0.1246, allocations: 37.8 kB / 383.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1246, allocations: 0 / 383.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.1246, allocations: 3.938 kB / 383.7 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.1246, allocations: 0 / 383.7 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001437/0.1261, allocations: 0.5534 MB / 384.2 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.1261, allocations: 0 / 384.2 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001677/0.1262, allocations: 31.91 kB / 384.3 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002253/0.1265, allocations: 52.81 kB / 384.3 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.659e-05/0.1265, allocations: 4 kB / 384.3 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002151/0.1286, allocations: 1.467 MB / 385.8 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.1286, allocations: 7.969 kB / 385.8 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001118/0.1298, allocations: 388 kB / 386.2 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.751e-05/0.1298, allocations: 19.86 kB / 386.2 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.896e-05/0.1299, allocations: 11.92 kB / 386.2 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002812/0.1301, allocations: 31.97 kB / 386.2 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.055e-05/0.1302, allocations: 19.97 kB / 386.2 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.341e-05/0.1302, allocations: 4 kB / 386.2 MB, free: 7.949 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002046/0.1304, allocations: 181.2 kB / 386.4 MB, free: 7.773 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1304, allocations: 0 / 386.4 MB, free: 7.773 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004163/0.1308, allocations: 67.89 kB / 386.5 MB, free: 7.707 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.0001328/0.131, allocations: 107.2 kB / 386.6 MB, free: 7.59 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001058/0.132, allocations: 419.7 kB / 387 MB, free: 7.148 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.132, allocations: 0 / 387 MB, free: 7.148 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004691/0.1325, allocations: 206.7 kB / 387.2 MB, free: 6.934 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004047/0.1329, allocations: 44.92 kB / 387.3 MB, free: 6.891 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001065/0.134, allocations: 442.3 kB / 387.7 MB, free: 6.438 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001432/0.1341, allocations: 134.2 kB / 387.8 MB, free: 6.281 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.892e-05/0.1342, allocations: 21.95 kB / 387.8 MB, free: 6.262 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.419e-05/0.1343, allocations: 24.48 kB / 387.9 MB, free: 6.234 MB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1343, allocations: 0 / 387.9 MB, free: 6.234 MB / 350.1 MB Notification: Performance of Templates: time 0.008457/0.1427, allocations: 3.572 MB / 391.4 MB, free: 2.715 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/VoltageFollower/VoltageFollower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.4023138110060245]