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.001237/0.001237, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.001322/0.001322, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.425/1.425, allocations: 230.6 MB / 254.1 MB, free: 15.07 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.001651/0.001651, allocations: 51.92 kB / 373 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1072, allocations: 53.33 MB / 426.4 MB, free: 4.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.004643/0.1119, allocations: 2.764 MB / 429.1 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001478/0.1134, allocations: 0.709 MB / 429.8 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002259/0.1136, allocations: 7.938 kB / 429.8 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00018/0.1138, allocations: 43.56 kB / 429.9 MB, free: 1.203 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002747/0.114, allocations: 91.25 kB / 430 MB, free: 1.113 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000308/0.1143, allocations: 99.81 kB / 430.1 MB, free: 1.016 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004861/0.1148, allocations: 346.5 kB / 430.4 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001949/0.115, allocations: 64.7 kB / 430.5 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002366/0.1153, allocations: 135.5 kB / 430.6 MB, free: 484 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002392/0.1155, allocations: 147.4 kB / 430.7 MB, free: 336 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.653e-05/0.1156, allocations: 28 kB / 430.8 MB, free: 308 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.007e-05/0.1156, allocations: 28 kB / 430.8 MB, free: 280 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.341e-05/0.1157, allocations: 71.69 kB / 430.9 MB, free: 208 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001692/0.1159, allocations: 135.3 kB / 431 MB, free: 72 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1943/0.3102, allocations: 320.3 kB / 431.3 MB, free: 8.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.3102, allocations: 0 / 431.3 MB, free: 8.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.3102, allocations: 1.562 kB / 431.3 MB, free: 8.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.426e-05/0.3102, allocations: 0 / 431.3 MB, free: 8.02 MB / 350.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.001139/0.3113, allocations: 0.6447 MB / 432 MB, free: 7.539 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.3114, allocations: 9.125 kB / 432 MB, free: 7.539 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.094e-05/0.3114, allocations: 59.19 kB / 432 MB, free: 7.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.907e-05/0.3115, allocations: 32.47 kB / 432.1 MB, free: 7.484 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003467/0.3118, allocations: 279.4 kB / 432.3 MB, free: 7.258 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.324e-05/0.3119, allocations: 16.94 kB / 432.3 MB, free: 7.258 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.234e-05/0.3119, allocations: 18.72 kB / 432.4 MB, free: 7.258 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006087/0.3125, allocations: 277.7 kB / 432.6 MB, free: 7.203 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.3125, allocations: 0 / 432.6 MB, free: 7.203 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.62e-05/0.3126, allocations: 12.75 kB / 432.7 MB, free: 7.203 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.3126, allocations: 5.953 kB / 432.7 MB, free: 7.203 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007324/0.3133, allocations: 246.4 kB / 432.9 MB, free: 7.199 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001306/0.3146, allocations: 0.8975 MB / 433.8 MB, free: 6.746 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001493/0.3161, allocations: 436.5 kB / 434.2 MB, free: 6.625 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003045/0.3164, allocations: 91.98 kB / 434.3 MB, free: 6.613 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.359e-05/0.3164, allocations: 2.891 kB / 434.3 MB, free: 6.613 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004426/0.3169, allocations: 169.8 kB / 434.5 MB, free: 6.539 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.353e-06/0.3169, allocations: 1.094 kB / 434.5 MB, free: 6.539 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.002095/0.319, allocations: 0.57 MB / 435.1 MB, free: 6.383 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.319e-05/0.319, allocations: 109.8 kB / 435.2 MB, free: 6.254 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002693/0.3193, allocations: 271.4 kB / 435.4 MB, free: 6.148 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.038e-05/0.3193, allocations: 29.89 kB / 435.5 MB, free: 6.117 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.802e-05/0.3194, allocations: 192.7 kB / 435.6 MB, free: 5.984 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.938e-05/0.3194, allocations: 33.84 kB / 435.7 MB, free: 5.965 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.021e-05/0.3195, allocations: 53.83 kB / 435.7 MB, free: 5.949 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.578e-05/0.3196, allocations: 335.1 kB / 436.1 MB, free: 5.633 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003544/0.3199, allocations: 96.58 kB / 436.1 MB, free: 5.629 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003702/0.3203, allocations: 197.6 kB / 436.3 MB, free: 5.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006502/0.3209, allocations: 297.2 kB / 436.6 MB, free: 5.352 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.3209, allocations: 3.969 kB / 436.6 MB, free: 5.352 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001183/0.3221, allocations: 431.2 kB / 437.1 MB, free: 5.258 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.394e-05/0.3222, allocations: 40.98 kB / 437.1 MB, free: 5.223 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.3222, allocations: 3.562 kB / 437.1 MB, free: 5.223 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003106/0.3225, allocations: 56.55 kB / 437.2 MB, free: 5.215 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002254/0.3227, allocations: 52.81 kB / 437.2 MB, free: 5.215 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001874/0.3246, allocations: 1.61 MB / 438.8 MB, free: 3.852 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003366/0.3249, allocations: 56.66 kB / 438.9 MB, free: 3.836 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.253e-05/0.3249, allocations: 13.61 kB / 438.9 MB, free: 3.836 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.0001106/0.325, allocations: 144.4 kB / 439 MB, free: 3.719 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.517e-05/0.3251, allocations: 27.34 kB / 439.1 MB, free: 3.703 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.135e-05/0.3251, allocations: 24.62 kB / 439.1 MB, free: 3.699 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.3251, allocations: 1.375 kB / 439.1 MB, free: 3.699 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.3251, allocations: 0 / 439.1 MB, free: 3.699 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.3251, allocations: 7.594 kB / 439.1 MB, free: 3.699 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001279/0.3264, allocations: 0.6454 MB / 439.7 MB, free: 3.379 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.3264, allocations: 0 / 439.7 MB, free: 3.379 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001445/0.3266, allocations: 28.14 kB / 439.8 MB, free: 3.379 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002174/0.3268, allocations: 59.12 kB / 439.8 MB, free: 3.367 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/0.3268, allocations: 2.359 kB / 439.8 MB, free: 3.367 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001701/0.3285, allocations: 1.596 MB / 441.4 MB, free: 2.004 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.3285, allocations: 0 / 441.4 MB, free: 2.004 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001051/0.3295, allocations: 394.1 kB / 441.8 MB, free: 1.844 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.868e-05/0.3296, allocations: 97.86 kB / 441.9 MB, free: 1.738 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.49e-05/0.3296, allocations: 5.484 kB / 441.9 MB, free: 1.738 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002724/0.3299, allocations: 34.17 kB / 441.9 MB, free: 1.738 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.686e-05/0.33, allocations: 17.89 kB / 442 MB, free: 1.738 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.33, allocations: 6.203 kB / 442 MB, free: 1.734 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001814/0.3302, allocations: 193.6 kB / 442.1 MB, free: 1.652 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3302, allocations: 3.281 kB / 442.1 MB, free: 1.652 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003902/0.3306, allocations: 65.61 kB / 442.2 MB, free: 1.645 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.001199/0.3318, allocations: 0.9328 MB / 443.1 MB, free: 0.957 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009038/0.3327, allocations: 385.2 kB / 443.5 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3327, allocations: 0 / 443.5 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003958/0.3331, allocations: 208.1 kB / 443.7 MB, free: 0.668 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003847/0.3335, allocations: 39.8 kB / 443.8 MB, free: 0.668 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005036/0.3385, allocations: 3.009 MB / 446.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003715/0.3389, allocations: 0.7471 MB / 447.5 MB, free: 14.15 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001182/0.339, allocations: 25.39 kB / 447.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001249/0.3391, allocations: 74.25 kB / 447.6 MB, free: 14.09 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3391, allocations: 0 / 447.6 MB, free: 14.09 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04607/0.3852, allocations: 6.086 MB / 453.7 MB, free: 12.95 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/11.95, allocations: 15.7 kB / 453.7 MB, free: 12.94 MB / 366.1 MB " [Timeout remaining time 648] (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: 14.246431855950505]