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.000825/0.000825, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.0008551/0.0008551, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.8814/0.8814, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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 1.273e-06/1.273e-06, allocations: 0 / 324.6 MB, free: 15.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.246e-05/1.374e-05, allocations: 2.281 kB / 324.6 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.002601/0.002615, allocations: 2.595 MB / 327.2 MB, free: 13.27 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009384/0.003553, allocations: 0.6817 MB / 327.9 MB, free: 12.59 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001104/0.003664, allocations: 7.938 kB / 327.9 MB, free: 12.58 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001216/0.003785, allocations: 43.58 kB / 327.9 MB, free: 12.54 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001527/0.003938, allocations: 103.2 kB / 328 MB, free: 12.43 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002511/0.004189, allocations: 95.75 kB / 328.1 MB, free: 12.34 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002816/0.00447, allocations: 358.4 kB / 328.5 MB, free: 11.99 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001449/0.004615, allocations: 60.75 kB / 328.5 MB, free: 11.93 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001702/0.004786, allocations: 195.5 kB / 328.7 MB, free: 11.74 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001167/0.004902, allocations: 107.6 kB / 328.8 MB, free: 11.63 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.803e-05/0.00494, allocations: 32 kB / 328.9 MB, free: 11.6 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.813e-05/0.004968, allocations: 28 kB / 328.9 MB, free: 11.57 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.737e-05/0.005016, allocations: 63.73 kB / 329 MB, free: 11.51 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.901e-05/0.005095, allocations: 107.8 kB / 329.1 MB, free: 11.41 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002479/0.005343, allocations: 330.9 kB / 329.4 MB, free: 11.08 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.005345, allocations: 0 / 329.4 MB, free: 11.08 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.005345, allocations: 0 / 329.4 MB, free: 11.08 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.558e-06/0.00535, allocations: 0 / 329.4 MB, free: 11.08 MB / 298.7 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.0007799/0.00613, allocations: 0.5657 MB / 330 MB, free: 10.48 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.006167, allocations: 8.031 kB / 330 MB, free: 10.48 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.452e-05/0.006212, allocations: 62.66 kB / 330 MB, free: 10.41 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.914e-05/0.006261, allocations: 32.75 kB / 330.1 MB, free: 10.38 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002485/0.006509, allocations: 217 kB / 330.3 MB, free: 10.14 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.006525, allocations: 20.88 kB / 330.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.175e-05/0.006546, allocations: 20.38 kB / 330.3 MB, free: 10.1 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003945/0.006941, allocations: 322.7 kB / 330.6 MB, free: 9.758 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.158e-06/0.00695, allocations: 4.172 kB / 330.6 MB, free: 9.754 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.031e-05/0.00697, allocations: 16.12 kB / 330.6 MB, free: 9.738 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.006977, allocations: 4 kB / 330.7 MB, free: 9.734 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005531/0.007531, allocations: 249.8 kB / 330.9 MB, free: 9.492 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009281/0.008459, allocations: 0.7984 MB / 331.7 MB, free: 8.629 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007325/0.009191, allocations: 362.3 kB / 332 MB, free: 8.266 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001563/0.009347, allocations: 92.72 kB / 332.1 MB, free: 8.172 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/0.009367, allocations: 0 / 332.1 MB, free: 8.172 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002915/0.009659, allocations: 221.2 kB / 332.4 MB, free: 7.922 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 8.91e-07/0.009659, allocations: 0 / 332.4 MB, free: 7.922 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.001001/0.01066, allocations: 0.5018 MB / 332.9 MB, free: 7.41 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.848e-05/0.01071, allocations: 106.8 kB / 333 MB, free: 7.281 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001873/0.0109, allocations: 273.8 kB / 333.2 MB, free: 7.004 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.01092, allocations: 29.7 kB / 333.3 MB, free: 6.969 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.583e-05/0.01101, allocations: 188 kB / 333.4 MB, free: 6.781 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.528e-05/0.01104, allocations: 43.69 kB / 333.5 MB, free: 6.738 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.866e-05/0.0111, allocations: 49.7 kB / 333.5 MB, free: 6.684 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.957e-05/0.0112, allocations: 330.8 kB / 333.9 MB, free: 6.352 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001801/0.01138, allocations: 117.6 kB / 334 MB, free: 6.23 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002341/0.01161, allocations: 278.8 kB / 334.2 MB, free: 5.891 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003705/0.01198, allocations: 302.4 kB / 334.5 MB, free: 5.551 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.01199, allocations: 3.938 kB / 334.5 MB, free: 5.547 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006244/0.01261, allocations: 473.5 kB / 335 MB, free: 5.062 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.193e-05/0.01264, allocations: 33.7 kB / 335 MB, free: 5.023 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.01265, allocations: 4 kB / 335 MB, free: 5.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001991/0.01285, allocations: 64.81 kB / 335.1 MB, free: 4.953 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.01296, allocations: 51.95 kB / 335.2 MB, free: 4.902 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001213/0.01417, allocations: 1.508 MB / 336.7 MB, free: 3.277 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001629/0.01433, allocations: 63.73 kB / 336.7 MB, free: 3.215 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.544e-05/0.01435, allocations: 8.062 kB / 336.7 MB, free: 3.207 MB / 298.7 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 9.794e-05/0.01445, allocations: 149.8 kB / 336.9 MB, free: 3.051 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.159e-05/0.01447, allocations: 23.86 kB / 336.9 MB, free: 3.027 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.292e-05/0.01449, allocations: 25.7 kB / 336.9 MB, free: 3.008 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.01449, allocations: 4 kB / 336.9 MB, free: 3.004 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.0145, allocations: 0 / 336.9 MB, free: 3.004 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.0145, allocations: 0 / 336.9 MB, free: 3.004 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006869/0.01519, allocations: 0.5918 MB / 337.5 MB, free: 2.359 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.01519, allocations: 0 / 337.5 MB, free: 2.359 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.181e-05/0.01525, allocations: 23.97 kB / 337.5 MB, free: 2.336 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001113/0.01536, allocations: 52.81 kB / 337.6 MB, free: 2.281 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.01537, allocations: 8 kB / 337.6 MB, free: 2.273 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001237/0.01661, allocations: 1.49 MB / 339.1 MB, free: 0.668 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.01661, allocations: 0 / 339.1 MB, free: 0.668 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004785/0.01709, allocations: 392 kB / 339.5 MB, free: 272 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.718e-05/0.01712, allocations: 27.78 kB / 339.5 MB, free: 244 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.725e-05/0.01713, allocations: 4 kB / 339.5 MB, free: 240 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001184/0.01725, allocations: 35.95 kB / 339.5 MB, free: 204 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.205e-05/0.0173, allocations: 15.92 kB / 339.6 MB, free: 188 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.488e-06/0.01731, allocations: 7.984 kB / 339.6 MB, free: 180 kB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000126/0.01744, allocations: 189.2 kB / 339.8 MB, free: 15.99 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01744, allocations: 0 / 339.8 MB, free: 15.99 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002359/0.01767, allocations: 67.89 kB / 339.8 MB, free: 15.92 MB / 314.7 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.0006778/0.01835, allocations: 0.924 MB / 340.7 MB, free: 14.97 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005556/0.01891, allocations: 428.1 kB / 341.2 MB, free: 14.52 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.01891, allocations: 0 / 341.2 MB, free: 14.52 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002008/0.01911, allocations: 206.7 kB / 341.4 MB, free: 14.3 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002417/0.01935, allocations: 40.47 kB / 341.4 MB, free: 14.27 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002769/0.02212, allocations: 3.105 MB / 344.5 MB, free: 10.96 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.956e-05/0.0222, allocations: 130.2 kB / 344.6 MB, free: 10.82 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.771e-05/0.02227, allocations: 26.28 kB / 344.7 MB, free: 10.79 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.22e-05/0.02235, allocations: 72.48 kB / 344.7 MB, free: 10.72 MB / 314.7 MB Notification: Performance of SimCode: time 4.81e-07/0.02235, allocations: 4 kB / 344.7 MB, free: 10.72 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01979/0.04214, allocations: 6.933 MB / 351.7 MB, free: 3.965 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.515/7.557, allocations: 1.688 kB / 351.7 MB, free: 3.965 MB / 314.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/VoltageFollower/VoltageFollower.csv","/var/lib/jenkins/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: 9.16925010830164]