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.SuperSample.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.001373/0.001373, allocations: 109.4 kB / 19.8 MB, free: 2.5 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.001515/0.001515, allocations: 221.3 kB / 23 MB, free: 5.582 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.472/1.472, allocations: 230.5 MB / 256.5 MB, free: 8.23 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.SuperSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample",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.003286/0.003286, allocations: 72.06 kB / 376.2 MB, free: 4.008 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2467/0.25, allocations: 53.31 MB / 429.5 MB, free: 7.406 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.003112/0.2531, allocations: 1.615 MB / 431.1 MB, free: 5.789 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001221/0.2543, allocations: 0.5726 MB / 431.7 MB, free: 5.211 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.93e-05/0.2544, allocations: 7.938 kB / 431.7 MB, free: 5.203 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.426e-05/0.2545, allocations: 7.922 kB / 431.7 MB, free: 5.195 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001358/0.2546, allocations: 3.938 kB / 431.7 MB, free: 5.191 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004072/0.255, allocations: 71.73 kB / 431.8 MB, free: 5.121 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001233/0.2552, allocations: 47.84 kB / 431.9 MB, free: 5.074 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.2553, allocations: 12.19 kB / 431.9 MB, free: 5.062 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001215/0.2554, allocations: 31.78 kB / 431.9 MB, free: 5.031 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.341e-05/0.2554, allocations: 27.8 kB / 431.9 MB, free: 5.004 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.487e-05/0.2555, allocations: 4 kB / 431.9 MB, free: 5 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.239e-05/0.2555, allocations: 8 kB / 431.9 MB, free: 4.992 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.046e-05/0.2555, allocations: 15.92 kB / 432 MB, free: 4.977 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.05e-05/0.2556, allocations: 23.81 kB / 432 MB, free: 4.953 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001548/0.2558, allocations: 64.09 kB / 432 MB, free: 4.895 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.2558, allocations: 0 / 432 MB, free: 4.895 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2558, allocations: 4 kB / 432 MB, free: 4.891 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.411e-06/0.2558, allocations: 0 / 432 MB, free: 4.891 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005001/0.2563, allocations: 386 kB / 432.4 MB, free: 4.469 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.2563, allocations: 8.031 kB / 432.4 MB, free: 4.461 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.566e-05/0.2564, allocations: 34.75 kB / 432.5 MB, free: 4.418 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001813/0.2565, allocations: 20.88 kB / 432.5 MB, free: 4.398 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002889/0.2568, allocations: 207.7 kB / 432.7 MB, free: 4.16 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.2568, allocations: 12.12 kB / 432.7 MB, free: 4.148 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/0.2569, allocations: 0 / 432.7 MB, free: 4.148 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002678/0.2571, allocations: 113.9 kB / 432.8 MB, free: 4.016 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.2571, allocations: 0 / 432.8 MB, free: 4.016 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-06/0.2571, allocations: 0 / 432.8 MB, free: 4.016 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.2571, allocations: 11.98 kB / 432.8 MB, free: 4.004 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001073/0.2573, allocations: 27.91 kB / 432.8 MB, free: 3.977 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003526/0.2576, allocations: 270.6 kB / 433.1 MB, free: 3.656 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000129/0.2577, allocations: 71.78 kB / 433.2 MB, free: 3.559 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.403e-05/0.2578, allocations: 26.64 kB / 433.2 MB, free: 3.523 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.457e-05/0.2578, allocations: 11.94 kB / 433.2 MB, free: 3.512 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/0.2578, allocations: 34.55 kB / 433.3 MB, free: 3.469 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.2578, allocations: 4 kB / 433.3 MB, free: 3.465 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003153/0.2582, allocations: 89.45 kB / 433.3 MB, free: 3.371 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.524e-05/0.2582, allocations: 102.8 kB / 433.4 MB, free: 3.246 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001432/0.2584, allocations: 153.7 kB / 433.6 MB, free: 3.086 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.2584, allocations: 26.08 kB / 433.6 MB, free: 3.055 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.339e-05/0.2585, allocations: 92.14 kB / 433.7 MB, free: 2.961 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.741e-05/0.2585, allocations: 4 kB / 433.7 MB, free: 2.957 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.668e-05/0.2585, allocations: 21.66 kB / 433.7 MB, free: 2.93 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.2587, allocations: 318.8 kB / 434 MB, free: 2.609 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.442e-05/0.2587, allocations: 11.98 kB / 434.1 MB, free: 2.598 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.194e-05/0.2588, allocations: 31.38 kB / 434.1 MB, free: 2.555 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001006/0.2589, allocations: 47.42 kB / 434.1 MB, free: 2.496 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.2589, allocations: 4 kB / 434.1 MB, free: 2.492 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001638/0.259, allocations: 65.64 kB / 434.2 MB, free: 2.422 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.259, allocations: 12.03 kB / 434.2 MB, free: 2.41 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.259, allocations: 3.938 kB / 434.2 MB, free: 2.406 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.2591, allocations: 0 / 434.2 MB, free: 2.406 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.896e-05/0.2591, allocations: 11.98 kB / 434.2 MB, free: 2.395 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.2591, allocations: 7.938 kB / 434.2 MB, free: 2.387 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.739e-05/0.2592, allocations: 0 / 434.2 MB, free: 2.387 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.2592, allocations: 4 kB / 434.2 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: 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 9.588e-05/0.2593, allocations: 117.8 kB / 434.4 MB, free: 2.258 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.422e-05/0.2594, allocations: 61.55 kB / 434.4 MB, free: 2.191 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.619e-05/0.2594, allocations: 15.86 kB / 434.4 MB, free: 2.168 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.2594, allocations: 0 / 434.4 MB, free: 2.168 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.361e-06/0.2594, allocations: 3.938 kB / 434.4 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.2594, allocations: 0 / 434.4 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002006/0.2596, allocations: 173.6 kB / 434.6 MB, free: 1.945 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.2596, allocations: 0 / 434.6 MB, free: 1.945 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.096e-05/0.2597, allocations: 11.98 kB / 434.6 MB, free: 1.934 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.2597, allocations: 3.938 kB / 434.6 MB, free: 1.93 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.2597, allocations: 8 kB / 434.6 MB, free: 1.922 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.2597, allocations: 4.062 kB / 434.6 MB, free: 1.918 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.2597, allocations: 3.938 kB / 434.6 MB, free: 1.914 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001973/0.2599, allocations: 173.1 kB / 434.8 MB, free: 1.723 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.107e-05/0.26, allocations: 97.05 kB / 434.9 MB, free: 1.609 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/0.26, allocations: 0 / 434.9 MB, free: 1.609 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.131e-05/0.2601, allocations: 11.98 kB / 434.9 MB, free: 1.598 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.112e-05/0.2601, allocations: 3.938 kB / 434.9 MB, free: 1.594 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.756e-06/0.2601, allocations: 8 kB / 434.9 MB, free: 1.586 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.778e-05/0.2602, allocations: 112.9 kB / 435 MB, free: 1.477 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2602, allocations: 0 / 435 MB, free: 1.477 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002492/0.2604, allocations: 11.94 kB / 435 MB, free: 1.465 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 (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.0005055/0.2609, allocations: 0.7024 MB / 435.8 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001568/0.2611, allocations: 31.92 kB / 435.8 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.2611, allocations: 0 / 435.8 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.761e-05/0.2612, allocations: 12.23 kB / 435.8 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003425/0.2615, allocations: 39.2 kB / 435.8 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001546/0.2631, allocations: 1.418 MB / 437.3 MB, free: 15.12 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003456/0.2634, allocations: 0.6924 MB / 437.9 MB, free: 14.41 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.164e-05/0.2634, allocations: 4 kB / 437.9 MB, free: 14.4 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.194e-05/0.2635, allocations: 15.44 kB / 438 MB, free: 14.39 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2635, allocations: 0 / 438 MB, free: 14.39 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02511/0.2886, allocations: 1.691 MB / 439.7 MB, free: 12.79 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.614/7.903, allocations: 3.938 kB / 439.7 MB, free: 12.79 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample_fmu --startTime=0 --stopTime=0.08 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.223137694003526] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'superSample1.y'] 7.9719443889916874 7.992152133 7.731826352 Calling exit ...