Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001774/0.001774, allocations: 119.7 kB / 18.5 MB, free: 4.41 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00217/0.00217, allocations: 217.6 kB / 21.46 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.485/1.485, allocations: 230.2 MB / 254.5 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001843/0.001843, allocations: 63.89 kB / 373.4 MB, free: 10.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1112, allocations: 53.32 MB / 426.7 MB, free: 4.938 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.004322/0.1155, allocations: 2.76 MB / 429.5 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001252/0.1168, allocations: 0.7089 MB / 430.2 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000119/0.1169, allocations: 4 kB / 430.2 MB, free: 1.445 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001569/0.1171, allocations: 39.58 kB / 430.2 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001933/0.1173, allocations: 95.25 kB / 430.3 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002886/0.1175, allocations: 99.81 kB / 430.4 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004176/0.118, allocations: 350.5 kB / 430.8 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001807/0.1181, allocations: 64.7 kB / 430.8 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001663/0.1183, allocations: 127.5 kB / 430.9 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001872/0.1185, allocations: 143.4 kB / 431.1 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5e-05/0.1185, allocations: 31.94 kB / 431.1 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.816e-05/0.1186, allocations: 32 kB / 431.1 MB, free: 484 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.54e-05/0.1187, allocations: 63.7 kB / 431.2 MB, free: 420 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001535/0.1188, allocations: 155.2 kB / 431.4 MB, free: 264 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2124/0.3312, allocations: 312 kB / 431.7 MB, free: 8.332 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.3312, allocations: 0.6562 kB / 431.7 MB, free: 8.332 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3312, allocations: 0 / 431.7 MB, free: 8.332 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.035e-05/0.3312, allocations: 0 / 431.7 MB, free: 8.332 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.001282/0.3325, allocations: 0.6455 MB / 432.3 MB, free: 7.855 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/0.3325, allocations: 10.39 kB / 432.3 MB, free: 7.855 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.678e-05/0.3326, allocations: 53.33 kB / 432.4 MB, free: 7.816 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.808e-05/0.3327, allocations: 30.84 kB / 432.4 MB, free: 7.801 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000359/0.333, allocations: 282.6 kB / 432.7 MB, free: 7.574 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.193e-05/0.3331, allocations: 13.81 kB / 432.7 MB, free: 7.574 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.899e-05/0.3331, allocations: 23.47 kB / 432.7 MB, free: 7.574 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006204/0.3337, allocations: 276.8 kB / 433 MB, free: 7.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.3337, allocations: 4.375 kB / 433 MB, free: 7.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.445e-05/0.3338, allocations: 8.406 kB / 433 MB, free: 7.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.3338, allocations: 5.375 kB / 433 MB, free: 7.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006843/0.3344, allocations: 243.4 kB / 433.2 MB, free: 7.516 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001307/0.3358, allocations: 0.9061 MB / 434.1 MB, free: 7.062 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001334/0.3371, allocations: 432.4 kB / 434.6 MB, free: 6.945 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002816/0.3374, allocations: 92.39 kB / 434.7 MB, free: 6.934 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.431e-05/0.3374, allocations: 4.312 kB / 434.7 MB, free: 6.934 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003949/0.3378, allocations: 161.5 kB / 434.8 MB, free: 6.863 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.473e-06/0.3378, allocations: 4 kB / 434.8 MB, free: 6.859 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.001862/0.3397, allocations: 0.5755 MB / 435.4 MB, free: 6.703 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.907e-05/0.3397, allocations: 105.8 kB / 435.5 MB, free: 6.578 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002779/0.34, allocations: 272.1 kB / 435.8 MB, free: 6.469 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/0.34, allocations: 30.36 kB / 435.8 MB, free: 6.438 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/0.3401, allocations: 191.6 kB / 436 MB, free: 6.305 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.01e-05/0.3401, allocations: 34.53 kB / 436 MB, free: 6.285 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.164e-05/0.3402, allocations: 49.66 kB / 436.1 MB, free: 6.266 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.355e-05/0.3403, allocations: 336.3 kB / 436.4 MB, free: 5.949 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003161/0.3406, allocations: 94.17 kB / 436.5 MB, free: 5.949 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003614/0.341, allocations: 201.4 kB / 436.7 MB, free: 5.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008238/0.3418, allocations: 302.6 kB / 437 MB, free: 5.668 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.3418, allocations: 0.8125 kB / 437 MB, free: 5.668 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001122/0.3429, allocations: 436 kB / 437.4 MB, free: 5.574 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.749e-05/0.343, allocations: 34.41 kB / 437.4 MB, free: 5.543 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.343, allocations: 3.438 kB / 437.4 MB, free: 5.543 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003104/0.3433, allocations: 63.25 kB / 437.5 MB, free: 5.531 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002521/0.3435, allocations: 48.78 kB / 437.6 MB, free: 5.531 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002423/0.3459, allocations: 1.607 MB / 439.2 MB, free: 4.176 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004775/0.3464, allocations: 60.56 kB / 439.2 MB, free: 4.156 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.263e-05/0.3465, allocations: 9.625 kB / 439.2 MB, free: 4.156 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.0001583/0.3466, allocations: 140.6 kB / 439.4 MB, free: 4.043 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.063e-05/0.3467, allocations: 30.77 kB / 439.4 MB, free: 4.027 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.406e-05/0.3467, allocations: 23.05 kB / 439.4 MB, free: 4.023 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.3467, allocations: 5.453 kB / 439.4 MB, free: 4.023 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.3467, allocations: 3.375 kB / 439.4 MB, free: 4.023 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.3467, allocations: 4.609 kB / 439.4 MB, free: 4.02 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001604/0.3483, allocations: 0.6453 MB / 440.1 MB, free: 3.703 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.3483, allocations: 1.094 kB / 440.1 MB, free: 3.703 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001789/0.3485, allocations: 23.58 kB / 440.1 MB, free: 3.703 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002788/0.3488, allocations: 60.45 kB / 440.2 MB, free: 3.691 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.736e-05/0.3488, allocations: 0.8438 kB / 440.2 MB, free: 3.691 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002164/0.351, allocations: 1.597 MB / 441.8 MB, free: 2.328 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.351, allocations: 1.281 kB / 441.8 MB, free: 2.328 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001235/0.3522, allocations: 399.6 kB / 442.1 MB, free: 2.164 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.049e-05/0.3523, allocations: 103.7 kB / 442.2 MB, free: 2.059 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.413e-05/0.3523, allocations: 2 kB / 442.3 MB, free: 2.059 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003488/0.3527, allocations: 38.09 kB / 442.3 MB, free: 2.055 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.3528, allocations: 16.59 kB / 442.3 MB, free: 2.055 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.781e-05/0.3528, allocations: 3.844 kB / 442.3 MB, free: 2.055 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002644/0.3531, allocations: 190.1 kB / 442.5 MB, free: 1.973 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3531, allocations: 0 / 442.5 MB, free: 1.973 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005616/0.3536, allocations: 65.67 kB / 442.6 MB, free: 1.965 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.001511/0.3551, allocations: 0.9224 MB / 443.5 MB, free: 1.281 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001194/0.3563, allocations: 391.1 kB / 443.9 MB, free: 1.105 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/0.3563, allocations: 5.344 kB / 443.9 MB, free: 1.102 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004965/0.3568, allocations: 199.9 kB / 444.1 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005749/0.3574, allocations: 54.92 kB / 444.1 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00686/0.3643, allocations: 3.01 MB / 447.1 MB, free: 15.22 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005002/0.3648, allocations: 0.743 MB / 447.9 MB, free: 14.52 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002101/0.365, allocations: 25.39 kB / 447.9 MB, free: 14.51 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001758/0.3652, allocations: 77.52 kB / 448 MB, free: 14.46 MB / 366.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3652, allocations: 0 / 448 MB, free: 14.46 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04462/0.4098, allocations: 6.089 MB / 454.1 MB, free: 13.34 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.1/12.51, allocations: 5.312 kB / 454.1 MB, free: 13.33 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/VoltageFollower/VoltageFollower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_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.9715117206797]