Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.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.001819/0.001819, allocations: 109.2 kB / 19.8 MB, free: 2.516 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.002336/0.002336, allocations: 219.7 kB / 23 MB, free: 5.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.389/1.389, allocations: 230.5 MB / 256.5 MB, free: 8.441 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-beta.om/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.SampleClocked,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 63.84 kB / 376.2 MB, free: 4.086 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2751/0.277, allocations: 53.33 MB / 429.5 MB, free: 7.453 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.002759/0.2797, allocations: 1.522 MB / 431 MB, free: 5.926 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004118/0.2802, allocations: 135.5 kB / 431.2 MB, free: 5.793 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.804e-05/0.2802, allocations: 0 / 431.2 MB, free: 5.793 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.102e-05/0.2803, allocations: 7.922 kB / 431.2 MB, free: 5.785 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001299/0.2804, allocations: 11.88 kB / 431.2 MB, free: 5.773 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002705/0.2807, allocations: 35.84 kB / 431.2 MB, free: 5.738 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.73e-05/0.2808, allocations: 23.98 kB / 431.3 MB, free: 5.715 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.981e-05/0.2809, allocations: 15.98 kB / 431.3 MB, free: 5.699 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.448e-05/0.2809, allocations: 11.88 kB / 431.3 MB, free: 5.688 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.292e-05/0.281, allocations: 23.84 kB / 431.3 MB, free: 5.664 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.489e-05/0.281, allocations: 0 / 431.3 MB, free: 5.664 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.074e-05/0.281, allocations: 4 kB / 431.3 MB, free: 5.66 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.864e-05/0.281, allocations: 8 kB / 431.3 MB, free: 5.652 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.414e-05/0.2811, allocations: 19.81 kB / 431.3 MB, free: 5.633 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001195/0.2812, allocations: 43.19 kB / 431.4 MB, free: 5.594 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.2812, allocations: 0 / 431.4 MB, free: 5.594 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2812, allocations: 0 / 431.4 MB, free: 5.594 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.541e-06/0.2812, allocations: 0 / 431.4 MB, free: 5.594 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004806/0.2817, allocations: 364.2 kB / 431.7 MB, free: 5.188 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.2817, allocations: 8.031 kB / 431.7 MB, free: 5.18 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.411e-05/0.2818, allocations: 34.75 kB / 431.8 MB, free: 5.137 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.606e-05/0.2818, allocations: 8.891 kB / 431.8 MB, free: 5.129 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002538/0.282, allocations: 196.2 kB / 432 MB, free: 4.898 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.097e-06/0.2821, allocations: 4.375 kB / 432 MB, free: 4.895 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.155e-05/0.2821, allocations: 384 / 432 MB, free: 4.895 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000254/0.2823, allocations: 93.67 kB / 432.1 MB, free: 4.785 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/0.2823, allocations: 7.875 kB / 432.1 MB, free: 4.777 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-06/0.2823, allocations: 3.938 kB / 432.1 MB, free: 4.773 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.2824, allocations: 0 / 432.1 MB, free: 4.773 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.906e-05/0.2824, allocations: 15.98 kB / 432.1 MB, free: 4.758 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003436/0.2828, allocations: 261.8 kB / 432.4 MB, free: 4.449 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.957e-05/0.2829, allocations: 53.08 kB / 432.4 MB, free: 4.379 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.951e-05/0.2829, allocations: 21.77 kB / 432.4 MB, free: 4.352 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.366e-05/0.2829, allocations: 0 / 432.4 MB, free: 4.352 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.283, allocations: 34.56 kB / 432.5 MB, free: 4.309 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.283, allocations: 0 / 432.5 MB, free: 4.309 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002304/0.2832, allocations: 61.62 kB / 432.5 MB, free: 4.242 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.319e-05/0.2833, allocations: 85.03 kB / 432.6 MB, free: 4.141 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001235/0.2834, allocations: 137.3 kB / 432.7 MB, free: 3.996 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/0.2834, allocations: 25.95 kB / 432.8 MB, free: 3.965 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.907e-05/0.2834, allocations: 92.14 kB / 432.9 MB, free: 3.871 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.514e-06/0.2835, allocations: 0 / 432.9 MB, free: 3.871 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-05/0.2835, allocations: 13.72 kB / 432.9 MB, free: 3.852 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.2836, allocations: 318.8 kB / 433.2 MB, free: 3.531 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.435e-05/0.2837, allocations: 4 kB / 433.2 MB, free: 3.527 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.771e-05/0.2837, allocations: 25.64 kB / 433.2 MB, free: 3.496 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.129e-05/0.2838, allocations: 29.77 kB / 433.2 MB, free: 3.461 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.2838, allocations: 3.938 kB / 433.2 MB, free: 3.457 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001031/0.2839, allocations: 57.58 kB / 433.3 MB, free: 3.395 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.2839, allocations: 4 kB / 433.3 MB, free: 3.391 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.2839, allocations: 4 kB / 433.3 MB, free: 3.387 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.2839, allocations: 0 / 433.3 MB, free: 3.387 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.668e-05/0.284, allocations: 8.062 kB / 433.3 MB, free: 3.379 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.284, allocations: 0 / 433.3 MB, free: 3.379 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.787e-05/0.284, allocations: 7.984 kB / 433.3 MB, free: 3.371 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.628e-06/0.284, allocations: 0 / 433.3 MB, free: 3.371 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (step.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 8.997e-05/0.2841, allocations: 121.7 kB / 433.4 MB, free: 3.242 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.906e-05/0.2841, allocations: 37.66 kB / 433.5 MB, free: 3.199 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.508e-05/0.2842, allocations: 15.81 kB / 433.5 MB, free: 3.176 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.2842, allocations: 4 kB / 433.5 MB, free: 3.172 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.2842, allocations: 4.031 kB / 433.5 MB, free: 3.168 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.2842, allocations: 3.938 kB / 433.5 MB, free: 3.164 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001846/0.2844, allocations: 169.5 kB / 433.7 MB, free: 2.949 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2844, allocations: 0 / 433.7 MB, free: 2.949 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.611e-05/0.2844, allocations: 4 kB / 433.7 MB, free: 2.945 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.2844, allocations: 4 kB / 433.7 MB, free: 2.941 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.593e-06/0.2844, allocations: 0 / 433.7 MB, free: 2.941 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.2844, allocations: 0 / 433.7 MB, free: 2.941 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2844, allocations: 0 / 433.7 MB, free: 2.941 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000167/0.2846, allocations: 164.3 kB / 433.8 MB, free: 2.762 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.127e-05/0.2847, allocations: 93.06 kB / 433.9 MB, free: 2.652 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.741e-05/0.2847, allocations: 7.984 kB / 433.9 MB, free: 2.645 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.372e-05/0.2847, allocations: 0 / 433.9 MB, free: 2.645 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.179e-05/0.2848, allocations: 7.984 kB / 433.9 MB, free: 2.637 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.247e-06/0.2848, allocations: 0 / 433.9 MB, free: 2.637 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.811e-05/0.2848, allocations: 103.3 kB / 434 MB, free: 2.535 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2848, allocations: 4.031 kB / 434 MB, free: 2.531 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002069/0.285, allocations: 0 / 434 MB, free: 2.531 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: 2 (step.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0004681/0.2855, allocations: 0.6936 MB / 434.7 MB, free: 1.809 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001211/0.2856, allocations: 20.02 kB / 434.8 MB, free: 1.789 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2856, allocations: 0 / 434.8 MB, free: 1.789 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.271e-05/0.2857, allocations: 7.984 kB / 434.8 MB, free: 1.781 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003057/0.286, allocations: 23 kB / 434.8 MB, free: 1.762 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001261/0.2872, allocations: 1.272 MB / 436.1 MB, free: 408 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003255/0.2876, allocations: 0.6846 MB / 436.8 MB, free: 15.69 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.546e-05/0.2876, allocations: 4 kB / 436.8 MB, free: 15.68 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.916e-05/0.2876, allocations: 15.42 kB / 436.8 MB, free: 15.67 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2876, allocations: 0 / 436.8 MB, free: 15.67 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02172/0.3093, allocations: 1.353 MB / 438.1 MB, free: 14.4 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.625/7.935, allocations: 10.34 kB / 438.1 MB, free: 14.39 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleClocked_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleClocked.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.121329693996813] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y'] 7.999454917007824 8.014225581 7.729763935 Calling exit ...