Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.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.001432/0.001432, 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.001682/0.001682, allocations: 210.7 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.673/1.673, allocations: 230.5 MB / 258.2 MB, free: 8.016 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.Sample2,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002036/0.002036, allocations: 59.91 kB / 378.6 MB, free: 2.996 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4096/0.4116, allocations: 53.4 MB / 432 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2): time 0.003383/0.415, allocations: 1.58 MB / 433.6 MB, free: 5.102 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000435/0.4154, allocations: 143.5 kB / 433.7 MB, free: 4.961 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.12e-05/0.4155, allocations: 0 / 433.7 MB, free: 4.961 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.933e-05/0.4155, allocations: 3.938 kB / 433.7 MB, free: 4.957 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001361/0.4157, allocations: 7.938 kB / 433.7 MB, free: 4.949 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002689/0.416, allocations: 43.83 kB / 433.8 MB, free: 4.906 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001168/0.4161, allocations: 35.86 kB / 433.8 MB, free: 4.871 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.4162, allocations: 11.98 kB / 433.8 MB, free: 4.859 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.788e-05/0.4162, allocations: 11.94 kB / 433.8 MB, free: 4.848 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.803e-05/0.4163, allocations: 15.92 kB / 433.8 MB, free: 4.832 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.205e-05/0.4163, allocations: 4 kB / 433.8 MB, free: 4.828 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.095e-05/0.4163, allocations: 0 / 433.8 MB, free: 4.828 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.533e-05/0.4164, allocations: 15.92 kB / 433.8 MB, free: 4.812 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.538e-05/0.4164, allocations: 31.8 kB / 433.9 MB, free: 4.781 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001268/0.4165, allocations: 40.61 kB / 433.9 MB, free: 4.746 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.854e-06/0.4165, allocations: 4 kB / 433.9 MB, free: 4.742 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.4165, allocations: 3.938 kB / 433.9 MB, free: 4.738 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.079e-05/0.4166, allocations: 0 / 433.9 MB, free: 4.738 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.0004934/0.4171, allocations: 298.1 kB / 434.2 MB, free: 4.414 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.4171, allocations: 8.031 kB / 434.2 MB, free: 4.406 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.608e-05/0.4171, allocations: 4.188 kB / 434.2 MB, free: 4.402 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.565e-05/0.4171, allocations: 34.75 kB / 434.3 MB, free: 4.359 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.301e-05/0.4172, allocations: 8.891 kB / 434.3 MB, free: 4.352 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002432/0.4174, allocations: 142.3 kB / 434.4 MB, free: 4.188 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.177e-06/0.4174, allocations: 4.375 kB / 434.4 MB, free: 4.184 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.366e-05/0.4174, allocations: 4.375 kB / 434.4 MB, free: 4.18 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002974/0.4177, allocations: 117.3 kB / 434.5 MB, free: 4.047 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.4178, allocations: 0 / 434.5 MB, free: 4.047 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.4178, allocations: 0 / 434.5 MB, free: 4.047 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.4178, allocations: 0 / 434.5 MB, free: 4.047 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.879e-05/0.4178, allocations: 23.92 kB / 434.6 MB, free: 4.023 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003433/0.4182, allocations: 240.8 kB / 434.8 MB, free: 3.742 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001836/0.4184, allocations: 57.14 kB / 434.8 MB, free: 3.668 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.688e-05/0.4184, allocations: 29.78 kB / 434.9 MB, free: 3.633 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.623e-05/0.4185, allocations: 11.97 kB / 434.9 MB, free: 3.621 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.928e-05/0.4185, allocations: 30.56 kB / 434.9 MB, free: 3.582 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.4185, allocations: 0 / 434.9 MB, free: 3.582 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002501/0.4187, allocations: 77.56 kB / 435 MB, free: 3.5 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.431e-05/0.4188, allocations: 77.11 kB / 435.1 MB, free: 3.406 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/0.419, allocations: 141.3 kB / 435.2 MB, free: 3.258 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/0.419, allocations: 25.7 kB / 435.2 MB, free: 3.227 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.687e-05/0.419, allocations: 84.14 kB / 435.3 MB, free: 3.141 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.934e-05/0.4191, allocations: 7.938 kB / 435.3 MB, free: 3.133 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.237e-05/0.4191, allocations: 17.72 kB / 435.3 MB, free: 3.109 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.4192, allocations: 318.8 kB / 435.7 MB, free: 2.789 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.372e-05/0.4193, allocations: 11.98 kB / 435.7 MB, free: 2.777 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.293e-05/0.4193, allocations: 35.42 kB / 435.7 MB, free: 2.73 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.099e-05/0.4194, allocations: 47.3 kB / 435.7 MB, free: 2.672 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.4194, allocations: 0 / 435.7 MB, free: 2.672 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001361/0.4196, allocations: 69.62 kB / 435.8 MB, free: 2.598 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.4196, allocations: 6.344 kB / 435.8 MB, free: 2.594 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.4196, allocations: 0 / 435.8 MB, free: 2.594 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.4196, allocations: 7.938 kB / 435.8 MB, free: 2.586 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.829e-05/0.4197, allocations: 7.984 kB / 435.8 MB, free: 2.578 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.537e-06/0.4197, allocations: 4 kB / 435.8 MB, free: 2.574 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.276e-05/0.4197, allocations: 3.953 kB / 435.8 MB, free: 2.57 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.4197, allocations: 4 kB / 435.8 MB, free: 2.566 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.0001049/0.4198, allocations: 125.8 kB / 436 MB, free: 2.434 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.038e-05/0.4199, allocations: 49.62 kB / 436 MB, free: 2.379 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.129e-05/0.42, allocations: 12.34 kB / 436 MB, free: 2.359 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.42, allocations: 3.984 kB / 436 MB, free: 2.355 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.42, allocations: 0 / 436 MB, free: 2.355 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.42, allocations: 0 / 436 MB, free: 2.355 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001846/0.4201, allocations: 152.6 kB / 436.2 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.4202, allocations: 0 / 436.2 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.67e-05/0.4202, allocations: 8 kB / 436.2 MB, free: 2.156 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.4202, allocations: 4 kB / 436.2 MB, free: 2.152 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.4202, allocations: 0 / 436.2 MB, free: 2.152 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.4202, allocations: 0 / 436.2 MB, free: 2.152 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.4202, allocations: 7.938 kB / 436.2 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000189/0.4204, allocations: 160.3 kB / 436.4 MB, free: 1.969 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.112e-05/0.4204, allocations: 23.88 kB / 436.4 MB, free: 1.945 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.458e-05/0.4205, allocations: 0 / 436.4 MB, free: 1.945 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.682e-05/0.4205, allocations: 4 kB / 436.4 MB, free: 1.941 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.093e-05/0.4205, allocations: 4 kB / 436.4 MB, free: 1.938 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.487e-06/0.4205, allocations: 0 / 436.4 MB, free: 1.938 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.847e-05/0.4206, allocations: 107.2 kB / 436.5 MB, free: 1.832 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4206, allocations: 0 / 436.5 MB, free: 1.832 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002266/0.4209, allocations: 4 kB / 436.5 MB, free: 1.828 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: 0 () * 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.0005168/0.4214, allocations: 0.7018 MB / 437.2 MB, free: 1.098 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001366/0.4215, allocations: 27.92 kB / 437.2 MB, free: 1.07 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4215, allocations: 0 / 437.2 MB, free: 1.07 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.626e-05/0.4215, allocations: 11.98 kB / 437.2 MB, free: 1.059 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003376/0.4219, allocations: 20.52 kB / 437.3 MB, free: 1.039 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001407/0.4233, allocations: 1.334 MB / 438.6 MB, free: 15.6 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003184/0.4236, allocations: 0.6885 MB / 439.3 MB, free: 14.89 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.723e-05/0.4236, allocations: 3.938 kB / 439.3 MB, free: 14.88 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.801e-05/0.4237, allocations: 19.42 kB / 439.3 MB, free: 14.86 MB / 350.1 MB Notification: Performance of SimCode: time 5.71e-07/0.4237, allocations: 0 / 439.3 MB, free: 14.86 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02448/0.4482, allocations: 1.618 MB / 440.9 MB, free: 13.37 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.42, allocations: 15.3 kB / 440.9 MB, free: 13.36 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.177084880997427] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock.y', 'sample1.y'] 11.573844578990247 11.589203117 11.169467176 Calling exit ...