Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.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.001293/0.001293, 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.001544/0.001544, 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.497/1.497, allocations: 230.5 MB / 258.2 MB, free: 7.98 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.RealSignals.Sample3,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002496/0.002496, allocations: 59.91 kB / 378.5 MB, free: 2.859 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2819/0.2844, allocations: 53.4 MB / 431.9 MB, free: 6.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.003556/0.2879, allocations: 1.687 MB / 433.6 MB, free: 4.789 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004951/0.2884, allocations: 163.4 kB / 433.8 MB, free: 4.629 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001011/0.2885, allocations: 4 kB / 433.8 MB, free: 4.625 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.08e-05/0.2886, allocations: 7.875 kB / 433.8 MB, free: 4.617 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001623/0.2887, allocations: 19.91 kB / 433.8 MB, free: 4.598 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003/0.289, allocations: 51.83 kB / 433.8 MB, free: 4.547 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001502/0.2892, allocations: 51.84 kB / 433.9 MB, free: 4.496 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.2893, allocations: 22.09 kB / 433.9 MB, free: 4.477 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.761e-05/0.2894, allocations: 19.94 kB / 433.9 MB, free: 4.457 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.405e-05/0.2894, allocations: 19.86 kB / 434 MB, free: 4.438 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.559e-05/0.2895, allocations: 11.94 kB / 434 MB, free: 4.426 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.861e-05/0.2895, allocations: 8 kB / 434 MB, free: 4.418 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.079e-05/0.2896, allocations: 23.91 kB / 434 MB, free: 4.395 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.011e-05/0.2896, allocations: 23.8 kB / 434 MB, free: 4.371 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001833/0.2898, allocations: 79.55 kB / 434.1 MB, free: 4.293 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.2898, allocations: 0 / 434.1 MB, free: 4.293 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2898, allocations: 0 / 434.1 MB, free: 4.293 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.085e-06/0.2898, allocations: 3.984 kB / 434.1 MB, free: 4.289 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005674/0.2904, allocations: 313.9 kB / 434.4 MB, free: 3.949 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.2904, allocations: 8.031 kB / 434.4 MB, free: 3.941 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.137e-05/0.2904, allocations: 8.188 kB / 434.4 MB, free: 3.934 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.368e-05/0.2905, allocations: 38.73 kB / 434.5 MB, free: 3.887 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.493e-05/0.2905, allocations: 12.89 kB / 434.5 MB, free: 3.875 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000306/0.2908, allocations: 141 kB / 434.6 MB, free: 3.715 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.2908, allocations: 384 / 434.6 MB, free: 3.715 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.745e-05/0.2909, allocations: 8.375 kB / 434.6 MB, free: 3.707 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004019/0.2913, allocations: 170.1 kB / 434.8 MB, free: 3.52 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.2913, allocations: 0 / 434.8 MB, free: 3.52 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.2913, allocations: 0 / 434.8 MB, free: 3.52 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.2913, allocations: 7.938 kB / 434.8 MB, free: 3.512 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001166/0.2914, allocations: 39.91 kB / 434.8 MB, free: 3.473 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004538/0.2919, allocations: 336.9 kB / 435.2 MB, free: 3.094 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002511/0.2921, allocations: 107.9 kB / 435.3 MB, free: 2.961 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001038/0.2922, allocations: 50.62 kB / 435.3 MB, free: 2.902 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.885e-05/0.2922, allocations: 4 kB / 435.3 MB, free: 2.898 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.2923, allocations: 34.56 kB / 435.4 MB, free: 2.855 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.754e-06/0.2923, allocations: 0 / 435.4 MB, free: 2.855 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003765/0.2926, allocations: 125.5 kB / 435.5 MB, free: 2.727 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.354e-05/0.2927, allocations: 106.8 kB / 435.6 MB, free: 2.598 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001344/0.2929, allocations: 137.8 kB / 435.7 MB, free: 2.453 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.285e-05/0.2929, allocations: 29.7 kB / 435.7 MB, free: 2.418 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.245e-05/0.2929, allocations: 92.08 kB / 435.8 MB, free: 2.324 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.207e-05/0.293, allocations: 12.19 kB / 435.8 MB, free: 2.312 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.557e-05/0.293, allocations: 29.67 kB / 435.9 MB, free: 2.277 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.2932, allocations: 326.8 kB / 436.2 MB, free: 1.949 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.878e-05/0.2932, allocations: 8 kB / 436.2 MB, free: 1.941 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001045/0.2933, allocations: 75.66 kB / 436.3 MB, free: 1.84 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001409/0.2935, allocations: 95.58 kB / 436.4 MB, free: 1.719 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.2935, allocations: 192 / 436.4 MB, free: 1.719 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001884/0.2936, allocations: 101.5 kB / 436.5 MB, free: 1.613 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.2937, allocations: 8.219 kB / 436.5 MB, free: 1.605 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.2937, allocations: 8 kB / 436.5 MB, free: 1.598 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.2937, allocations: 0 / 436.5 MB, free: 1.598 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.496e-05/0.2938, allocations: 19.98 kB / 436.5 MB, free: 1.578 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.2938, allocations: 7.938 kB / 436.5 MB, free: 1.57 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.698e-05/0.2938, allocations: 11.95 kB / 436.5 MB, free: 1.559 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.244e-05/0.2938, allocations: 7.984 kB / 436.5 MB, free: 1.551 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (10): * Single equations (assignments): 10 * 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.0001105/0.2939, allocations: 129.8 kB / 436.7 MB, free: 1.414 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001348/0.2941, allocations: 78.09 kB / 436.7 MB, free: 1.332 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.793e-05/0.2941, allocations: 12.66 kB / 436.7 MB, free: 1.316 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.2941, allocations: 8 kB / 436.8 MB, free: 1.309 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.2941, allocations: 0 / 436.8 MB, free: 1.309 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.2941, allocations: 0 / 436.8 MB, free: 1.309 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000238/0.2944, allocations: 156.6 kB / 436.9 MB, free: 1.113 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.2944, allocations: 3.938 kB / 436.9 MB, free: 1.109 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.208e-05/0.2944, allocations: 23.98 kB / 436.9 MB, free: 1.086 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.99e-06/0.2945, allocations: 0 / 436.9 MB, free: 1.086 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.2945, allocations: 4 kB / 436.9 MB, free: 1.082 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.2945, allocations: 0 / 436.9 MB, free: 1.082 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2945, allocations: 0 / 436.9 MB, free: 1.082 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004082/0.2949, allocations: 320.3 kB / 437.3 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.955e-05/0.2949, allocations: 27.88 kB / 437.3 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.878e-05/0.2949, allocations: 4 kB / 437.3 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.743e-05/0.295, allocations: 4 kB / 437.3 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.364e-05/0.2951, allocations: 0 / 437.3 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.867e-06/0.2951, allocations: 4 kB / 437.3 MB, free: 0.707 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.749e-05/0.2952, allocations: 109.9 kB / 437.4 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2952, allocations: 0 / 437.4 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000279/0.2955, allocations: 12 kB / 437.4 MB, free: 0.5898 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 (10): * Single equations (assignments): 10 * 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.000717/0.2962, allocations: 0.8462 MB / 438.3 MB, free: 15.71 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002054/0.2964, allocations: 63.78 kB / 438.3 MB, free: 15.65 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.2964, allocations: 4 kB / 438.3 MB, free: 15.64 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.773e-05/0.2964, allocations: 4.562 kB / 438.3 MB, free: 15.64 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004807/0.2969, allocations: 58.61 kB / 438.4 MB, free: 15.59 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001744/0.2986, allocations: 1.583 MB / 440 MB, free: 13.87 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.802e-05/0.2987, allocations: 91.2 kB / 440.1 MB, free: 13.76 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.527e-05/0.2988, allocations: 12.66 kB / 440.1 MB, free: 13.75 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.607e-05/0.2988, allocations: 19.44 kB / 440.1 MB, free: 13.73 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.2988, allocations: 0 / 440.1 MB, free: 13.73 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02205/0.3209, allocations: 2.087 MB / 442.2 MB, free: 11.77 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/11.2, allocations: 13.3 kB / 442.2 MB, free: 11.75 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.743174563045613] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'sample2.y', 'hold1.y'] 11.369533370016143 11.387858048 11.094505291 Calling exit ...