Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.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.001307/0.001307, allocations: 120 kB / 18.49 MB, free: 4.566 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.001378/0.001378, allocations: 218.3 kB / 21.46 MB, free: 1.613 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.446/1.446, allocations: 230.4 MB / 254.7 MB, free: 15.02 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.Hold,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_Hold",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_Hold",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 55.91 kB / 373.7 MB, free: 10.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09855/0.1006, allocations: 53.37 MB / 427.1 MB, free: 4.594 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.003599/0.1042, allocations: 1.93 MB / 429 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002318/0.1065, allocations: 1.246 MB / 430.2 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001757/0.1066, allocations: 3.938 kB / 430.2 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006545/0.1073, allocations: 147.5 kB / 430.4 MB, free: 1.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005044/0.1078, allocations: 163.4 kB / 430.5 MB, free: 1.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005779/0.1084, allocations: 174.3 kB / 430.7 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003606/0.1087, allocations: 191.5 kB / 430.9 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.1089, allocations: 21.67 kB / 430.9 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001706/0.109, allocations: 91.56 kB / 431 MB, free: 0.625 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001438/0.1092, allocations: 79.61 kB / 431.1 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.676e-05/0.1092, allocations: 8 kB / 431.1 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000162/0.1094, allocations: 63.95 kB / 431.1 MB, free: 488 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.593e-05/0.1095, allocations: 47.78 kB / 431.2 MB, free: 440 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001028/0.1096, allocations: 71.48 kB / 431.3 MB, free: 368 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004267/0.11, allocations: 223 kB / 431.5 MB, free: 144 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.11, allocations: 4 kB / 431.5 MB, free: 140 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.11, allocations: 0 / 431.5 MB, free: 140 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.11, allocations: 0 / 431.5 MB, free: 140 kB / 350.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.1946/0.3046, allocations: 0.5222 MB / 432 MB, free: 10.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.553e-05/0.3046, allocations: 10 kB / 432 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.918e-05/0.3047, allocations: 1.688 kB / 432 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.061e-05/0.3047, allocations: 40.66 kB / 432.1 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.377e-05/0.3048, allocations: 22.86 kB / 432.1 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003798/0.3051, allocations: 278.3 kB / 432.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.3052, allocations: 4.094 kB / 432.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.707e-05/0.3052, allocations: 12.09 kB / 432.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003388/0.3055, allocations: 167.4 kB / 432.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.3055, allocations: 0 / 432.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.717e-05/0.3055, allocations: 5.391 kB / 432.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.3056, allocations: 1.844 kB / 432.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001191/0.3057, allocations: 39.11 kB / 432.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000551/0.3062, allocations: 448.6 kB / 433 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002563/0.3065, allocations: 134 kB / 433.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.3066, allocations: 55.39 kB / 433.2 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.895e-05/0.3066, allocations: 5.188 kB / 433.2 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001855/0.3068, allocations: 95.39 kB / 433.3 MB, free: 10.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.633e-06/0.3068, allocations: 0 / 433.3 MB, free: 10.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004368/0.3072, allocations: 159.9 kB / 433.5 MB, free: 10.03 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.439e-05/0.3073, allocations: 161.6 kB / 433.6 MB, free: 9.84 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003232/0.3076, allocations: 280.4 kB / 433.9 MB, free: 9.73 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.3076, allocations: 30.36 kB / 433.9 MB, free: 9.699 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.31e-05/0.3077, allocations: 120.6 kB / 434 MB, free: 9.613 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.927e-05/0.3078, allocations: 19.91 kB / 434.1 MB, free: 9.605 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.897e-05/0.3078, allocations: 35.25 kB / 434.1 MB, free: 9.586 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.125e-05/0.3079, allocations: 335 kB / 434.4 MB, free: 9.27 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.996e-05/0.308, allocations: 25.05 kB / 434.4 MB, free: 9.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.746e-05/0.308, allocations: 79.36 kB / 434.5 MB, free: 9.207 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001371/0.3082, allocations: 88.83 kB / 434.6 MB, free: 9.16 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.3082, allocations: 1.781 kB / 434.6 MB, free: 9.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000238/0.3084, allocations: 129.9 kB / 434.7 MB, free: 9.121 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.3084, allocations: 7.281 kB / 434.7 MB, free: 9.121 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.3085, allocations: 1.469 kB / 434.7 MB, free: 9.121 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.276e-05/0.3085, allocations: 2.062 kB / 434.7 MB, free: 9.121 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.271e-05/0.3086, allocations: 13.61 kB / 434.8 MB, free: 9.121 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.218e-06/0.3086, allocations: 6.812 kB / 434.8 MB, free: 9.121 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.787e-05/0.3086, allocations: 14.83 kB / 434.8 MB, free: 9.117 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.3087, allocations: 5 kB / 434.8 MB, free: 9.117 MB / 350.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: 11 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,shiftSample1.y,hold1.y,hold1.u,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.0001017/0.3088, allocations: 156.4 kB / 434.9 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.316e-05/0.3088, allocations: 75.12 kB / 435 MB, free: 8.953 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.369e-05/0.3089, allocations: 21.92 kB / 435 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.3089, allocations: 2.188 kB / 435 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.3089, allocations: 1.094 kB / 435 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.752e-06/0.3089, allocations: 4.891 kB / 435 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001769/0.3091, allocations: 233.2 kB / 435.3 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.3091, allocations: 5.25 kB / 435.3 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.721e-05/0.3091, allocations: 8.312 kB / 435.3 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.3091, allocations: 1.25 kB / 435.3 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.3091, allocations: 4.625 kB / 435.3 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.87e-06/0.3091, allocations: 2.75 kB / 435.3 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.3091, allocations: 3.312 kB / 435.3 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002305/0.3094, allocations: 177.9 kB / 435.5 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.511e-05/0.3094, allocations: 112.4 kB / 435.6 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.195e-05/0.3095, allocations: 6.5 kB / 435.6 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.252e-05/0.3095, allocations: 6.812 kB / 435.6 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.545e-05/0.3096, allocations: 7.938 kB / 435.6 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.552e-05/0.3096, allocations: 5.438 kB / 435.6 MB, free: 8.539 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001649/0.3098, allocations: 201.7 kB / 435.8 MB, free: 8.461 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3098, allocations: 5.312 kB / 435.8 MB, free: 8.457 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002694/0.31, allocations: 39.94 kB / 435.8 MB, free: 8.449 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,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,hold1.y,hold1.u,shiftSample1.y,sample1.y,shiftSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * 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.001778/0.3118, allocations: 1.017 MB / 436.9 MB, free: 7.746 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002466/0.312, allocations: 78.69 kB / 436.9 MB, free: 7.742 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.3121, allocations: 1.375 kB / 436.9 MB, free: 7.742 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.492e-05/0.3121, allocations: 28.09 kB / 437 MB, free: 7.742 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004249/0.3126, allocations: 69.12 kB / 437 MB, free: 7.742 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002002/0.3146, allocations: 2.027 MB / 439.1 MB, free: 6.324 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001977/0.3148, allocations: 0.7369 MB / 439.8 MB, free: 5.621 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.623e-05/0.3148, allocations: 25.64 kB / 439.8 MB, free: 5.617 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.944e-05/0.3149, allocations: 56.14 kB / 439.9 MB, free: 5.578 MB / 350.1 MB Notification: Performance of SimCode: time 3.9e-07/0.3149, allocations: 0 / 439.9 MB, free: 5.578 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02259/0.3375, allocations: 4.881 MB / 444.8 MB, free: 4.715 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.413/8.75, allocations: 6.906 kB / 444.8 MB, free: 4.715 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_Hold_fmu --startTime=0 --stopTime=0.2 --stepSize=3.98963e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_Hold.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.20252154499758] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'shiftSample1.y', 'hold1.y'] 8.927748238958884 8.943735157 8.830643706 Calling exit ...