Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.001266/0.001266, 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.001361/0.001361, allocations: 213.2 kB / 23.73 MB, free: 4.164 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.544/1.544, allocations: 230.5 MB / 257.4 MB, free: 7.766 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.BooleanSignals.BackSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001896/0.001896, allocations: 63.89 kB / 377.7 MB, free: 2.812 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.297/0.2989, allocations: 53.41 MB / 431.1 MB, free: 6.438 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.004299/0.3032, allocations: 1.909 MB / 433 MB, free: 4.52 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002307/0.3055, allocations: 1.176 MB / 434.2 MB, free: 3.336 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001662/0.3057, allocations: 7.938 kB / 434.2 MB, free: 3.328 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007933/0.3065, allocations: 155.5 kB / 434.4 MB, free: 3.176 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004577/0.3069, allocations: 163.4 kB / 434.5 MB, free: 3.016 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000537/0.3075, allocations: 175.4 kB / 434.7 MB, free: 2.844 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003345/0.3078, allocations: 211.4 kB / 434.9 MB, free: 2.637 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001602/0.308, allocations: 25.59 kB / 434.9 MB, free: 2.613 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001496/0.3081, allocations: 83.62 kB / 435 MB, free: 2.531 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001579/0.3083, allocations: 79.61 kB / 435.1 MB, free: 2.453 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.997e-05/0.3083, allocations: 12 kB / 435.1 MB, free: 2.441 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001572/0.3085, allocations: 63.95 kB / 435.2 MB, free: 2.379 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.94e-05/0.3085, allocations: 47.78 kB / 435.2 MB, free: 2.332 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.383e-05/0.3086, allocations: 51.61 kB / 435.3 MB, free: 2.281 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003698/0.309, allocations: 224.9 kB / 435.5 MB, free: 2.062 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.309, allocations: 0 / 435.5 MB, free: 2.062 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.309, allocations: 4 kB / 435.5 MB, free: 2.059 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.309, allocations: 0 / 435.5 MB, free: 2.059 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008236/0.3098, allocations: 458.7 kB / 435.9 MB, free: 1.574 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.3099, allocations: 15.98 kB / 436 MB, free: 1.559 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.364e-05/0.3099, allocations: 34.75 kB / 436 MB, free: 1.516 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.655e-05/0.31, allocations: 32.67 kB / 436 MB, free: 1.484 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004012/0.3104, allocations: 221.1 kB / 436.2 MB, free: 1.246 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.3104, allocations: 8.375 kB / 436.3 MB, free: 1.238 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.028e-05/0.3104, allocations: 12.36 kB / 436.3 MB, free: 1.227 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003717/0.3108, allocations: 170.7 kB / 436.4 MB, free: 1.035 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.3108, allocations: 4 kB / 436.4 MB, free: 1.031 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.3108, allocations: 4 kB / 436.4 MB, free: 1.027 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.3108, allocations: 0 / 436.4 MB, free: 1.027 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001113/0.3109, allocations: 39.92 kB / 436.5 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005197/0.3115, allocations: 330.4 kB / 436.8 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002543/0.3117, allocations: 134.5 kB / 436.9 MB, free: 456 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/0.3118, allocations: 55.36 kB / 437 MB, free: 388 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.749e-05/0.3118, allocations: 7.984 kB / 437 MB, free: 380 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001671/0.312, allocations: 71.39 kB / 437.1 MB, free: 296 kB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.463e-06/0.312, allocations: 0 / 437.1 MB, free: 296 kB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003981/0.3124, allocations: 169.4 kB / 437.2 MB, free: 120 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001146/0.3125, allocations: 136.5 kB / 437.4 MB, free: 15.95 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003296/0.3129, allocations: 281.9 kB / 437.6 MB, free: 15.67 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.639e-05/0.3129, allocations: 33.7 kB / 437.7 MB, free: 15.63 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.313, allocations: 124.4 kB / 437.8 MB, free: 15.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.089e-05/0.313, allocations: 27.77 kB / 437.8 MB, free: 15.47 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.352e-05/0.3131, allocations: 25.72 kB / 437.8 MB, free: 15.44 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.3132, allocations: 342.8 kB / 438.2 MB, free: 15.1 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.582e-05/0.3133, allocations: 20.36 kB / 438.2 MB, free: 15.08 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001266/0.3134, allocations: 107.9 kB / 438.3 MB, free: 14.95 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001621/0.3136, allocations: 101.9 kB / 438.4 MB, free: 14.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3136, allocations: 0 / 438.4 MB, free: 14.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002523/0.3138, allocations: 145.7 kB / 438.5 MB, free: 14.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.3139, allocations: 7.984 kB / 438.6 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.136e-06/0.3139, allocations: 4 kB / 438.6 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.3139, allocations: 0 / 438.6 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.889e-05/0.314, allocations: 15.94 kB / 438.6 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.314, allocations: 0 / 438.6 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.386e-05/0.3141, allocations: 15.98 kB / 438.6 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.3141, allocations: 4 kB / 438.6 MB, free: 14.63 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,sample1.u,backSample1.y,backSample1.u,shiftSample1.y,shiftSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001446/0.3142, allocations: 142.5 kB / 438.7 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001088/0.3143, allocations: 85.48 kB / 438.8 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002612/0.3146, allocations: 115.3 kB / 438.9 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.3146, allocations: 4 kB / 438.9 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.3146, allocations: 0 / 438.9 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.3146, allocations: 4 kB / 438.9 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000213/0.3148, allocations: 200.5 kB / 439.1 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.3148, allocations: 0 / 439.1 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.632e-05/0.3148, allocations: 12 kB / 439.1 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.3148, allocations: 96 / 439.1 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.3149, allocations: 8 kB / 439.2 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.3149, allocations: 7.875 kB / 439.2 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.3149, allocations: 4 kB / 439.2 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003042/0.3152, allocations: 179.4 kB / 439.3 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.096e-05/0.3153, allocations: 35.88 kB / 439.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.204e-05/0.3153, allocations: 4 kB / 439.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.766e-05/0.3154, allocations: 8 kB / 439.4 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.327e-05/0.3154, allocations: 3.984 kB / 439.4 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.81e-05/0.3154, allocations: 8 kB / 439.4 MB, free: 13.73 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002287/0.3156, allocations: 209.2 kB / 439.6 MB, free: 13.52 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3156, allocations: 0 / 439.6 MB, free: 13.52 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002727/0.3159, allocations: 43.81 kB / 439.6 MB, free: 13.48 MB / 350.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: 9 ($whenCondition1,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,backSample1.y,shiftSample1.y,backSample1.u,sample1.y,shiftSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002276/0.3182, allocations: 1.044 MB / 440.7 MB, free: 12.55 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002377/0.3184, allocations: 79.83 kB / 440.8 MB, free: 12.48 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3184, allocations: 384 / 440.8 MB, free: 12.48 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.734e-05/0.3185, allocations: 35.92 kB / 440.8 MB, free: 12.44 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004463/0.319, allocations: 75.58 kB / 440.9 MB, free: 12.38 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002477/0.3214, allocations: 2.073 MB / 442.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001318/0.3216, allocations: 127.9 kB / 443.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.301e-05/0.3216, allocations: 21.62 kB / 443.1 MB, free: 9.996 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/0.3218, allocations: 55.42 kB / 443.1 MB, free: 9.941 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3218, allocations: 0 / 443.1 MB, free: 9.941 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0357/0.3575, allocations: 5.759 MB / 448.9 MB, free: 4.246 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.81/11.17, allocations: 9.172 kB / 448.9 MB, free: 4.238 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_BackSample_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79247e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_BackSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/BackSample/BackSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.814197177067399]