Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00186/0.00186, allocations: 116.8 kB / 19.17 MB, free: 3.895 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002334/0.002334, allocations: 214.6 kB / 22.13 MB, free: 0.9414 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.441/1.441, allocations: 230.2 MB / 255.2 MB, free: 15.39 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00184/0.00184, allocations: 67.89 kB / 374.6 MB, free: 9.883 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09897/0.1008, allocations: 53.31 MB / 427.9 MB, free: 4.469 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.004147/0.105, allocations: 2.77 MB / 430.6 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001306/0.1063, allocations: 0.7051 MB / 431.4 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001326/0.1064, allocations: 7.938 kB / 431.4 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001447/0.1065, allocations: 43.58 kB / 431.4 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001891/0.1067, allocations: 91.25 kB / 431.5 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002755/0.107, allocations: 99.8 kB / 431.6 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003919/0.1074, allocations: 346.6 kB / 431.9 MB, free: 408 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001748/0.1076, allocations: 68.64 kB / 432 MB, free: 332 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001724/0.1077, allocations: 127.5 kB / 432.1 MB, free: 204 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002055/0.1079, allocations: 143.4 kB / 432.3 MB, free: 60 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.485e-05/0.108, allocations: 32 kB / 432.3 MB, free: 28 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.341e-05/0.1081, allocations: 28 kB / 432.3 MB, free: 0 / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001047/0.1082, allocations: 63.89 kB / 432.4 MB, free: 15.93 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001683/0.1083, allocations: 147.2 kB / 432.5 MB, free: 15.79 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000386/0.1087, allocations: 314.7 kB / 432.8 MB, free: 15.48 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1087, allocations: 0 / 432.8 MB, free: 15.48 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1087, allocations: 0 / 432.8 MB, free: 15.48 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.1087, allocations: 4 kB / 432.8 MB, free: 15.48 MB / 366.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.001323/0.11, allocations: 0.6455 MB / 433.5 MB, free: 14.78 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.1101, allocations: 12.02 kB / 433.5 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.054e-05/0.1102, allocations: 32.75 kB / 433.5 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004071/0.1106, allocations: 279.6 kB / 433.8 MB, free: 14.42 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.161e-05/0.1106, allocations: 16.81 kB / 433.8 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.88e-05/0.1106, allocations: 20.38 kB / 433.8 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000674/0.1113, allocations: 278.1 kB / 434.1 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.1113, allocations: 4 kB / 434.1 MB, free: 14.1 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.174e-05/0.1114, allocations: 15.98 kB / 434.1 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.1114, allocations: 4 kB / 434.1 MB, free: 14.08 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008046/0.1122, allocations: 245.5 kB / 434.4 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001612/0.1138, allocations: 0.9026 MB / 435.3 MB, free: 12.87 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001594/0.1154, allocations: 439.4 kB / 435.7 MB, free: 12.41 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003253/0.1157, allocations: 92.72 kB / 435.8 MB, free: 12.32 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.037e-05/0.1157, allocations: 4 kB / 435.8 MB, free: 12.31 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004866/0.1162, allocations: 161.9 kB / 436 MB, free: 12.13 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.763e-06/0.1162, allocations: 0 / 436 MB, free: 12.13 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.002183/0.1184, allocations: 0.5771 MB / 436.5 MB, free: 11.53 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.581e-05/0.1185, allocations: 106.8 kB / 436.6 MB, free: 11.4 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003249/0.1188, allocations: 270.7 kB / 436.9 MB, free: 11.13 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.13e-05/0.1188, allocations: 29.7 kB / 436.9 MB, free: 11.09 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001588/0.119, allocations: 192 kB / 437.1 MB, free: 10.9 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.911e-05/0.119, allocations: 35.72 kB / 437.2 MB, free: 10.87 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000118/0.1191, allocations: 45.7 kB / 437.2 MB, free: 10.82 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.1193, allocations: 342.8 kB / 437.5 MB, free: 10.47 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003593/0.1197, allocations: 91.92 kB / 437.6 MB, free: 10.38 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004631/0.1201, allocations: 194.4 kB / 437.8 MB, free: 10.14 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007545/0.1209, allocations: 309.3 kB / 438.1 MB, free: 9.793 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.1209, allocations: 4 kB / 438.1 MB, free: 9.789 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.00128/0.1222, allocations: 439.7 kB / 438.5 MB, free: 9.348 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.433e-05/0.1222, allocations: 33.7 kB / 438.6 MB, free: 9.309 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.1222, allocations: 4 kB / 438.6 MB, free: 9.305 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003219/0.1225, allocations: 60.88 kB / 438.6 MB, free: 9.242 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002373/0.1228, allocations: 51.91 kB / 438.7 MB, free: 9.191 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002352/0.1251, allocations: 1.606 MB / 440.3 MB, free: 7.449 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003409/0.1255, allocations: 51.88 kB / 440.3 MB, free: 7.398 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.267e-05/0.1255, allocations: 12 kB / 440.4 MB, free: 7.387 MB / 366.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.0001685/0.1257, allocations: 151.3 kB / 440.5 MB, free: 7.23 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.123e-05/0.1257, allocations: 27.8 kB / 440.5 MB, free: 7.203 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.184e-05/0.1258, allocations: 25.7 kB / 440.6 MB, free: 7.176 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.1258, allocations: 0 / 440.6 MB, free: 7.176 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1258, allocations: 4 kB / 440.6 MB, free: 7.172 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.1258, allocations: 0 / 440.6 MB, free: 7.172 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001404/0.1272, allocations: 0.6396 MB / 441.2 MB, free: 6.473 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.1272, allocations: 0 / 441.2 MB, free: 6.473 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001428/0.1273, allocations: 27.97 kB / 441.2 MB, free: 6.445 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000236/0.1275, allocations: 60.81 kB / 441.3 MB, free: 6.383 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.1276, allocations: 0 / 441.3 MB, free: 6.383 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002198/0.1298, allocations: 1.594 MB / 442.9 MB, free: 4.641 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1298, allocations: 0 / 442.9 MB, free: 4.641 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001176/0.1309, allocations: 396 kB / 443.3 MB, free: 4.234 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.131, allocations: 96.97 kB / 443.4 MB, free: 4.121 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.666e-05/0.1311, allocations: 7.938 kB / 443.4 MB, free: 4.113 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002849/0.1314, allocations: 39.95 kB / 443.4 MB, free: 4.074 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.322e-05/0.1314, allocations: 11.98 kB / 443.4 MB, free: 4.062 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.261e-05/0.1314, allocations: 7.984 kB / 443.4 MB, free: 4.055 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000234/0.1317, allocations: 189.9 kB / 443.6 MB, free: 3.871 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1317, allocations: 0 / 443.6 MB, free: 3.871 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004022/0.1321, allocations: 67.89 kB / 443.7 MB, free: 3.805 MB / 366.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.0001652/0.1322, allocations: 103.4 kB / 443.8 MB, free: 3.691 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001025/0.1333, allocations: 398.4 kB / 444.2 MB, free: 3.277 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1333, allocations: 0 / 444.2 MB, free: 3.277 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004423/0.1337, allocations: 194.6 kB / 444.4 MB, free: 3.074 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003876/0.1341, allocations: 57.88 kB / 444.4 MB, free: 3.023 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001079/0.1352, allocations: 476.9 kB / 444.9 MB, free: 2.527 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003895/0.1356, allocations: 0.7402 MB / 445.6 MB, free: 1.762 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.603e-05/0.1356, allocations: 23.42 kB / 445.6 MB, free: 1.738 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1356, allocations: 0 / 445.6 MB, free: 1.738 MB / 366.1 MB Notification: Performance of Templates: time 0.1722/0.3078, allocations: 4.141 MB / 449.8 MB, free: 23.55 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/VoltageFollower/VoltageFollower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 7.410724740009755]