Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001487/0.001487, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.001431/0.001431, allocations: 211 kB / 24.53 MB, free: 4.07 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.513/1.513, allocations: 230.5 MB / 258.2 MB, free: 8.027 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.IntegerSignals.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 59.89 kB / 378.6 MB, free: 3.012 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3215/0.3234, allocations: 53.4 MB / 432 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.003802/0.3272, allocations: 1.913 MB / 433.9 MB, free: 4.773 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002452/0.3297, allocations: 1.34 MB / 435.2 MB, free: 3.426 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001443/0.3298, allocations: 7.875 kB / 435.2 MB, free: 3.418 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003565/0.3302, allocations: 67.67 kB / 435.3 MB, free: 3.352 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003964/0.3305, allocations: 131.4 kB / 435.4 MB, free: 3.223 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007149/0.3313, allocations: 238.8 kB / 435.7 MB, free: 2.992 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002825/0.3315, allocations: 175.5 kB / 435.8 MB, free: 2.82 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000133/0.3317, allocations: 25.72 kB / 435.9 MB, free: 2.793 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001264/0.3318, allocations: 75.7 kB / 435.9 MB, free: 2.719 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001512/0.332, allocations: 91.55 kB / 436 MB, free: 2.629 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.84e-05/0.332, allocations: 8 kB / 436 MB, free: 2.621 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001823/0.3322, allocations: 71.94 kB / 436.1 MB, free: 2.551 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.649e-05/0.3323, allocations: 59.83 kB / 436.2 MB, free: 2.492 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001001/0.3324, allocations: 75.42 kB / 436.2 MB, free: 2.418 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003951/0.3328, allocations: 243.8 kB / 436.5 MB, free: 2.184 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3328, allocations: 0 / 436.5 MB, free: 2.184 MB / 334.1 MB Notification: Performance of FrontEnd: time 5.38e-06/0.3328, allocations: 3.984 kB / 436.5 MB, free: 2.18 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.3328, allocations: 0 / 436.5 MB, free: 2.18 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.0007821/0.3336, allocations: 478.5 kB / 436.9 MB, free: 1.676 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.3336, allocations: 15.97 kB / 436.9 MB, free: 1.66 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.492e-05/0.3336, allocations: 4.188 kB / 437 MB, free: 1.656 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.96e-05/0.3337, allocations: 38.75 kB / 437 MB, free: 1.609 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.045e-05/0.3337, allocations: 28.78 kB / 437 MB, free: 1.582 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004428/0.3342, allocations: 225.5 kB / 437.2 MB, free: 1.336 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.3342, allocations: 12.31 kB / 437.3 MB, free: 1.324 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.03e-05/0.3342, allocations: 4.375 kB / 437.3 MB, free: 1.32 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003579/0.3345, allocations: 163.5 kB / 437.4 MB, free: 1.133 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.3346, allocations: 0 / 437.4 MB, free: 1.133 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.3346, allocations: 4 kB / 437.4 MB, free: 1.129 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.3346, allocations: 4 kB / 437.4 MB, free: 1.125 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001109/0.3347, allocations: 27.98 kB / 437.5 MB, free: 1.098 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005657/0.3353, allocations: 369.3 kB / 437.8 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002619/0.3355, allocations: 115.9 kB / 437.9 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.611e-05/0.3356, allocations: 46.56 kB / 438 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.474e-05/0.3356, allocations: 0 / 438 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001818/0.3358, allocations: 83.31 kB / 438.1 MB, free: 408 kB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.332e-06/0.3358, allocations: 0 / 438.1 MB, free: 408 kB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004038/0.3362, allocations: 149.5 kB / 438.2 MB, free: 252 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001186/0.3363, allocations: 166.2 kB / 438.4 MB, free: 48 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004041/0.3367, allocations: 334 kB / 438.7 MB, free: 15.71 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.3368, allocations: 25.7 kB / 438.7 MB, free: 15.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.3369, allocations: 136 kB / 438.8 MB, free: 15.54 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.631e-05/0.3369, allocations: 15.89 kB / 438.9 MB, free: 15.53 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.992e-05/0.337, allocations: 41.95 kB / 438.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.3371, allocations: 334.7 kB / 439.2 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.592e-05/0.3372, allocations: 23.98 kB / 439.3 MB, free: 15.12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001204/0.3373, allocations: 90.78 kB / 439.3 MB, free: 15.01 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001667/0.3375, allocations: 84.22 kB / 439.4 MB, free: 14.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3375, allocations: 0 / 439.4 MB, free: 14.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002546/0.3377, allocations: 129.3 kB / 439.5 MB, free: 14.78 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.3378, allocations: 8.125 kB / 439.6 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.3378, allocations: 4 kB / 439.6 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.3378, allocations: 7.984 kB / 439.6 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.3379, allocations: 12 kB / 439.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.3379, allocations: 4 kB / 439.6 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.316e-05/0.338, allocations: 11.92 kB / 439.6 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.233e-05/0.338, allocations: 7.938 kB / 439.6 MB, free: 14.72 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.0001634/0.3382, allocations: 154.8 kB / 439.8 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.3383, allocations: 77.44 kB / 439.8 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002819/0.3385, allocations: 115.4 kB / 439.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.3385, allocations: 0 / 439.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.3386, allocations: 4 kB / 439.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.724e-06/0.3386, allocations: 8.016 kB / 440 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002317/0.3388, allocations: 212.6 kB / 440.2 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.3388, allocations: 0 / 440.2 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.64e-05/0.3389, allocations: 15.98 kB / 440.2 MB, free: 14.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3389, allocations: 0 / 440.2 MB, free: 14.08 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.49e-05/0.3389, allocations: 4 kB / 440.2 MB, free: 14.08 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.347e-06/0.3389, allocations: 8 kB / 440.2 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.3389, allocations: 0 / 440.2 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002874/0.3392, allocations: 170.5 kB / 440.4 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.196e-05/0.3393, allocations: 35.84 kB / 440.4 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.929e-05/0.3393, allocations: 7.984 kB / 440.4 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.635e-05/0.3394, allocations: 8 kB / 440.4 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.76e-05/0.3394, allocations: 7.984 kB / 440.4 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.756e-05/0.3394, allocations: 4 kB / 440.4 MB, free: 13.82 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002542/0.3397, allocations: 253.1 kB / 440.7 MB, free: 13.57 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3397, allocations: 0 / 440.7 MB, free: 13.57 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002709/0.34, allocations: 35.92 kB / 440.7 MB, free: 13.54 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 (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.002056/0.342, allocations: 1.016 MB / 441.7 MB, free: 12.63 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002519/0.3423, allocations: 67.91 kB / 441.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3423, allocations: 0 / 441.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.664e-05/0.3424, allocations: 32.17 kB / 441.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004274/0.3428, allocations: 66.33 kB / 441.9 MB, free: 12.48 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002713/0.3455, allocations: 2.235 MB / 444.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003832/0.3459, allocations: 0.7437 MB / 444.9 MB, free: 9.352 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.97e-05/0.346, allocations: 29.7 kB / 444.9 MB, free: 9.32 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001086/0.3461, allocations: 59.42 kB / 444.9 MB, free: 9.262 MB / 350.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3461, allocations: 0 / 444.9 MB, free: 9.262 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02797/0.374, allocations: 5.521 MB / 450.5 MB, free: 3.801 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.5, allocations: 8 kB / 450.5 MB, free: 3.793 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample_fmu --startTime=0 --stopTime=0.2 --stepSize=3.95804e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.049118744966108] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'superSample1.y'] 11.713030934974086 11.7296448 11.393485178 Calling exit ...