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.001811/0.001811, allocations: 100 kB / 21.18 MB, free: 0.6484 MB / 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.001951/0.001951, allocations: 185.8 kB / 24.45 MB, free: 3.961 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.462/1.462, allocations: 225.7 MB / 253.3 MB, free: 12.81 MB / 206.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.001698/0.001698, allocations: 51.92 kB / 371.7 MB, free: 9.145 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2683/0.27, allocations: 52.18 MB / 423.9 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.004256/0.2743, allocations: 2.585 MB / 426.4 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001269/0.2755, allocations: 0.6427 MB / 427.1 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001427/0.2757, allocations: 4 kB / 427.1 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000155/0.2758, allocations: 47.58 kB / 427.1 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001854/0.276, allocations: 87.25 kB / 427.2 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002908/0.2763, allocations: 99.81 kB / 427.3 MB, free: 11 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004063/0.2767, allocations: 346.6 kB / 427.7 MB, free: 10.66 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001734/0.2769, allocations: 64.55 kB / 427.7 MB, free: 10.59 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001746/0.2771, allocations: 131.5 kB / 427.8 MB, free: 10.46 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001934/0.2773, allocations: 131.3 kB / 428 MB, free: 10.34 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.637e-05/0.2773, allocations: 36 kB / 428 MB, free: 10.3 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.661e-05/0.2774, allocations: 28 kB / 428 MB, free: 10.27 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.697e-05/0.2775, allocations: 63.75 kB / 428.1 MB, free: 10.21 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001409/0.2776, allocations: 119.5 kB / 428.2 MB, free: 10.09 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003814/0.278, allocations: 325.6 kB / 428.5 MB, free: 9.777 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/0.278, allocations: 4 kB / 428.5 MB, free: 9.773 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.278, allocations: 0 / 428.5 MB, free: 9.773 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.278, allocations: 0 / 428.5 MB, free: 9.773 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.001268/0.2793, allocations: 0.5585 MB / 429.1 MB, free: 9.18 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.2793, allocations: 12.03 kB / 429.1 MB, free: 9.168 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.713e-05/0.2794, allocations: 28.75 kB / 429.1 MB, free: 9.141 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004162/0.2798, allocations: 226 kB / 429.4 MB, free: 8.895 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.408e-05/0.2798, allocations: 12.81 kB / 429.4 MB, free: 8.883 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.658e-05/0.2798, allocations: 20.38 kB / 429.4 MB, free: 8.863 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006931/0.2805, allocations: 337.4 kB / 429.7 MB, free: 8.508 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.2806, allocations: 0 / 429.7 MB, free: 8.508 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.77e-05/0.2806, allocations: 8 kB / 429.7 MB, free: 8.5 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.2806, allocations: 4 kB / 429.7 MB, free: 8.496 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007567/0.2813, allocations: 249.5 kB / 430 MB, free: 8.25 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001532/0.2829, allocations: 0.7632 MB / 430.7 MB, free: 7.438 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001522/0.2844, allocations: 362.3 kB / 431.1 MB, free: 7.074 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003098/0.2847, allocations: 80.8 kB / 431.2 MB, free: 6.992 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.31e-05/0.2847, allocations: 4 kB / 431.2 MB, free: 6.988 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004929/0.2852, allocations: 229.1 kB / 431.4 MB, free: 6.73 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.644e-06/0.2852, allocations: 0 / 431.4 MB, free: 6.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.002095/0.2873, allocations: 0.4979 MB / 431.9 MB, free: 6.223 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.776e-05/0.2874, allocations: 110.8 kB / 432 MB, free: 6.09 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003031/0.2877, allocations: 257.8 kB / 432.3 MB, free: 5.824 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.984e-05/0.2877, allocations: 29.7 kB / 432.3 MB, free: 5.789 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001556/0.2879, allocations: 199.9 kB / 432.5 MB, free: 5.59 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.471e-05/0.2879, allocations: 31.75 kB / 432.5 MB, free: 5.559 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.536e-05/0.288, allocations: 49.66 kB / 432.6 MB, free: 5.504 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.2882, allocations: 330.8 kB / 432.9 MB, free: 5.172 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000364/0.2885, allocations: 117.6 kB / 433 MB, free: 5.051 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004979/0.289, allocations: 286.7 kB / 433.3 MB, free: 4.703 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000739/0.2898, allocations: 301.1 kB / 433.6 MB, free: 4.363 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.2898, allocations: 4 kB / 433.6 MB, free: 4.359 MB / 334.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001251/0.291, allocations: 461.6 kB / 434 MB, free: 3.887 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.732e-05/0.2911, allocations: 37.77 kB / 434.1 MB, free: 3.844 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.769e-06/0.2911, allocations: 4 kB / 434.1 MB, free: 3.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003378/0.2914, allocations: 56.81 kB / 434.1 MB, free: 3.781 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002326/0.2917, allocations: 55.89 kB / 434.2 MB, free: 3.727 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002475/0.2941, allocations: 1.483 MB / 435.7 MB, free: 2.141 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003599/0.2945, allocations: 55.94 kB / 435.7 MB, free: 2.086 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.582e-05/0.2945, allocations: 12 kB / 435.7 MB, free: 2.074 MB / 334.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.0001704/0.2947, allocations: 141.7 kB / 435.9 MB, free: 1.926 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.969e-05/0.2947, allocations: 19.86 kB / 435.9 MB, free: 1.906 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.967e-05/0.2948, allocations: 29.64 kB / 435.9 MB, free: 1.875 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.552e-06/0.2948, allocations: 0 / 435.9 MB, free: 1.875 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.2948, allocations: 0 / 435.9 MB, free: 1.875 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.2948, allocations: 0 / 435.9 MB, free: 1.875 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00135/0.2961, allocations: 0.5612 MB / 436.5 MB, free: 1.273 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.2961, allocations: 3.938 kB / 436.5 MB, free: 1.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001398/0.2963, allocations: 27.91 kB / 436.5 MB, free: 1.242 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002212/0.2965, allocations: 56.81 kB / 436.6 MB, free: 1.184 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.638e-05/0.2965, allocations: 4 kB / 436.6 MB, free: 1.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00209/0.2986, allocations: 1.456 MB / 438 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.2986, allocations: 7.969 kB / 438 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001071/0.2997, allocations: 396.1 kB / 438.4 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.924e-05/0.2997, allocations: 23.8 kB / 438.4 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.945e-05/0.2998, allocations: 11.92 kB / 438.4 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002673/0.3, allocations: 27.97 kB / 438.5 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.163e-05/0.3001, allocations: 19.97 kB / 438.5 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/0.3001, allocations: 4 kB / 438.5 MB, free: 15.12 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002051/0.3003, allocations: 185.2 kB / 438.7 MB, free: 14.95 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3003, allocations: 0 / 438.7 MB, free: 14.95 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003901/0.3007, allocations: 63.89 kB / 438.7 MB, free: 14.88 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.0001376/0.3009, allocations: 107.4 kB / 438.8 MB, free: 14.77 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009977/0.3019, allocations: 419.4 kB / 439.3 MB, free: 14.32 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3019, allocations: 0 / 439.3 MB, free: 14.32 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004353/0.3023, allocations: 207.4 kB / 439.5 MB, free: 14.11 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003964/0.3027, allocations: 44.27 kB / 439.5 MB, free: 14.07 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001072/0.3038, allocations: 465.4 kB / 440 MB, free: 13.59 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001361/0.3039, allocations: 142.1 kB / 440.1 MB, free: 13.42 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.484e-05/0.304, allocations: 23.44 kB / 440.1 MB, free: 13.4 MB / 350.1 MB Notification: Performance of SimCode: time 6.31e-07/0.304, allocations: 0 / 440.1 MB, free: 13.4 MB / 350.1 MB Notification: Performance of Templates: time 0.00669/0.3107, allocations: 4.168 MB / 444.3 MB, free: 9.238 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 -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: 7.259917911142111]