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.001271/0.001271, allocations: 119.6 kB / 20.44 MB, free: 1.301 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.001469/0.001469, allocations: 214.5 kB / 23.74 MB, free: 4.527 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.424/1.424, allocations: 230.6 MB / 257.5 MB, free: 7.996 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.001888/0.001888, allocations: 47.92 kB / 377.8 MB, free: 3.109 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2663/0.2682, allocations: 53.35 MB / 431.2 MB, free: 6.859 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.004532/0.2728, allocations: 2.798 MB / 434 MB, free: 4.051 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001485/0.2742, allocations: 0.7129 MB / 434.7 MB, free: 3.332 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002414/0.2745, allocations: 7.938 kB / 434.7 MB, free: 3.324 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001759/0.2747, allocations: 39.58 kB / 434.7 MB, free: 3.285 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002704/0.2749, allocations: 95.25 kB / 434.8 MB, free: 3.191 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003275/0.2753, allocations: 95.81 kB / 434.9 MB, free: 3.098 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000502/0.2758, allocations: 350.5 kB / 435.2 MB, free: 2.754 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001829/0.2759, allocations: 60.91 kB / 435.3 MB, free: 2.691 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002315/0.2762, allocations: 139.5 kB / 435.4 MB, free: 2.555 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002355/0.2764, allocations: 143.4 kB / 435.6 MB, free: 2.414 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.169e-05/0.2765, allocations: 28 kB / 435.6 MB, free: 2.387 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.604e-05/0.2765, allocations: 35.94 kB / 435.6 MB, free: 2.352 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.46e-05/0.2766, allocations: 59.77 kB / 435.7 MB, free: 2.293 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001662/0.2768, allocations: 143.3 kB / 435.8 MB, free: 2.152 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004332/0.2772, allocations: 323.1 kB / 436.2 MB, free: 1.84 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.2772, allocations: 4 kB / 436.2 MB, free: 1.836 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2772, allocations: 0 / 436.2 MB, free: 1.836 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.558e-06/0.2772, allocations: 0 / 436.2 MB, free: 1.836 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.001306/0.2785, allocations: 0.5741 MB / 436.7 MB, free: 1.227 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.2786, allocations: 8.031 kB / 436.7 MB, free: 1.219 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.458e-05/0.2787, allocations: 54.73 kB / 436.8 MB, free: 1.156 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.583e-05/0.2787, allocations: 32.73 kB / 436.8 MB, free: 1.125 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004191/0.2791, allocations: 217.8 kB / 437 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.5e-05/0.2792, allocations: 20.8 kB / 437.1 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.557e-05/0.2792, allocations: 20.31 kB / 437.1 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006615/0.2799, allocations: 285.8 kB / 437.4 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.2799, allocations: 0 / 437.4 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.764e-05/0.2799, allocations: 8 kB / 437.4 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.2799, allocations: 8 kB / 437.4 MB, free: 0.543 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007441/0.2807, allocations: 241.6 kB / 437.6 MB, free: 312 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001665/0.2823, allocations: 0.864 MB / 438.5 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001573/0.2839, allocations: 366.2 kB / 438.8 MB, free: 15.01 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003141/0.2842, allocations: 88.78 kB / 438.9 MB, free: 14.92 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.297e-05/0.2842, allocations: 4 kB / 438.9 MB, free: 14.92 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004651/0.2847, allocations: 165.8 kB / 439.1 MB, free: 14.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.312e-06/0.2847, allocations: 0 / 439.1 MB, free: 14.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.001993/0.2867, allocations: 0.498 MB / 439.6 MB, free: 14.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.043e-05/0.2868, allocations: 106.8 kB / 439.7 MB, free: 14.1 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003231/0.2871, allocations: 269.9 kB / 440 MB, free: 13.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.972e-05/0.2871, allocations: 29.7 kB / 440 MB, free: 13.79 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001617/0.2873, allocations: 191.9 kB / 440.2 MB, free: 13.6 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.777e-05/0.2873, allocations: 39.72 kB / 440.2 MB, free: 13.56 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.446e-05/0.2874, allocations: 41.7 kB / 440.3 MB, free: 13.51 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000189/0.2876, allocations: 346.8 kB / 440.6 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003362/0.2879, allocations: 91.92 kB / 440.7 MB, free: 13.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000415/0.2884, allocations: 205.5 kB / 440.9 MB, free: 12.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007233/0.2891, allocations: 304.6 kB / 441.2 MB, free: 12.48 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.75e-06/0.2891, allocations: 4 kB / 441.2 MB, free: 12.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001215/0.2903, allocations: 431.9 kB / 441.6 MB, free: 12.04 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.493e-05/0.2904, allocations: 38.06 kB / 441.6 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.2904, allocations: 4 kB / 441.6 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002989/0.2907, allocations: 56.89 kB / 441.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002291/0.2909, allocations: 55.89 kB / 441.8 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002273/0.2932, allocations: 1.506 MB / 443.3 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003555/0.2935, allocations: 55.86 kB / 443.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.452e-05/0.2935, allocations: 12 kB / 443.3 MB, free: 10.19 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.0001585/0.2937, allocations: 141.7 kB / 443.5 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.744e-05/0.2937, allocations: 27.8 kB / 443.5 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.582e-05/0.2938, allocations: 21.7 kB / 443.5 MB, free: 9.992 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.194e-05/0.2938, allocations: 7.938 kB / 443.5 MB, free: 9.984 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.2938, allocations: 0 / 443.5 MB, free: 9.984 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.2938, allocations: 3.984 kB / 443.5 MB, free: 9.98 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00134/0.2952, allocations: 0.6074 MB / 444.1 MB, free: 9.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.2952, allocations: 0 / 444.1 MB, free: 9.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00014/0.2953, allocations: 27.91 kB / 444.2 MB, free: 9.293 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002379/0.2955, allocations: 60.81 kB / 444.2 MB, free: 9.23 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.2955, allocations: 0 / 444.2 MB, free: 9.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002066/0.2976, allocations: 1.506 MB / 445.7 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.2976, allocations: 3.984 kB / 445.7 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001004/0.2986, allocations: 392.1 kB / 446.1 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.648e-05/0.2987, allocations: 27.78 kB / 446.1 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.504e-05/0.2987, allocations: 4 kB / 446.1 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002661/0.299, allocations: 31.97 kB / 446.2 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.583e-05/0.2991, allocations: 20.16 kB / 446.2 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.668e-06/0.2991, allocations: 0 / 446.2 MB, free: 7.125 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002272/0.2993, allocations: 201.1 kB / 446.4 MB, free: 6.926 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2993, allocations: 0 / 446.4 MB, free: 6.926 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003664/0.2997, allocations: 59.95 kB / 446.4 MB, free: 6.867 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.001367/0.301, allocations: 0.9238 MB / 447.4 MB, free: 5.91 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009376/0.302, allocations: 389.7 kB / 447.8 MB, free: 5.504 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.302, allocations: 0.8125 kB / 447.8 MB, free: 5.504 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004209/0.3024, allocations: 202.6 kB / 448 MB, free: 5.293 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000374/0.3028, allocations: 40.53 kB / 448 MB, free: 5.254 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005248/0.308, allocations: 3.01 MB / 451 MB, free: 2.074 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004276/0.3084, allocations: 0.744 MB / 451.7 MB, free: 1.305 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001149/0.3086, allocations: 26.28 kB / 451.8 MB, free: 1.281 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001257/0.3087, allocations: 71.42 kB / 451.8 MB, free: 1.211 MB / 350.1 MB Notification: Performance of SimCode: time 9.22e-07/0.3087, allocations: 0 / 451.8 MB, free: 1.211 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0381/0.3468, allocations: 6.234 MB / 458.1 MB, free: 11.16 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.46/12.81, allocations: 3.984 kB / 458.1 MB, free: 11.15 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.160274441121146]