Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.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.001396/0.001396, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001421/0.001421, allocations: 213.5 kB / 24.52 MB, free: 3.91 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.49/1.49, allocations: 230.5 MB / 258.2 MB, free: 7.777 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.Sample1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_Sample1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_Sample1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002108/0.002108, allocations: 63.91 kB / 378.5 MB, free: 2.812 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3051/0.3072, allocations: 53.4 MB / 431.9 MB, free: 6.449 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.003572/0.3108, allocations: 1.532 MB / 433.4 MB, free: 4.918 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004536/0.3112, allocations: 135.5 kB / 433.6 MB, free: 4.785 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001038/0.3113, allocations: 7.938 kB / 433.6 MB, free: 4.777 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.496e-05/0.3114, allocations: 3.938 kB / 433.6 MB, free: 4.773 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001423/0.3115, allocations: 7.922 kB / 433.6 MB, free: 4.766 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002881/0.3118, allocations: 35.91 kB / 433.6 MB, free: 4.73 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001186/0.3119, allocations: 35.86 kB / 433.7 MB, free: 4.695 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.3121, allocations: 14.09 kB / 433.7 MB, free: 4.684 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.512e-05/0.3121, allocations: 15.92 kB / 433.7 MB, free: 4.668 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.584e-05/0.3122, allocations: 15.92 kB / 433.7 MB, free: 4.652 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.088e-05/0.3122, allocations: 4 kB / 433.7 MB, free: 4.648 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.386e-05/0.3122, allocations: 4 kB / 433.7 MB, free: 4.645 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.958e-05/0.3123, allocations: 11.94 kB / 433.7 MB, free: 4.633 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.279e-05/0.3123, allocations: 15.88 kB / 433.7 MB, free: 4.617 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001512/0.3124, allocations: 55.67 kB / 433.8 MB, free: 4.562 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.3125, allocations: 3.938 kB / 433.8 MB, free: 4.559 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.235e-06/0.3125, allocations: 3.938 kB / 433.8 MB, free: 4.555 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.3125, allocations: 0 / 433.8 MB, free: 4.555 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005469/0.313, allocations: 294.1 kB / 434.1 MB, free: 4.234 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.433e-05/0.3131, allocations: 16.03 kB / 434.1 MB, free: 4.219 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.631e-05/0.3131, allocations: 192 / 434.1 MB, free: 4.219 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.204e-05/0.3131, allocations: 34.75 kB / 434.1 MB, free: 4.176 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.734e-05/0.3132, allocations: 8.891 kB / 434.1 MB, free: 4.168 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003434/0.3135, allocations: 130.4 kB / 434.3 MB, free: 4.016 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.3135, allocations: 8.359 kB / 434.3 MB, free: 4.008 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.271e-05/0.3135, allocations: 4.312 kB / 434.3 MB, free: 4.004 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003386/0.3139, allocations: 129.3 kB / 434.4 MB, free: 3.859 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.3139, allocations: 0 / 434.4 MB, free: 3.859 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.3139, allocations: 4 kB / 434.4 MB, free: 3.855 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.3139, allocations: 0 / 434.4 MB, free: 3.855 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.515e-05/0.314, allocations: 15.98 kB / 434.4 MB, free: 3.84 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000339/0.3143, allocations: 236.7 kB / 434.7 MB, free: 3.562 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002025/0.3145, allocations: 57.2 kB / 434.7 MB, free: 3.488 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.101e-05/0.3146, allocations: 33.7 kB / 434.7 MB, free: 3.449 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.778e-05/0.3146, allocations: 4 kB / 434.8 MB, free: 3.445 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/0.3146, allocations: 34.55 kB / 434.8 MB, free: 3.402 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.3146, allocations: 0 / 434.8 MB, free: 3.402 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002565/0.3149, allocations: 77.56 kB / 434.9 MB, free: 3.32 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.924e-05/0.315, allocations: 81.11 kB / 434.9 MB, free: 3.223 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/0.3151, allocations: 130.1 kB / 435.1 MB, free: 3.082 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.722e-05/0.3151, allocations: 25.7 kB / 435.1 MB, free: 3.051 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.135e-05/0.3152, allocations: 96.06 kB / 435.2 MB, free: 2.953 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.618e-06/0.3152, allocations: 4.078 kB / 435.2 MB, free: 2.949 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.685e-05/0.3152, allocations: 21.72 kB / 435.2 MB, free: 2.922 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.3154, allocations: 322.8 kB / 435.5 MB, free: 2.598 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.798e-05/0.3154, allocations: 4 kB / 435.5 MB, free: 2.594 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.201e-05/0.3154, allocations: 35.42 kB / 435.6 MB, free: 2.547 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.713e-05/0.3155, allocations: 47.3 kB / 435.6 MB, free: 2.488 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3155, allocations: 4 kB / 435.6 MB, free: 2.484 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000126/0.3157, allocations: 65.56 kB / 435.7 MB, free: 2.414 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.3157, allocations: 4 kB / 435.7 MB, free: 2.41 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.3157, allocations: 11.92 kB / 435.7 MB, free: 2.398 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.3157, allocations: 0 / 435.7 MB, free: 2.398 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.111e-05/0.3158, allocations: 8 kB / 435.7 MB, free: 2.391 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.3158, allocations: 0 / 435.7 MB, free: 2.391 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.586e-05/0.3158, allocations: 7.953 kB / 435.7 MB, free: 2.383 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-06/0.3158, allocations: 128 / 435.7 MB, free: 2.383 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (step.y,sample1.y,assignClock.y,assignClock.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001016/0.3159, allocations: 133.8 kB / 435.8 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.581e-05/0.316, allocations: 45.64 kB / 435.9 MB, free: 2.191 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.757e-05/0.316, allocations: 12.33 kB / 435.9 MB, free: 2.172 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.316, allocations: 4 kB / 435.9 MB, free: 2.168 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.316, allocations: 0 / 435.9 MB, free: 2.168 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.316, allocations: 0 / 435.9 MB, free: 2.168 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001721/0.3162, allocations: 144.6 kB / 436 MB, free: 1.984 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3162, allocations: 0 / 436 MB, free: 1.984 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.066e-05/0.3163, allocations: 7.984 kB / 436.1 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.3163, allocations: 4 kB / 436.1 MB, free: 1.973 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.3163, allocations: 4 kB / 436.1 MB, free: 1.969 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.3163, allocations: 0 / 436.1 MB, free: 1.969 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.3163, allocations: 0 / 436.1 MB, free: 1.969 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001828/0.3164, allocations: 172.2 kB / 436.2 MB, free: 1.781 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.737e-05/0.3165, allocations: 15.98 kB / 436.2 MB, free: 1.766 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.617e-05/0.3165, allocations: 4 kB / 436.2 MB, free: 1.762 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.572e-05/0.3166, allocations: 0 / 436.2 MB, free: 1.762 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.099e-05/0.3166, allocations: 4 kB / 436.3 MB, free: 1.758 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.516e-06/0.3166, allocations: 0 / 436.3 MB, free: 1.758 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.632e-05/0.3167, allocations: 118.2 kB / 436.4 MB, free: 1.645 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3167, allocations: 4 kB / 436.4 MB, free: 1.641 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002211/0.3169, allocations: 4 kB / 436.4 MB, free: 1.637 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 (step.y,assignClock.u,assignClock.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 0.0005324/0.3174, allocations: 0.7015 MB / 437.1 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000136/0.3176, allocations: 24.41 kB / 437.1 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3176, allocations: 0 / 437.1 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.726e-05/0.3176, allocations: 16.17 kB / 437.1 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003446/0.318, allocations: 24.22 kB / 437.1 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001283/0.3192, allocations: 1.326 MB / 438.5 MB, free: 15.41 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.23e-05/0.3193, allocations: 79.27 kB / 438.5 MB, free: 15.32 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.366e-05/0.3193, allocations: 0 / 438.5 MB, free: 15.32 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.216e-05/0.3194, allocations: 15.44 kB / 438.6 MB, free: 15.3 MB / 350.1 MB Notification: Performance of SimCode: time 3.5e-07/0.3194, allocations: 4 kB / 438.6 MB, free: 15.3 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02166/0.341, allocations: 1.658 MB / 440.2 MB, free: 13.76 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.78/11.12, allocations: 18 kB / 440.2 MB, free: 13.75 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_Sample1_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_Sample1.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.665726406034082] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock.y', 'sample1.y'] 11.274854218936525 11.296543239 10.980831868 Calling exit ...