Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.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.001273/0.001273, allocations: 114.2 kB / 20.22 MB, free: 1.793 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.00139/0.00139, allocations: 211.6 kB / 23.48 MB, free: 5.227 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.399/1.399, allocations: 230.4 MB / 257 MB, free: 8.246 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.RealSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked",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.001864/0.001864, allocations: 67.89 kB / 377.1 MB, free: 3.586 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.2779, allocations: 53.31 MB / 430.4 MB, free: 7.238 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.003124/0.281, allocations: 1.649 MB / 432 MB, free: 5.586 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009849/0.282, allocations: 0.5648 MB / 432.6 MB, free: 5.016 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.804e-05/0.2821, allocations: 3.938 kB / 432.6 MB, free: 5.012 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.238e-05/0.2821, allocations: 7.922 kB / 432.6 MB, free: 5.004 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001002/0.2822, allocations: 11.88 kB / 432.6 MB, free: 4.992 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003216/0.2826, allocations: 75.78 kB / 432.7 MB, free: 4.918 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001344/0.2827, allocations: 59.78 kB / 432.8 MB, free: 4.859 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.994e-05/0.2828, allocations: 8 kB / 432.8 MB, free: 4.852 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000128/0.2829, allocations: 47.77 kB / 432.8 MB, free: 4.805 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.362e-05/0.283, allocations: 27.86 kB / 432.8 MB, free: 4.777 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.946e-05/0.283, allocations: 4 kB / 432.8 MB, free: 4.773 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.328e-05/0.2831, allocations: 4 kB / 432.9 MB, free: 4.77 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.581e-05/0.2831, allocations: 19.92 kB / 432.9 MB, free: 4.75 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.78e-05/0.2832, allocations: 35.73 kB / 432.9 MB, free: 4.715 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001634/0.2833, allocations: 75.97 kB / 433 MB, free: 4.645 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.2834, allocations: 7.984 kB / 433 MB, free: 4.637 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2834, allocations: 0 / 433 MB, free: 4.637 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.171e-06/0.2834, allocations: 0 / 433 MB, free: 4.637 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.0006103/0.284, allocations: 403 kB / 433.4 MB, free: 4.195 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.544e-05/0.284, allocations: 8.031 kB / 433.4 MB, free: 4.188 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.693e-05/0.2841, allocations: 30.75 kB / 433.4 MB, free: 4.148 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002473/0.2843, allocations: 24.88 kB / 433.4 MB, free: 4.125 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002964/0.2846, allocations: 216.1 kB / 433.7 MB, free: 3.875 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.2846, allocations: 8.375 kB / 433.7 MB, free: 3.867 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.806e-05/0.2846, allocations: 4.359 kB / 433.7 MB, free: 3.863 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003129/0.285, allocations: 126 kB / 433.8 MB, free: 3.719 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.285, allocations: 4 kB / 433.8 MB, free: 3.715 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.285, allocations: 4 kB / 433.8 MB, free: 3.711 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.336e-05/0.285, allocations: 4 kB / 433.8 MB, free: 3.707 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001265/0.2851, allocations: 39.91 kB / 433.8 MB, free: 3.668 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005153/0.2856, allocations: 381.8 kB / 434.2 MB, free: 3.238 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001535/0.2858, allocations: 79.78 kB / 434.3 MB, free: 3.133 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.054e-05/0.2859, allocations: 34.62 kB / 434.3 MB, free: 3.09 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.363e-05/0.2859, allocations: 7.984 kB / 434.3 MB, free: 3.082 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/0.2859, allocations: 46.44 kB / 434.4 MB, free: 3.027 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.2859, allocations: 0 / 434.4 MB, free: 3.027 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003704/0.2863, allocations: 109.5 kB / 434.5 MB, free: 2.914 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.994e-05/0.2864, allocations: 111.2 kB / 434.6 MB, free: 2.781 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001443/0.2865, allocations: 158.8 kB / 434.8 MB, free: 2.617 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.749e-05/0.2866, allocations: 25.7 kB / 434.8 MB, free: 2.586 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.332e-05/0.2866, allocations: 100.1 kB / 434.9 MB, free: 2.484 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.307e-05/0.2866, allocations: 7.953 kB / 434.9 MB, free: 2.477 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.575e-05/0.2867, allocations: 17.72 kB / 434.9 MB, free: 2.453 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.2868, allocations: 322.8 kB / 435.2 MB, free: 2.129 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.916e-05/0.2869, allocations: 23.92 kB / 435.2 MB, free: 2.105 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.708e-05/0.287, allocations: 43.42 kB / 435.3 MB, free: 2.051 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001427/0.2871, allocations: 67.33 kB / 435.3 MB, free: 1.973 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2871, allocations: 0 / 435.3 MB, free: 1.973 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001942/0.2873, allocations: 85.56 kB / 435.4 MB, free: 1.883 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.2873, allocations: 8 kB / 435.4 MB, free: 1.875 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.2873, allocations: 3.984 kB / 435.4 MB, free: 1.871 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.2874, allocations: 96 / 435.4 MB, free: 1.871 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.82e-05/0.2875, allocations: 15.98 kB / 435.5 MB, free: 1.855 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.2875, allocations: 8.125 kB / 435.5 MB, free: 1.848 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.59e-05/0.2875, allocations: 7.984 kB / 435.5 MB, free: 1.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.076e-06/0.2875, allocations: 0 / 435.5 MB, free: 1.84 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: 0 () * 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.0001046/0.2876, allocations: 133.7 kB / 435.6 MB, free: 1.699 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001/0.2877, allocations: 49.66 kB / 435.7 MB, free: 1.645 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.069e-05/0.2878, allocations: 15.81 kB / 435.7 MB, free: 1.629 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.359e-05/0.2878, allocations: 4 kB / 435.7 MB, free: 1.625 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.2878, allocations: 0 / 435.7 MB, free: 1.625 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.2878, allocations: 4.031 kB / 435.7 MB, free: 1.621 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002535/0.288, allocations: 189.5 kB / 435.9 MB, free: 1.387 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.288, allocations: 0 / 435.9 MB, free: 1.387 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.006e-05/0.2881, allocations: 11.98 kB / 435.9 MB, free: 1.375 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.2881, allocations: 0 / 435.9 MB, free: 1.375 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-06/0.2881, allocations: 0 / 435.9 MB, free: 1.375 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.2881, allocations: 0 / 435.9 MB, free: 1.375 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/0.2881, allocations: 7.938 kB / 435.9 MB, free: 1.367 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000297/0.2884, allocations: 271.5 kB / 436.1 MB, free: 1.082 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.139e-05/0.2885, allocations: 104.9 kB / 436.2 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.631e-05/0.2885, allocations: 0 / 436.2 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/0.2886, allocations: 4 kB / 436.3 MB, free: 0.957 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.039e-05/0.2887, allocations: 7.984 kB / 436.3 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.087e-06/0.2887, allocations: 0 / 436.3 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.612e-05/0.2888, allocations: 123.2 kB / 436.4 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2888, allocations: 0 / 436.4 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002598/0.289, allocations: 8 kB / 436.4 MB, free: 0.8203 MB / 334.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 1 * 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.0006813/0.2897, allocations: 0.8139 MB / 437.2 MB, free: 15.97 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002021/0.2899, allocations: 51.91 kB / 437.3 MB, free: 15.92 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.2899, allocations: 0 / 437.3 MB, free: 15.92 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.316e-05/0.29, allocations: 15.98 kB / 437.3 MB, free: 15.91 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004213/0.2904, allocations: 32.41 kB / 437.3 MB, free: 15.88 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001815/0.2922, allocations: 1.586 MB / 438.9 MB, free: 14.18 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000354/0.2926, allocations: 0.7041 MB / 439.6 MB, free: 13.45 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.435e-05/0.2926, allocations: 11.98 kB / 439.6 MB, free: 13.44 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.453e-05/0.2927, allocations: 23.42 kB / 439.6 MB, free: 13.41 MB / 350.1 MB Notification: Performance of SimCode: time 5.31e-07/0.2927, allocations: 0 / 439.6 MB, free: 13.41 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03029/0.323, allocations: 1.914 MB / 441.5 MB, free: 11.62 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.966/8.289, allocations: 3.516 kB / 441.5 MB, free: 11.62 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.561856252839789] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y[1]', 'sample1.y[2]'] 8.364049053983763 8.39239367 8.104118173 Calling exit ...