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.00131/0.00131, allocations: 118.3 kB / 18.49 MB, free: 4.535 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.001485/0.001485, allocations: 222.3 kB / 21.46 MB, free: 1.582 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.579/1.579, 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.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 67.89 kB / 373.7 MB, free: 10.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1177, allocations: 53.37 MB / 427.1 MB, free: 4.602 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.004022/0.1217, allocations: 1.918 MB / 429 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00252/0.1242, allocations: 1.231 MB / 430.2 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002187/0.1244, allocations: 7.938 kB / 430.2 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007331/0.1252, allocations: 158.2 kB / 430.4 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005374/0.1257, allocations: 151.4 kB / 430.5 MB, free: 1.125 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000631/0.1263, allocations: 171.5 kB / 430.7 MB, free: 0.957 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003712/0.1267, allocations: 195.4 kB / 430.9 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001325/0.1268, allocations: 17.56 kB / 430.9 MB, free: 0.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000172/0.127, allocations: 87.61 kB / 431 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001508/0.1272, allocations: 79.61 kB / 431.1 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.935e-05/0.1272, allocations: 12 kB / 431.1 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001617/0.1274, allocations: 47.98 kB / 431.1 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.618e-05/0.1274, allocations: 47.83 kB / 431.2 MB, free: 492 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.575e-05/0.1275, allocations: 75.48 kB / 431.2 MB, free: 416 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004215/0.128, allocations: 211 kB / 431.4 MB, free: 204 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.128, allocations: 0 / 431.4 MB, free: 204 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.128, allocations: 4 kB / 431.4 MB, free: 200 kB / 350.1 MB Notification: Performance of Transformations before backend: time 8.996e-06/0.128, allocations: 0 / 431.4 MB, free: 200 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.2302/0.3581, allocations: 0.5138 MB / 432 MB, free: 11.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/0.3582, allocations: 8.906 kB / 432 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.258e-05/0.3582, allocations: 2.031 kB / 432 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.26e-05/0.3582, allocations: 38.67 kB / 432 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.82e-05/0.3583, allocations: 26.14 kB / 432 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003972/0.3587, allocations: 268.4 kB / 432.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.3587, allocations: 8.422 kB / 432.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.42e-05/0.3587, allocations: 7.656 kB / 432.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003799/0.3591, allocations: 154.5 kB / 432.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.3591, allocations: 0 / 432.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.3591, allocations: 1.5 kB / 432.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.3592, allocations: 2.312 kB / 432.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001134/0.3593, allocations: 36.02 kB / 432.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005023/0.3598, allocations: 370.5 kB / 432.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002211/0.36, allocations: 101.1 kB / 433 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.668e-05/0.3601, allocations: 44.91 kB / 433 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.684e-05/0.3601, allocations: 3.328 kB / 433 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001622/0.3603, allocations: 74.81 kB / 433.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.773e-06/0.3603, allocations: 0 / 433.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004004/0.3607, allocations: 142.8 kB / 433.2 MB, free: 10.2 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.826e-05/0.3607, allocations: 139.9 kB / 433.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002935/0.361, allocations: 271.6 kB / 433.6 MB, free: 9.941 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.361, allocations: 30.39 kB / 433.6 MB, free: 9.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.135e-05/0.3611, allocations: 115 kB / 433.8 MB, free: 9.828 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.259e-05/0.3611, allocations: 22.23 kB / 433.8 MB, free: 9.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.03e-05/0.3612, allocations: 35.5 kB / 433.8 MB, free: 9.801 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.455e-05/0.3612, allocations: 331.4 kB / 434.1 MB, free: 9.484 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.424e-05/0.3613, allocations: 24.69 kB / 434.2 MB, free: 9.484 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.959e-05/0.3614, allocations: 65.67 kB / 434.2 MB, free: 9.43 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001357/0.3615, allocations: 83.2 kB / 434.3 MB, free: 9.391 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3615, allocations: 1.125 kB / 434.3 MB, free: 9.391 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002011/0.3617, allocations: 111.1 kB / 434.4 MB, free: 9.352 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.3617, allocations: 6.031 kB / 434.4 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.3617, allocations: 1.344 kB / 434.4 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.3617, allocations: 1.094 kB / 434.4 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.815e-05/0.3618, allocations: 18.17 kB / 434.4 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.3618, allocations: 2.969 kB / 434.4 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.885e-05/0.3619, allocations: 7.438 kB / 434.5 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.3619, allocations: 5.484 kB / 434.5 MB, free: 9.352 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.000103/0.362, allocations: 150.5 kB / 434.6 MB, free: 9.234 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.788e-05/0.3621, allocations: 67.86 kB / 434.7 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.691e-05/0.3621, allocations: 21.98 kB / 434.7 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.3621, allocations: 2.609 kB / 434.7 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/0.3622, allocations: 3.969 kB / 434.7 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.3622, allocations: 3 kB / 434.7 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001429/0.3623, allocations: 237.1 kB / 434.9 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3623, allocations: 7.844 kB / 434.9 MB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.442e-05/0.3623, allocations: 6.531 kB / 434.9 MB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.716e-06/0.3623, allocations: 4.438 kB / 435 MB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.3623, allocations: 3.406 kB / 435 MB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.3623, allocations: 0.75 kB / 435 MB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.3623, allocations: 0 / 435 MB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001952/0.3625, allocations: 159.8 kB / 435.1 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.397e-05/0.3626, allocations: 112 kB / 435.2 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.873e-05/0.3626, allocations: 2.828 kB / 435.2 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.924e-05/0.3627, allocations: 10.14 kB / 435.2 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.952e-05/0.3627, allocations: 4.062 kB / 435.2 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-05/0.3627, allocations: 2.438 kB / 435.2 MB, free: 8.781 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001767/0.3629, allocations: 201.6 kB / 435.4 MB, free: 8.703 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3629, allocations: 0 / 435.4 MB, free: 8.703 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002636/0.3632, allocations: 31.52 kB / 435.5 MB, free: 8.703 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.001848/0.365, allocations: 1.002 MB / 436.5 MB, free: 8.012 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002415/0.3653, allocations: 65.66 kB / 436.5 MB, free: 8.008 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.3653, allocations: 0.9375 kB / 436.5 MB, free: 8.008 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.867e-05/0.3653, allocations: 26.8 kB / 436.6 MB, free: 8.008 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004291/0.3658, allocations: 67.38 kB / 436.6 MB, free: 8.008 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002071/0.3678, allocations: 1.959 MB / 438.6 MB, free: 6.703 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000172/0.368, allocations: 0.7338 MB / 439.3 MB, free: 6 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.786e-05/0.3681, allocations: 20.47 kB / 439.3 MB, free: 6 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.349e-05/0.3682, allocations: 47.92 kB / 439.4 MB, free: 5.969 MB / 350.1 MB Notification: Performance of SimCode: time 6.52e-07/0.3682, allocations: 0 / 439.4 MB, free: 5.969 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02467/0.3929, allocations: 4.691 MB / 444.1 MB, free: 5.133 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.314/8.707, allocations: 21 kB / 444.1 MB, free: 5.121 MB / 350.1 MB " [Timeout remaining time 651] (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] [Calling os._exit(0), Time elapsed: 11.318761846981943] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'superSample1.y'] 8.888259321975056 8.902655671 8.771543119 Calling exit ...