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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=2000,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=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009331/0.0009331, allocations: 96.5 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001121/0.001121, allocations: 207.8 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.33/1.33, allocations: 227.7 MB / 247.5 MB, free: 11.39 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002981/0.0002981, allocations: 8 kB / 308.4 MB, free: 0.7891 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08342/0.08374, allocations: 51.52 MB / 359.9 MB, free: 13.26 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.002823/0.08661, allocations: 2.435 MB / 362.4 MB, free: 10.81 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001286/0.08793, allocations: 0.7013 MB / 363.1 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001616/0.08811, allocations: 8 kB / 363.1 MB, free: 10.1 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001307/0.08825, allocations: 31.77 kB / 363.1 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002113/0.08847, allocations: 79.38 kB / 363.2 MB, free: 9.988 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002592/0.08874, allocations: 75.92 kB / 363.2 MB, free: 9.914 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003482/0.0891, allocations: 338.5 kB / 363.6 MB, free: 9.582 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001746/0.08928, allocations: 69.16 kB / 363.6 MB, free: 9.516 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001731/0.08946, allocations: 115.5 kB / 363.8 MB, free: 9.402 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000184/0.08966, allocations: 127.4 kB / 363.9 MB, free: 9.277 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.344e-05/0.08971, allocations: 16 kB / 363.9 MB, free: 9.262 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.285e-05/0.08976, allocations: 16 kB / 363.9 MB, free: 9.246 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.348e-05/0.08982, allocations: 51.7 kB / 364 MB, free: 9.195 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001606/0.08998, allocations: 149 kB / 364.1 MB, free: 9.043 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000229/0.09022, allocations: 235.6 kB / 364.3 MB, free: 8.812 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.09023, allocations: 0 / 364.3 MB, free: 8.812 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.09024, allocations: 4 kB / 364.3 MB, free: 8.809 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.864e-06/0.09026, allocations: 4 kB / 364.3 MB, free: 8.805 MB / 302.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.001155/0.09142, allocations: 0.603 MB / 365 MB, free: 8.141 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.09147, allocations: 12.03 kB / 365 MB, free: 8.129 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.72e-05/0.09155, allocations: 28.56 kB / 365 MB, free: 8.102 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003084/0.09187, allocations: 267.6 kB / 365.3 MB, free: 7.801 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/0.0919, allocations: 12.81 kB / 365.3 MB, free: 7.789 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.266e-05/0.09195, allocations: 32.36 kB / 365.3 MB, free: 7.758 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007087/0.09266, allocations: 302 kB / 365.6 MB, free: 7.449 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.09268, allocations: 0 / 365.6 MB, free: 7.449 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.612e-05/0.09271, allocations: 4 kB / 365.6 MB, free: 7.445 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.09273, allocations: 4 kB / 365.6 MB, free: 7.441 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007712/0.0935, allocations: 269.6 kB / 365.9 MB, free: 7.18 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001605/0.09512, allocations: 0.9297 MB / 366.8 MB, free: 6.18 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001571/0.0967, allocations: 495.4 kB / 367.3 MB, free: 5.668 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003468/0.09707, allocations: 116.8 kB / 367.4 MB, free: 5.551 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.975e-05/0.0971, allocations: 0 / 367.4 MB, free: 5.551 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004929/0.0976, allocations: 185.7 kB / 367.6 MB, free: 5.348 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.523e-06/0.09761, allocations: 0 / 367.6 MB, free: 5.348 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.002193/0.09981, allocations: 0.6512 MB / 368.2 MB, free: 4.668 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.451e-05/0.09989, allocations: 110.8 kB / 368.3 MB, free: 4.535 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002993/0.1002, allocations: 266.6 kB / 368.6 MB, free: 4.266 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.706e-05/0.1002, allocations: 29.7 kB / 368.6 MB, free: 4.23 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001352/0.1004, allocations: 191.5 kB / 368.8 MB, free: 4.039 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.304e-05/0.1004, allocations: 31.7 kB / 368.8 MB, free: 4.008 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.962e-05/0.1005, allocations: 21.7 kB / 368.9 MB, free: 3.98 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.1006, allocations: 342.8 kB / 369.2 MB, free: 3.637 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000356/0.101, allocations: 107.9 kB / 369.3 MB, free: 3.531 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004246/0.1014, allocations: 218.6 kB / 369.5 MB, free: 3.27 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007442/0.1022, allocations: 332.6 kB / 369.8 MB, free: 2.898 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.1022, allocations: 0 / 369.8 MB, free: 2.898 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001278/0.1035, allocations: 467.8 kB / 370.3 MB, free: 2.426 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.625e-05/0.1035, allocations: 37.77 kB / 370.3 MB, free: 2.383 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.1035, allocations: 8 kB / 370.3 MB, free: 2.375 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002998/0.1038, allocations: 64.75 kB / 370.4 MB, free: 2.309 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002366/0.1041, allocations: 67.89 kB / 370.5 MB, free: 2.242 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002087/0.1062, allocations: 1.526 MB / 372 MB, free: 0.582 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003663/0.1066, allocations: 60.09 kB / 372.1 MB, free: 0.5234 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.498e-05/0.1066, allocations: 11.98 kB / 372.1 MB, free: 0.5117 MB / 302.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.0001669/0.1068, allocations: 150.4 kB / 372.2 MB, free: 364 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.552e-05/0.1068, allocations: 19.81 kB / 372.2 MB, free: 344 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.39e-05/0.1069, allocations: 33.58 kB / 372.3 MB, free: 316 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1069, allocations: 0 / 372.3 MB, free: 316 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.1069, allocations: 0 / 372.3 MB, free: 316 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.1069, allocations: 0 / 372.3 MB, free: 316 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1747/0.2816, allocations: 0.68 MB / 372.9 MB, free: 19.25 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.2817, allocations: 0 / 372.9 MB, free: 19.25 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001755/0.2818, allocations: 34.56 kB / 373 MB, free: 19.25 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002747/0.2821, allocations: 62.52 kB / 373 MB, free: 19.25 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.433e-05/0.2822, allocations: 3.141 kB / 373 MB, free: 19.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001823/0.284, allocations: 1.519 MB / 374.6 MB, free: 18 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.284, allocations: 0 / 374.6 MB, free: 18 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001124/0.2851, allocations: 435.9 kB / 375 MB, free: 17.86 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.195e-05/0.2852, allocations: 102.1 kB / 375.1 MB, free: 17.77 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.134e-05/0.2853, allocations: 3.141 kB / 375.1 MB, free: 17.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002827/0.2856, allocations: 44.8 kB / 375.1 MB, free: 17.77 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.057e-05/0.2857, allocations: 19.52 kB / 375.2 MB, free: 17.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.407e-05/0.2857, allocations: 6.25 kB / 375.2 MB, free: 17.77 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001948/0.2859, allocations: 191.7 kB / 375.3 MB, free: 17.69 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2859, allocations: 0 / 375.3 MB, free: 17.69 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003903/0.2863, allocations: 62.88 kB / 375.4 MB, free: 17.69 MB / 302.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.0001426/0.2864, allocations: 106.2 kB / 375.5 MB, free: 17.6 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009727/0.2874, allocations: 419.4 kB / 375.9 MB, free: 17.43 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.2874, allocations: 3.844 kB / 375.9 MB, free: 17.43 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004301/0.2879, allocations: 223.1 kB / 376.1 MB, free: 17.32 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000434/0.2883, allocations: 41.33 kB / 376.2 MB, free: 17.32 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001096/0.2894, allocations: 0.5619 MB / 376.7 MB, free: 16.99 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002013/0.2896, allocations: 0.7493 MB / 377.5 MB, free: 16.29 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.274e-05/0.2897, allocations: 20.61 kB / 377.5 MB, free: 16.29 MB / 302.1 MB Notification: Performance of SimCode: time 5.71e-07/0.2897, allocations: 0 / 377.5 MB, free: 16.29 MB / 302.1 MB Notification: Performance of Templates: time 0.007944/0.2977, allocations: 4.09 MB / 381.6 MB, free: 16.03 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.makefile (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) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches