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.0008477/0.0008477, allocations: 76.06 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008048/0.0008048, allocations: 149.1 kB / 23.93 MB, free: 0.6328 MB / 18.57 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 0.8853/0.8853, allocations: 173.4 MB / 200.4 MB, free: 9.43 MB / 186.7 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 5.019e-06/5.019e-06, allocations: 4 kB / 318.5 MB, free: 6.312 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.401e-05/2.902e-05, allocations: 6.281 kB / 318.5 MB, free: 6.305 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.004654/0.004683, allocations: 2.559 MB / 321 MB, free: 3.727 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00141/0.006093, allocations: 0.6466 MB / 321.7 MB, free: 3.074 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001945/0.006288, allocations: 4 kB / 321.7 MB, free: 3.07 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001625/0.00645, allocations: 39.58 kB / 321.7 MB, free: 3.031 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002396/0.00669, allocations: 103.1 kB / 321.8 MB, free: 2.93 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003489/0.007039, allocations: 99.73 kB / 321.9 MB, free: 2.832 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004309/0.00747, allocations: 358.4 kB / 322.3 MB, free: 2.48 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001832/0.007653, allocations: 56.91 kB / 322.3 MB, free: 2.422 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000255/0.007908, allocations: 191.6 kB / 322.5 MB, free: 2.234 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001741/0.008082, allocations: 111.6 kB / 322.6 MB, free: 2.125 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.044e-05/0.008132, allocations: 28 kB / 322.7 MB, free: 2.098 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.335e-05/0.008176, allocations: 28 kB / 322.7 MB, free: 2.07 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.073e-05/0.008236, allocations: 71.75 kB / 322.8 MB, free: 2 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001137/0.00835, allocations: 99.69 kB / 322.9 MB, free: 1.902 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003524/0.008703, allocations: 331 kB / 323.2 MB, free: 1.578 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.008706, allocations: 3.938 kB / 323.2 MB, free: 1.574 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.008707, allocations: 0 / 323.2 MB, free: 1.574 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.944e-06/0.008714, allocations: 0 / 323.2 MB, free: 1.574 MB / 282.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.0008928/0.009607, allocations: 0.5695 MB / 323.7 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.009642, allocations: 12.92 kB / 323.8 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.39e-05/0.009686, allocations: 58.72 kB / 323.8 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.801e-05/0.009734, allocations: 32.75 kB / 323.9 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002662/0.01, allocations: 217.3 kB / 324.1 MB, free: 0.625 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.01002, allocations: 16.88 kB / 324.1 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.147e-05/0.01004, allocations: 20.38 kB / 324.1 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004028/0.01044, allocations: 330.6 kB / 324.4 MB, free: 248 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.01045, allocations: 192 / 324.4 MB, free: 248 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.811e-05/0.01047, allocations: 8.125 kB / 324.4 MB, free: 240 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.01047, allocations: 4 kB / 324.4 MB, free: 236 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004321/0.01091, allocations: 245.9 kB / 324.7 MB, free: 15.98 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009909/0.0119, allocations: 0.8023 MB / 325.5 MB, free: 15.12 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007713/0.01267, allocations: 362.3 kB / 325.8 MB, free: 14.76 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000157/0.01282, allocations: 84.78 kB / 325.9 MB, free: 14.68 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.717e-05/0.01284, allocations: 0 / 325.9 MB, free: 14.68 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002854/0.01313, allocations: 237.1 kB / 326.1 MB, free: 14.41 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 1.012e-06/0.01313, allocations: 0 / 326.1 MB, free: 14.41 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.001004/0.01413, allocations: 0.494 MB / 326.6 MB, free: 13.91 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.861e-05/0.01418, allocations: 106.8 kB / 326.7 MB, free: 13.78 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001856/0.01437, allocations: 277.8 kB / 327 MB, free: 13.5 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.01438, allocations: 29.7 kB / 327 MB, free: 13.46 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.716e-05/0.01447, allocations: 188 kB / 327.2 MB, free: 13.27 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.104e-05/0.01449, allocations: 35.73 kB / 327.3 MB, free: 13.24 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.892e-05/0.01455, allocations: 49.66 kB / 327.3 MB, free: 13.18 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.47e-05/0.01464, allocations: 334.8 kB / 327.6 MB, free: 12.85 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002076/0.01484, allocations: 121.6 kB / 327.8 MB, free: 12.72 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002389/0.01508, allocations: 287.3 kB / 328 MB, free: 12.38 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003628/0.01544, allocations: 301.4 kB / 328.3 MB, free: 12.03 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.01545, allocations: 3.938 kB / 328.3 MB, free: 12.03 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006984/0.01615, allocations: 464.5 kB / 328.8 MB, free: 11.55 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.167e-05/0.01618, allocations: 33.69 kB / 328.8 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.01618, allocations: 8.062 kB / 328.8 MB, free: 11.51 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001934/0.01638, allocations: 56.83 kB / 328.9 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.0165, allocations: 51.89 kB / 328.9 MB, free: 11.4 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001261/0.01776, allocations: 1.502 MB / 330.4 MB, free: 9.781 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001807/0.01794, allocations: 55.75 kB / 330.5 MB, free: 9.727 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.753e-05/0.01796, allocations: 20.09 kB / 330.5 MB, free: 9.707 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.527e-05/0.01805, allocations: 141 kB / 330.6 MB, free: 9.562 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.219e-05/0.01807, allocations: 23.86 kB / 330.7 MB, free: 9.539 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.697e-05/0.0181, allocations: 26.09 kB / 330.7 MB, free: 9.516 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.0181, allocations: 3.984 kB / 330.7 MB, free: 9.512 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.0181, allocations: 0 / 330.7 MB, free: 9.512 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.01811, allocations: 0 / 330.7 MB, free: 9.512 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000703/0.01881, allocations: 0.5918 MB / 331.3 MB, free: 8.867 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.01881, allocations: 4 kB / 331.3 MB, free: 8.863 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.652e-05/0.01888, allocations: 23.92 kB / 331.3 MB, free: 8.84 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001174/0.019, allocations: 56.81 kB / 331.4 MB, free: 8.781 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.838e-06/0.01901, allocations: 4 kB / 331.4 MB, free: 8.777 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001074/0.02008, allocations: 1.502 MB / 332.9 MB, free: 7.164 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.02008, allocations: 0 / 332.9 MB, free: 7.164 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005153/0.0206, allocations: 396 kB / 333.3 MB, free: 6.758 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.992e-05/0.02063, allocations: 27.78 kB / 333.3 MB, free: 6.73 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.975e-05/0.02065, allocations: 4 kB / 333.3 MB, free: 6.727 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001327/0.02078, allocations: 31.95 kB / 333.3 MB, free: 6.695 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.937e-05/0.02084, allocations: 19.97 kB / 333.3 MB, free: 6.676 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.024e-06/0.02085, allocations: 0 / 333.3 MB, free: 6.676 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001288/0.02097, allocations: 197.2 kB / 333.5 MB, free: 6.48 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02097, allocations: 0 / 333.5 MB, free: 6.48 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000246/0.02122, allocations: 67.83 kB / 333.6 MB, free: 6.414 MB / 298.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.0007349/0.02195, allocations: 0.9238 MB / 334.5 MB, free: 5.457 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005958/0.02255, allocations: 420.5 kB / 334.9 MB, free: 5.016 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.02255, allocations: 0 / 334.9 MB, free: 5.016 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002268/0.02278, allocations: 214.5 kB / 335.2 MB, free: 4.793 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002596/0.02304, allocations: 47.47 kB / 335.2 MB, free: 4.75 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003245/0.02628, allocations: 3.096 MB / 338.3 MB, free: 1.453 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.28e-05/0.02638, allocations: 134.2 kB / 338.4 MB, free: 1.301 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.286e-05/0.02646, allocations: 30.27 kB / 338.5 MB, free: 1.273 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.959e-05/0.02655, allocations: 76.47 kB / 338.5 MB, free: 1.199 MB / 298.7 MB Notification: Performance of SimCode: time 6.01e-07/0.02655, allocations: 4 kB / 338.5 MB, free: 1.195 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02091/0.04746, allocations: 6.897 MB / 345.4 MB, free: 10.47 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.897/7.945, allocations: 7.328 kB / 345.4 MB, free: 10.46 MB / 314.7 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/VoltageFollower/VoltageFollower.csv","/var/lib/jenkins/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: 9.616236528381705]