Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.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.001395/0.001395, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.00167/0.00167, allocations: 213.6 kB / 23.73 MB, free: 4.16 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.499/1.499, allocations: 230.5 MB / 257.4 MB, free: 7.797 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.Clocked.Examples.Elementary.RealSignals.BackSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002764/0.002764, allocations: 59.91 kB / 377.7 MB, free: 2.816 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2986/0.3014, allocations: 53.41 MB / 431.1 MB, free: 6.445 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.003668/0.305, allocations: 1.63 MB / 432.8 MB, free: 4.812 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00119/0.3062, allocations: 0.5337 MB / 433.3 MB, free: 4.273 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001027/0.3063, allocations: 3.938 kB / 433.3 MB, free: 4.27 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.586e-05/0.3064, allocations: 11.86 kB / 433.3 MB, free: 4.258 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001769/0.3066, allocations: 19.86 kB / 433.3 MB, free: 4.238 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003535/0.3069, allocations: 67.75 kB / 433.4 MB, free: 4.172 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001317/0.3071, allocations: 59.78 kB / 433.5 MB, free: 4.113 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.3072, allocations: 20.2 kB / 433.5 MB, free: 4.09 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001345/0.3073, allocations: 35.8 kB / 433.5 MB, free: 4.055 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.206e-05/0.3074, allocations: 19.86 kB / 433.5 MB, free: 4.035 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.703e-05/0.3074, allocations: 4 kB / 433.6 MB, free: 4.031 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.099e-05/0.3074, allocations: 8 kB / 433.6 MB, free: 4.023 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.42e-05/0.3075, allocations: 23.91 kB / 433.6 MB, free: 4 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.177e-05/0.3075, allocations: 19.81 kB / 433.6 MB, free: 3.98 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001704/0.3077, allocations: 73.36 kB / 433.7 MB, free: 3.91 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.3077, allocations: 7.984 kB / 433.7 MB, free: 3.902 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.3077, allocations: 0 / 433.7 MB, free: 3.902 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.477e-06/0.3077, allocations: 0 / 433.7 MB, free: 3.902 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005141/0.3082, allocations: 313.8 kB / 434 MB, free: 3.566 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.3083, allocations: 11.98 kB / 434 MB, free: 3.555 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.189e-05/0.3083, allocations: 42.67 kB / 434 MB, free: 3.504 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001476/0.3085, allocations: 20.84 kB / 434.1 MB, free: 3.484 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000322/0.3088, allocations: 157.4 kB / 434.2 MB, free: 3.309 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.3088, allocations: 8.375 kB / 434.2 MB, free: 3.301 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.713e-05/0.3088, allocations: 4.375 kB / 434.2 MB, free: 3.297 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003367/0.3091, allocations: 138.8 kB / 434.4 MB, free: 3.137 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.3092, allocations: 0 / 434.4 MB, free: 3.137 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.3092, allocations: 4 kB / 434.4 MB, free: 3.133 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.3092, allocations: 4 kB / 434.4 MB, free: 3.129 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.516e-05/0.3093, allocations: 31.86 kB / 434.4 MB, free: 3.098 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003933/0.3097, allocations: 258.5 kB / 434.7 MB, free: 2.793 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001578/0.3098, allocations: 86.42 kB / 434.7 MB, free: 2.672 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.724e-05/0.3099, allocations: 51.36 kB / 434.8 MB, free: 2.609 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.742e-05/0.3099, allocations: 4 kB / 434.8 MB, free: 2.605 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/0.31, allocations: 30.56 kB / 434.8 MB, free: 2.566 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.213e-06/0.31, allocations: 4 kB / 434.8 MB, free: 2.562 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.000339/0.3103, allocations: 109.5 kB / 434.9 MB, free: 2.449 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.621e-05/0.3104, allocations: 128.5 kB / 435.1 MB, free: 2.293 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001579/0.3106, allocations: 150.2 kB / 435.2 MB, free: 2.137 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.3106, allocations: 25.7 kB / 435.2 MB, free: 2.105 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.297e-05/0.3107, allocations: 92.14 kB / 435.3 MB, free: 2.012 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.087e-05/0.3107, allocations: 11.94 kB / 435.3 MB, free: 2 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.266e-05/0.3107, allocations: 18.22 kB / 435.3 MB, free: 1.977 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.3109, allocations: 326.7 kB / 435.7 MB, free: 1.648 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.74e-05/0.3109, allocations: 16 kB / 435.7 MB, free: 1.633 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.793e-05/0.311, allocations: 53.14 kB / 435.7 MB, free: 1.562 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001181/0.3111, allocations: 61.08 kB / 435.8 MB, free: 1.484 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.3111, allocations: 4 kB / 435.8 MB, free: 1.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001597/0.3113, allocations: 85.5 kB / 435.9 MB, free: 1.391 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.3113, allocations: 8 kB / 435.9 MB, free: 1.383 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.3113, allocations: 0 / 435.9 MB, free: 1.383 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.3113, allocations: 4 kB / 435.9 MB, free: 1.379 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.469e-05/0.3114, allocations: 15.92 kB / 435.9 MB, free: 1.363 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.3115, allocations: 4 kB / 435.9 MB, free: 1.359 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.684e-05/0.3115, allocations: 4.125 kB / 435.9 MB, free: 1.355 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.3115, allocations: 8 kB / 435.9 MB, free: 1.348 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001085/0.3116, allocations: 125.8 kB / 436 MB, free: 1.215 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/0.3117, allocations: 69.53 kB / 436.1 MB, free: 1.141 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.171e-05/0.3118, allocations: 19.91 kB / 436.1 MB, free: 1.117 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.3118, allocations: 0 / 436.1 MB, free: 1.117 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.3118, allocations: 4 kB / 436.1 MB, free: 1.113 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.3118, allocations: 0 / 436.1 MB, free: 1.113 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001896/0.312, allocations: 148.7 kB / 436.3 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.312, allocations: 4 kB / 436.3 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.898e-05/0.312, allocations: 20.02 kB / 436.3 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.572e-06/0.312, allocations: 4 kB / 436.3 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.076e-06/0.312, allocations: 0 / 436.3 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.3121, allocations: 7.922 kB / 436.3 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.3121, allocations: 4 kB / 436.3 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002273/0.3123, allocations: 194 kB / 436.5 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.563e-05/0.3123, allocations: 23.94 kB / 436.5 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.731e-05/0.3124, allocations: 3.938 kB / 436.5 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.376e-05/0.3124, allocations: 7.984 kB / 436.5 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.249e-05/0.3125, allocations: 7.938 kB / 436.6 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/0.3125, allocations: 4.188 kB / 436.6 MB, free: 0.625 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001103/0.3126, allocations: 119.9 kB / 436.7 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3126, allocations: 0 / 436.7 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000239/0.3128, allocations: 8 kB / 436.7 MB, free: 0.5 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005838/0.3134, allocations: 0.7305 MB / 437.4 MB, free: 15.73 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001726/0.3136, allocations: 55.91 kB / 437.5 MB, free: 15.68 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3136, allocations: 0 / 437.5 MB, free: 15.68 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.823e-05/0.3136, allocations: 8 kB / 437.5 MB, free: 15.67 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004386/0.3141, allocations: 43.94 kB / 437.5 MB, free: 15.63 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001602/0.3157, allocations: 1.498 MB / 439 MB, free: 14.01 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.862e-05/0.3158, allocations: 80.06 kB / 439.1 MB, free: 13.91 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.133e-05/0.3158, allocations: 4.672 kB / 439.1 MB, free: 13.91 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.393e-05/0.3159, allocations: 23.42 kB / 439.1 MB, free: 13.88 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3159, allocations: 0 / 439.1 MB, free: 13.88 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03054/0.3464, allocations: 2.671 MB / 441.8 MB, free: 11.33 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/11.18, allocations: 14.34 kB / 441.8 MB, free: 11.32 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79319e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/BackSample/BackSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.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: 13.73854980384931]