Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001605/0.001605, allocations: 113 kB / 18.49 MB, free: 4.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001868/0.001868, allocations: 217.4 kB / 21.46 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.411/1.411, allocations: 230.6 MB / 254.8 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 59.89 kB / 373.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09964/0.1012, allocations: 53.32 MB / 427 MB, free: 4.766 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.003407/0.1046, allocations: 1.909 MB / 428.9 MB, free: 2.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002057/0.1066, allocations: 1.235 MB / 430.2 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001204/0.1067, allocations: 3.938 kB / 430.2 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005747/0.1073, allocations: 151.5 kB / 430.3 MB, free: 1.445 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004059/0.1077, allocations: 162.9 kB / 430.5 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004765/0.1082, allocations: 171.5 kB / 430.6 MB, free: 1.121 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002575/0.1085, allocations: 179.5 kB / 430.8 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.1086, allocations: 25.48 kB / 430.8 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001307/0.1087, allocations: 83.62 kB / 430.9 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001202/0.1088, allocations: 79.67 kB / 431 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.22e-05/0.1088, allocations: 8 kB / 431 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000132/0.109, allocations: 59.91 kB / 431.1 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.615e-05/0.109, allocations: 43.83 kB / 431.1 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.512e-05/0.1091, allocations: 79.48 kB / 431.2 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003184/0.1094, allocations: 211 kB / 431.4 MB, free: 376 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1095, allocations: 0 / 431.4 MB, free: 376 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1095, allocations: 0 / 431.4 MB, free: 376 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.1095, allocations: 0 / 431.4 MB, free: 376 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.1828/0.2922, allocations: 0.5167 MB / 431.9 MB, free: 11.24 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.2923, allocations: 8.469 kB / 431.9 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.412e-05/0.2923, allocations: 1.281 kB / 431.9 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.473e-05/0.2923, allocations: 39.41 kB / 432 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.162e-05/0.2924, allocations: 23.36 kB / 432 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003203/0.2927, allocations: 276.1 kB / 432.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.2927, allocations: 4.547 kB / 432.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.563e-05/0.2927, allocations: 5.188 kB / 432.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003195/0.293, allocations: 153 kB / 432.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.293, allocations: 0 / 432.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.2931, allocations: 5.438 kB / 432.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.2931, allocations: 2.312 kB / 432.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001045/0.2932, allocations: 32.14 kB / 432.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004139/0.2936, allocations: 365.5 kB / 432.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001935/0.2938, allocations: 106.6 kB / 432.9 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.991e-05/0.2938, allocations: 41.41 kB / 432.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.542e-05/0.2939, allocations: 5.344 kB / 433 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001436/0.294, allocations: 78.08 kB / 433 MB, free: 10.47 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.422e-06/0.294, allocations: 0 / 433 MB, free: 10.47 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003439/0.2944, allocations: 141.6 kB / 433.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.783e-05/0.2944, allocations: 139.2 kB / 433.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002389/0.2946, allocations: 274.3 kB / 433.6 MB, free: 10.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.323e-05/0.2947, allocations: 34.27 kB / 433.6 MB, free: 10.13 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.323e-05/0.2947, allocations: 117.5 kB / 433.7 MB, free: 10.05 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.016e-05/0.2947, allocations: 17.83 kB / 433.7 MB, free: 10.04 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.452e-05/0.2948, allocations: 35.23 kB / 433.8 MB, free: 10.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.299e-05/0.2948, allocations: 333 kB / 434.1 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.939e-05/0.2949, allocations: 23.12 kB / 434.1 MB, free: 9.707 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.318e-05/0.295, allocations: 62.98 kB / 434.2 MB, free: 9.652 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001179/0.2951, allocations: 77.72 kB / 434.3 MB, free: 9.613 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2951, allocations: 0.875 kB / 434.3 MB, free: 9.613 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001892/0.2953, allocations: 117.8 kB / 434.4 MB, free: 9.574 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.873e-05/0.2953, allocations: 5.562 kB / 434.4 MB, free: 9.574 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.2953, allocations: 1.406 kB / 434.4 MB, free: 9.574 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.2953, allocations: 1.75 kB / 434.4 MB, free: 9.574 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.443e-05/0.2954, allocations: 19.08 kB / 434.4 MB, free: 9.574 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.186e-06/0.2954, allocations: 1.344 kB / 434.4 MB, free: 9.574 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.616e-05/0.2955, allocations: 8.234 kB / 434.4 MB, free: 9.574 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.244e-05/0.2955, allocations: 8 kB / 434.4 MB, free: 9.574 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 9.64e-05/0.2956, allocations: 153.6 kB / 434.6 MB, free: 9.453 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.021e-05/0.2957, allocations: 63.75 kB / 434.6 MB, free: 9.41 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.957e-05/0.2957, allocations: 25.77 kB / 434.7 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.2957, allocations: 5.625 kB / 434.7 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.2957, allocations: 1.219 kB / 434.7 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.2957, allocations: 3.531 kB / 434.7 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001337/0.2959, allocations: 230.4 kB / 434.9 MB, free: 9.203 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.2959, allocations: 1.938 kB / 434.9 MB, free: 9.203 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.469e-05/0.2959, allocations: 10.72 kB / 434.9 MB, free: 9.203 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.2959, allocations: 0 / 434.9 MB, free: 9.203 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.2959, allocations: 0.5156 kB / 434.9 MB, free: 9.203 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.2959, allocations: 3.781 kB / 434.9 MB, free: 9.203 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.2959, allocations: 8.844 kB / 434.9 MB, free: 9.203 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000187/0.2961, allocations: 150.6 kB / 435.1 MB, free: 9.113 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.769e-05/0.2961, allocations: 112.5 kB / 435.2 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.729e-05/0.2962, allocations: 9.75 kB / 435.2 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.739e-05/0.2962, allocations: 10.78 kB / 435.2 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.79e-05/0.2963, allocations: 7.859 kB / 435.2 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.328e-05/0.2963, allocations: 7.906 kB / 435.2 MB, free: 9.008 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001402/0.2964, allocations: 198 kB / 435.4 MB, free: 8.93 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2964, allocations: 0 / 435.4 MB, free: 8.93 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002444/0.2967, allocations: 35.28 kB / 435.4 MB, free: 8.926 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.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.001666/0.2983, allocations: 1.009 MB / 436.4 MB, free: 8.242 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001999/0.2985, allocations: 60.58 kB / 436.5 MB, free: 8.242 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.2985, allocations: 0.9688 kB / 436.5 MB, free: 8.242 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.07e-05/0.2986, allocations: 23.19 kB / 436.5 MB, free: 8.242 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003813/0.299, allocations: 71 kB / 436.6 MB, free: 8.234 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002001/0.301, allocations: 1.95 MB / 438.5 MB, free: 6.945 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001872/0.3012, allocations: 0.7324 MB / 439.3 MB, free: 6.246 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.124e-05/0.3012, allocations: 21.75 kB / 439.3 MB, free: 6.242 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.892e-05/0.3013, allocations: 51.64 kB / 439.4 MB, free: 6.207 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3013, allocations: 0 / 439.4 MB, free: 6.207 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0224/0.3237, allocations: 4.705 MB / 444.1 MB, free: 5.375 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.021/8.345, allocations: 5.938 kB / 444.1 MB, free: 5.375 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample_fmu --startTime=0 --stopTime=0.2 --stepSize=3.95804e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.731178578047547] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'superSample1.y'] 8.51892887800932 8.530504524 8.418158751 Calling exit ...