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.001337/0.001337, allocations: 116.7 kB / 20.43 MB, free: 1.457 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.001483/0.001483, allocations: 213.6 kB / 23.74 MB, free: 4.672 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.392/1.392, allocations: 230.5 MB / 257.4 MB, free: 8 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.002082/0.002082, allocations: 63.89 kB / 377.8 MB, free: 2.973 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2941/0.2962, allocations: 53.41 MB / 431.2 MB, free: 6.672 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.006681/0.3029, allocations: 2.799 MB / 434 MB, free: 3.859 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002014/0.3049, allocations: 0.7089 MB / 434.7 MB, free: 3.145 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003162/0.3052, allocations: 4 kB / 434.7 MB, free: 3.141 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002271/0.3054, allocations: 35.58 kB / 434.8 MB, free: 3.105 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004139/0.3059, allocations: 99.19 kB / 434.9 MB, free: 3.008 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004218/0.3063, allocations: 91.83 kB / 435 MB, free: 2.918 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007269/0.307, allocations: 346.6 kB / 435.3 MB, free: 2.578 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002425/0.3073, allocations: 56.89 kB / 435.3 MB, free: 2.52 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000308/0.3076, allocations: 143.4 kB / 435.5 MB, free: 2.379 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003494/0.3079, allocations: 139.4 kB / 435.6 MB, free: 2.242 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.586e-05/0.308, allocations: 32 kB / 435.7 MB, free: 2.211 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.325e-05/0.3081, allocations: 28 kB / 435.7 MB, free: 2.184 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.3082, allocations: 71.69 kB / 435.8 MB, free: 2.113 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002411/0.3084, allocations: 151.2 kB / 435.9 MB, free: 1.965 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000586/0.309, allocations: 323.1 kB / 436.2 MB, free: 1.652 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.309, allocations: 4 kB / 436.2 MB, free: 1.648 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.309, allocations: 0 / 436.2 MB, free: 1.648 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.094e-05/0.309, allocations: 0 / 436.2 MB, free: 1.648 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001673/0.3107, allocations: 0.5623 MB / 436.8 MB, free: 1.051 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.282e-05/0.3108, allocations: 12.03 kB / 436.8 MB, free: 1.039 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.808e-05/0.3109, allocations: 50.73 kB / 436.8 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001131/0.311, allocations: 32.75 kB / 436.9 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006311/0.3116, allocations: 225.7 kB / 437.1 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.136e-05/0.3116, allocations: 16.81 kB / 437.1 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.941e-05/0.3117, allocations: 24.38 kB / 437.1 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008371/0.3125, allocations: 243.3 kB / 437.4 MB, free: 432 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.3125, allocations: 0 / 437.4 MB, free: 432 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.922e-05/0.3126, allocations: 8 kB / 437.4 MB, free: 424 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.363e-06/0.3126, allocations: 4 kB / 437.4 MB, free: 420 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006118/0.3132, allocations: 225.5 kB / 437.6 MB, free: 192 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001741/0.3149, allocations: 0.8315 MB / 438.4 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005414/0.3155, allocations: 178.5 kB / 438.6 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002728/0.3157, allocations: 80.73 kB / 438.7 MB, free: 15.03 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.411e-05/0.3158, allocations: 0 / 438.7 MB, free: 15.03 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004401/0.3162, allocations: 166.7 kB / 438.9 MB, free: 14.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.252e-06/0.3162, allocations: 0 / 438.9 MB, free: 14.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001344/0.3176, allocations: 361.6 kB / 439.2 MB, free: 14.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001042/0.3177, allocations: 128.5 kB / 439.3 MB, free: 14.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003282/0.318, allocations: 277.8 kB / 439.6 MB, free: 14.04 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.757e-05/0.318, allocations: 25.7 kB / 439.6 MB, free: 14.01 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001622/0.3182, allocations: 188.1 kB / 439.8 MB, free: 13.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.651e-05/0.3182, allocations: 47.64 kB / 439.9 MB, free: 13.78 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.3183, allocations: 53.94 kB / 439.9 MB, free: 13.72 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.3185, allocations: 334.8 kB / 440.2 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002659/0.3188, allocations: 80.41 kB / 440.3 MB, free: 13.3 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003514/0.3191, allocations: 190.6 kB / 440.5 MB, free: 13.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000579/0.3197, allocations: 271.7 kB / 440.8 MB, free: 12.76 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/0.3197, allocations: 4 kB / 440.8 MB, free: 12.76 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000915/0.3206, allocations: 371.5 kB / 441.1 MB, free: 12.38 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.578e-05/0.3207, allocations: 36.2 kB / 441.2 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.3207, allocations: 384 / 441.2 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003052/0.321, allocations: 64.83 kB / 441.2 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002378/0.3212, allocations: 51.89 kB / 441.3 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001821/0.3231, allocations: 1.473 MB / 442.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003202/0.3234, allocations: 51.75 kB / 442.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.562e-05/0.3234, allocations: 8 kB / 442.8 MB, free: 10.57 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,opAmp.satNeg,opAmp.satPos,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 23 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001987/0.3236, allocations: 152.5 kB / 443 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.757e-05/0.3237, allocations: 27.92 kB / 443 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.438e-05/0.3237, allocations: 25.77 kB / 443 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.3237, allocations: 4 kB / 443 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.3237, allocations: 0 / 443 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.3237, allocations: 0 / 443 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001162/0.3249, allocations: 0.5725 MB / 443.6 MB, free: 9.727 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.3249, allocations: 0 / 443.6 MB, free: 9.727 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001406/0.325, allocations: 31.91 kB / 443.6 MB, free: 9.695 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000218/0.3252, allocations: 56.8 kB / 443.7 MB, free: 9.637 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.89e-05/0.3253, allocations: 3.938 kB / 443.7 MB, free: 9.633 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001791/0.327, allocations: 1.461 MB / 445.1 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.3271, allocations: 4.031 kB / 445.1 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000759/0.3278, allocations: 340 kB / 445.5 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.667e-05/0.3279, allocations: 15.86 kB / 445.5 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.202e-05/0.3279, allocations: 8 kB / 445.5 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002635/0.3282, allocations: 35.89 kB / 445.5 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.839e-05/0.3283, allocations: 27.91 kB / 445.6 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.412e-05/0.3283, allocations: 4 kB / 445.6 MB, free: 7.609 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002295/0.3285, allocations: 189.2 kB / 445.8 MB, free: 7.422 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3285, allocations: 0 / 445.8 MB, free: 7.422 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003911/0.3289, allocations: 71.89 kB / 445.8 MB, free: 7.352 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: 5 ($whenCondition1,opAmp.satPos,opAmp.satNeg,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 (11): * Single equations (assignments): 8 * 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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001158/0.3301, allocations: 0.8842 MB / 446.7 MB, free: 6.441 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008525/0.3309, allocations: 373.7 kB / 447.1 MB, free: 6.051 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.3309, allocations: 0.75 kB / 447.1 MB, free: 6.051 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004104/0.3313, allocations: 206.6 kB / 447.3 MB, free: 5.836 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004063/0.3317, allocations: 48.39 kB / 447.3 MB, free: 5.789 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005249/0.337, allocations: 2.934 MB / 450.3 MB, free: 2.695 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004781/0.3375, allocations: 0.748 MB / 451 MB, free: 1.918 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001177/0.3376, allocations: 26.28 kB / 451 MB, free: 1.895 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001234/0.3377, allocations: 79.34 kB / 451.1 MB, free: 1.816 MB / 350.1 MB Notification: Performance of SimCode: time 8.22e-07/0.3377, allocations: 0 / 451.1 MB, free: 1.816 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04108/0.3788, allocations: 6.503 MB / 457.6 MB, free: 11.46 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.42/12.8, allocations: 8.688 kB / 457.6 MB, free: 11.45 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/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_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: 15.118365789065138]