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.001286/0.001286, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 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.001422/0.001422, allocations: 207.2 kB / 23.73 MB, free: 4.379 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.415/1.415, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 47.92 kB / 377.7 MB, free: 2.934 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2627/0.2642, allocations: 53.37 MB / 431.1 MB, free: 6.637 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.004058/0.2683, allocations: 2.593 MB / 433.7 MB, free: 4.031 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001249/0.2695, allocations: 0.6778 MB / 434.4 MB, free: 3.348 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001233/0.2696, allocations: 4 kB / 434.4 MB, free: 3.344 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001422/0.2698, allocations: 43.58 kB / 434.4 MB, free: 3.301 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001844/0.27, allocations: 87.25 kB / 434.5 MB, free: 3.215 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002721/0.2702, allocations: 99.83 kB / 434.6 MB, free: 3.117 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004084/0.2706, allocations: 358.5 kB / 435 MB, free: 2.766 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001742/0.2708, allocations: 58.59 kB / 435 MB, free: 2.707 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001803/0.271, allocations: 131.5 kB / 435.2 MB, free: 2.578 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002086/0.2712, allocations: 147.3 kB / 435.3 MB, free: 2.434 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.029e-05/0.2713, allocations: 28 kB / 435.3 MB, free: 2.406 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.966e-05/0.2713, allocations: 32 kB / 435.4 MB, free: 2.375 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.966e-05/0.2714, allocations: 63.7 kB / 435.4 MB, free: 2.312 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001502/0.2715, allocations: 123.5 kB / 435.5 MB, free: 2.191 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003696/0.2719, allocations: 330.6 kB / 435.9 MB, free: 1.867 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2719, allocations: 0 / 435.9 MB, free: 1.867 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2719, allocations: 0 / 435.9 MB, free: 1.867 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.2719, allocations: 0 / 435.9 MB, free: 1.867 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.001231/0.2731, allocations: 0.5663 MB / 436.4 MB, free: 1.266 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.2732, allocations: 12.03 kB / 436.4 MB, free: 1.254 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.376e-05/0.2732, allocations: 50.73 kB / 436.5 MB, free: 1.195 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.031e-05/0.2733, allocations: 32.75 kB / 436.5 MB, free: 1.164 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003868/0.2737, allocations: 217.8 kB / 436.7 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.082e-05/0.2737, allocations: 20.81 kB / 436.8 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.568e-05/0.2738, allocations: 16.38 kB / 436.8 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006854/0.2744, allocations: 337.2 kB / 437.1 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.2745, allocations: 0 / 437.1 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.951e-05/0.2745, allocations: 8 kB / 437.1 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.2745, allocations: 8 kB / 437.1 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007561/0.2753, allocations: 245.6 kB / 437.4 MB, free: 288 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001601/0.2769, allocations: 0.8016 MB / 438.2 MB, free: 15.42 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001478/0.2783, allocations: 366.3 kB / 438.5 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003216/0.2787, allocations: 88.72 kB / 438.6 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.844e-05/0.2787, allocations: 0 / 438.6 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000505/0.2792, allocations: 233.2 kB / 438.8 MB, free: 14.7 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.132e-06/0.2792, allocations: 3.938 kB / 438.8 MB, free: 14.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.002024/0.2812, allocations: 0.494 MB / 439.3 MB, free: 14.19 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.371e-05/0.2813, allocations: 106.8 kB / 439.4 MB, free: 14.06 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003153/0.2816, allocations: 273.8 kB / 439.7 MB, free: 13.79 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.446e-05/0.2816, allocations: 29.7 kB / 439.7 MB, free: 13.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000171/0.2818, allocations: 188 kB / 439.9 MB, free: 13.56 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.225e-05/0.2819, allocations: 43.61 kB / 440 MB, free: 13.52 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.964e-05/0.282, allocations: 45.7 kB / 440 MB, free: 13.47 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000252/0.2822, allocations: 342.8 kB / 440.3 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003775/0.2826, allocations: 125.6 kB / 440.5 MB, free: 13 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004703/0.2831, allocations: 274.8 kB / 440.7 MB, free: 12.66 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006944/0.2837, allocations: 297.4 kB / 441 MB, free: 12.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.2837, allocations: 4 kB / 441 MB, free: 12.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001287/0.285, allocations: 457.6 kB / 441.5 MB, free: 11.85 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.482e-05/0.2851, allocations: 33.7 kB / 441.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.2851, allocations: 4 kB / 441.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003196/0.2854, allocations: 64.88 kB / 441.6 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002262/0.2856, allocations: 47.91 kB / 441.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002373/0.288, allocations: 1.506 MB / 443.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003508/0.2884, allocations: 59.73 kB / 443.2 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.278e-05/0.2884, allocations: 8.078 kB / 443.2 MB, free: 10 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.0001746/0.2886, allocations: 144.5 kB / 443.3 MB, free: 9.855 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.697e-05/0.2886, allocations: 27.8 kB / 443.3 MB, free: 9.828 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.352e-05/0.2887, allocations: 25.7 kB / 443.4 MB, free: 9.801 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.2887, allocations: 0 / 443.4 MB, free: 9.801 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.2887, allocations: 4.312 kB / 443.4 MB, free: 9.797 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.2887, allocations: 0 / 443.4 MB, free: 9.797 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001425/0.2901, allocations: 0.5917 MB / 444 MB, free: 9.152 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.2901, allocations: 4 kB / 444 MB, free: 9.148 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000145/0.2902, allocations: 32.02 kB / 444 MB, free: 9.117 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002332/0.2905, allocations: 56.8 kB / 444.1 MB, free: 9.059 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.2905, allocations: 0 / 444.1 MB, free: 9.059 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00212/0.2926, allocations: 1.502 MB / 445.6 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.2926, allocations: 3.984 kB / 445.6 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001061/0.2937, allocations: 396.1 kB / 446 MB, free: 7.035 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.949e-05/0.2937, allocations: 23.84 kB / 446 MB, free: 7.012 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.684e-05/0.2938, allocations: 4 kB / 446 MB, free: 7.008 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002631/0.294, allocations: 27.97 kB / 446 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.287e-05/0.2941, allocations: 19.97 kB / 446 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.045e-05/0.2941, allocations: 0 / 446 MB, free: 6.961 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002318/0.2943, allocations: 197.2 kB / 446.2 MB, free: 6.766 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2943, allocations: 0 / 446.2 MB, free: 6.766 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003807/0.2947, allocations: 67.89 kB / 446.3 MB, free: 6.699 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.001362/0.2961, allocations: 0.9238 MB / 447.2 MB, free: 5.742 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009995/0.2971, allocations: 423.6 kB / 447.6 MB, free: 5.297 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2971, allocations: 4 kB / 447.6 MB, free: 5.293 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004254/0.2975, allocations: 199.4 kB / 447.8 MB, free: 5.086 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004032/0.2979, allocations: 46.33 kB / 447.9 MB, free: 5.047 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005264/0.3032, allocations: 3.118 MB / 451 MB, free: 1.734 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001318/0.3033, allocations: 134.2 kB / 451.1 MB, free: 1.586 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001202/0.3034, allocations: 26.28 kB / 451.1 MB, free: 1.562 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001285/0.3036, allocations: 75.41 kB / 451.2 MB, free: 1.488 MB / 350.1 MB Notification: Performance of SimCode: time 9.32e-07/0.3036, allocations: 0 / 451.2 MB, free: 1.488 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03834/0.3419, allocations: 6.867 MB / 458.1 MB, free: 10.81 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.47/12.82, allocations: 9.688 kB / 458.1 MB, free: 10.8 MB / 366.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe 2>&1) [Timeout 52.5] 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: 15.162991944001988]