Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.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.001719/0.001719, allocations: 111.1 kB / 20.44 MB, free: 1.352 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.002248/0.002248, allocations: 216.4 kB / 23.73 MB, free: 4.531 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.495/1.495, allocations: 230.5 MB / 257.4 MB, free: 7.754 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.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 71.89 kB / 377.7 MB, free: 2.832 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2961/0.298, allocations: 53.41 MB / 431.1 MB, free: 6.445 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.003554/0.3016, allocations: 1.875 MB / 433 MB, free: 4.562 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002469/0.304, allocations: 1.157 MB / 434.2 MB, free: 3.398 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001705/0.3042, allocations: 7.938 kB / 434.2 MB, free: 3.391 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007246/0.3049, allocations: 159.5 kB / 434.3 MB, free: 3.234 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004507/0.3054, allocations: 159.4 kB / 434.5 MB, free: 3.078 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005767/0.3059, allocations: 175.4 kB / 434.7 MB, free: 2.906 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002965/0.3062, allocations: 191.4 kB / 434.8 MB, free: 2.719 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.3064, allocations: 25.55 kB / 434.9 MB, free: 2.695 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001268/0.3065, allocations: 83.62 kB / 435 MB, free: 2.613 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001301/0.3066, allocations: 71.67 kB / 435 MB, free: 2.543 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.753e-05/0.3067, allocations: 15.94 kB / 435 MB, free: 2.527 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001529/0.3068, allocations: 67.89 kB / 435.1 MB, free: 2.461 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.252e-05/0.3069, allocations: 39.84 kB / 435.1 MB, free: 2.422 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.607e-05/0.307, allocations: 55.61 kB / 435.2 MB, free: 2.367 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00037/0.3073, allocations: 212.9 kB / 435.4 MB, free: 2.16 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.3073, allocations: 0 / 435.4 MB, free: 2.16 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3073, allocations: 0 / 435.4 MB, free: 2.16 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.3073, allocations: 0 / 435.4 MB, free: 2.16 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0009378/0.3083, allocations: 450.7 kB / 435.8 MB, free: 1.684 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.93e-05/0.3083, allocations: 15.98 kB / 435.9 MB, free: 1.668 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.799e-05/0.3084, allocations: 34.75 kB / 435.9 MB, free: 1.625 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.017e-05/0.3084, allocations: 28.78 kB / 435.9 MB, free: 1.598 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004099/0.3089, allocations: 209.1 kB / 436.1 MB, free: 1.367 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.15e-05/0.3089, allocations: 8.375 kB / 436.1 MB, free: 1.359 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.368e-05/0.3089, allocations: 8.359 kB / 436.1 MB, free: 1.352 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000387/0.3093, allocations: 153.5 kB / 436.3 MB, free: 1.184 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.3093, allocations: 0 / 436.3 MB, free: 1.184 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.3093, allocations: 0 / 436.3 MB, free: 1.184 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.3093, allocations: 0 / 436.3 MB, free: 1.184 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001195/0.3094, allocations: 39.92 kB / 436.3 MB, free: 1.145 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006778/0.3101, allocations: 325.5 kB / 436.7 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002566/0.3104, allocations: 103.9 kB / 436.8 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.249e-05/0.3105, allocations: 50.5 kB / 436.8 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.491e-05/0.3105, allocations: 7.984 kB / 436.8 MB, free: 0.582 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001744/0.3107, allocations: 71.39 kB / 436.9 MB, free: 0.5 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.353e-06/0.3107, allocations: 0 / 436.9 MB, free: 0.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004139/0.3111, allocations: 149.4 kB / 437 MB, free: 356 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.169e-05/0.3112, allocations: 106.8 kB / 437.1 MB, free: 224 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003738/0.3115, allocations: 277.3 kB / 437.4 MB, free: 15.94 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.345e-05/0.3116, allocations: 29.7 kB / 437.4 MB, free: 15.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000114/0.3117, allocations: 120.1 kB / 437.5 MB, free: 15.79 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.415e-05/0.3117, allocations: 15.89 kB / 437.6 MB, free: 15.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.131e-05/0.3118, allocations: 33.61 kB / 437.6 MB, free: 15.73 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001776/0.312, allocations: 334.8 kB / 437.9 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.378e-05/0.312, allocations: 20 kB / 437.9 MB, free: 15.38 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001189/0.3121, allocations: 90.83 kB / 438 MB, free: 15.26 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001672/0.3123, allocations: 88.19 kB / 438.1 MB, free: 15.16 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.3123, allocations: 0 / 438.1 MB, free: 15.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002228/0.3125, allocations: 113.5 kB / 438.2 MB, free: 15.04 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.3126, allocations: 4 kB / 438.2 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.3126, allocations: 0 / 438.2 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.09e-05/0.3126, allocations: 4 kB / 438.2 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.704e-05/0.3127, allocations: 11.94 kB / 438.2 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.3127, allocations: 7.938 kB / 438.3 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.62e-05/0.3128, allocations: 24 kB / 438.3 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/0.3128, allocations: 4 kB / 438.3 MB, free: 14.99 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,superSample1.y,superSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001619/0.3129, allocations: 146.8 kB / 438.4 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.584e-05/0.313, allocations: 61.55 kB / 438.5 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002755/0.3133, allocations: 119.4 kB / 438.6 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.662e-06/0.3133, allocations: 4 kB / 438.6 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.3133, allocations: 3.938 kB / 438.6 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.3133, allocations: 0 / 438.6 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002212/0.3135, allocations: 192.7 kB / 438.8 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3135, allocations: 4 kB / 438.8 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.472e-05/0.3136, allocations: 8 kB / 438.8 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.3136, allocations: 0 / 438.8 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.627e-05/0.3136, allocations: 7.984 kB / 438.8 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.3136, allocations: 0 / 438.8 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3136, allocations: 0 / 438.8 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002799/0.3139, allocations: 162.6 kB / 439 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.399e-05/0.314, allocations: 39.77 kB / 439 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.153e-05/0.314, allocations: 7.938 kB / 439 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.922e-05/0.3141, allocations: 4 kB / 439 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.271e-05/0.3141, allocations: 11.98 kB / 439 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.576e-05/0.3141, allocations: 4 kB / 439 MB, free: 14.14 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000241/0.3144, allocations: 200.5 kB / 439.2 MB, free: 13.94 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3144, allocations: 0 / 439.2 MB, free: 13.94 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002749/0.3146, allocations: 31.94 kB / 439.3 MB, free: 13.91 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample1.y,sample1.y,superSample1.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 (10): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0022/0.3168, allocations: 1.036 MB / 440.3 MB, free: 12.99 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002375/0.3171, allocations: 75.91 kB / 440.4 MB, free: 12.92 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.3171, allocations: 0 / 440.4 MB, free: 12.92 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.731e-05/0.3172, allocations: 23.98 kB / 440.4 MB, free: 12.89 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004251/0.3176, allocations: 67.38 kB / 440.5 MB, free: 12.84 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002639/0.3202, allocations: 1.973 MB / 442.4 MB, free: 10.74 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001525/0.3204, allocations: 119.8 kB / 442.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.85e-05/0.3205, allocations: 25.62 kB / 442.6 MB, free: 10.58 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001085/0.3206, allocations: 51.41 kB / 442.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3206, allocations: 0 / 442.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03813/0.3587, allocations: 5.347 MB / 448 MB, free: 5.227 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/11.37, allocations: 2.953 kB / 448 MB, free: 5.227 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample_fmu --startTime=0 --stopTime=0.2 --stepSize=3.95804e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.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.968326977919787]