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.AssignClockToTriggerHold.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.001415/0.001415, allocations: 105 kB / 19.74 MB, free: 2.566 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.001513/0.001513, allocations: 214.6 kB / 22.92 MB, free: 5.535 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.29/1.29, allocations: 230.5 MB / 256.4 MB, free: 8.438 MB / 206.1 MB " [Timeout remaining time 179] 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.AssignClockToTriggerHold,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockToTriggerHold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockToTriggerHold",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.001782/0.001782, allocations: 67.89 kB / 376.1 MB, free: 4.086 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2054/0.2072, allocations: 53.3 MB / 429.4 MB, free: 7.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.002634/0.2098, allocations: 1.67 MB / 431.1 MB, free: 5.754 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009287/0.2107, allocations: 0.5765 MB / 431.7 MB, free: 5.172 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.477e-05/0.2108, allocations: 11.88 kB / 431.7 MB, free: 5.16 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.517e-05/0.2109, allocations: 3.938 kB / 431.7 MB, free: 5.156 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001156/0.211, allocations: 23.84 kB / 431.7 MB, free: 5.133 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002918/0.2113, allocations: 66.19 kB / 431.8 MB, free: 5.07 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001155/0.2114, allocations: 63.77 kB / 431.8 MB, free: 5.008 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.436e-05/0.2115, allocations: 24.16 kB / 431.8 MB, free: 4.98 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.2116, allocations: 27.92 kB / 431.9 MB, free: 4.953 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.831e-05/0.2116, allocations: 39.77 kB / 431.9 MB, free: 4.914 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.617e-05/0.2117, allocations: 4 kB / 431.9 MB, free: 4.91 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.061e-05/0.2117, allocations: 12 kB / 431.9 MB, free: 4.898 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.688e-05/0.2117, allocations: 23.92 kB / 431.9 MB, free: 4.875 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.6e-05/0.2118, allocations: 35.75 kB / 432 MB, free: 4.84 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001531/0.2119, allocations: 87.94 kB / 432.1 MB, free: 4.758 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.2119, allocations: 0 / 432.1 MB, free: 4.758 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2119, allocations: 0 / 432.1 MB, free: 4.758 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.212, allocations: 0 / 432.1 MB, free: 4.758 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.0004698/0.2124, allocations: 395 kB / 432.5 MB, free: 4.324 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.2125, allocations: 12.03 kB / 432.5 MB, free: 4.312 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.856e-05/0.2125, allocations: 38.73 kB / 432.5 MB, free: 4.266 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000139/0.2126, allocations: 24.83 kB / 432.5 MB, free: 4.242 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002238/0.2129, allocations: 200.8 kB / 432.7 MB, free: 4.008 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.2129, allocations: 12.31 kB / 432.7 MB, free: 3.996 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.512e-05/0.2129, allocations: 7.938 kB / 432.7 MB, free: 3.988 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002902/0.2132, allocations: 152.9 kB / 432.9 MB, free: 3.82 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.2132, allocations: 0 / 432.9 MB, free: 3.82 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.2132, allocations: 4 kB / 432.9 MB, free: 3.816 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.2132, allocations: 0 / 432.9 MB, free: 3.816 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001037/0.2133, allocations: 27.98 kB / 432.9 MB, free: 3.789 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004192/0.2137, allocations: 305.6 kB / 433.2 MB, free: 3.438 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002178/0.2139, allocations: 154.3 kB / 433.4 MB, free: 3.25 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.091e-05/0.214, allocations: 37.73 kB / 433.4 MB, free: 3.207 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.992e-05/0.214, allocations: 4 kB / 433.4 MB, free: 3.203 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001106/0.2141, allocations: 71.34 kB / 433.5 MB, free: 3.121 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.383e-06/0.2141, allocations: 0 / 433.5 MB, free: 3.121 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002802/0.2144, allocations: 117.5 kB / 433.6 MB, free: 3 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.291e-05/0.2145, allocations: 81.11 kB / 433.7 MB, free: 2.902 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.2146, allocations: 150.6 kB / 433.8 MB, free: 2.746 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.2146, allocations: 33.7 kB / 433.9 MB, free: 2.707 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.179e-05/0.2147, allocations: 88.12 kB / 433.9 MB, free: 2.617 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.023e-05/0.2147, allocations: 19.91 kB / 434 MB, free: 2.598 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.464e-05/0.2147, allocations: 33.66 kB / 434 MB, free: 2.559 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.2149, allocations: 322.8 kB / 434.3 MB, free: 2.234 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.974e-05/0.2149, allocations: 19.98 kB / 434.3 MB, free: 2.215 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.209e-05/0.215, allocations: 65.06 kB / 434.4 MB, free: 2.133 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001309/0.2151, allocations: 85.08 kB / 434.5 MB, free: 2.031 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.2151, allocations: 0 / 434.5 MB, free: 2.031 MB / 334.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000197/0.2153, allocations: 117.5 kB / 434.6 MB, free: 1.91 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.2153, allocations: 4 kB / 434.6 MB, free: 1.906 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.2153, allocations: 0 / 434.6 MB, free: 1.906 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.2154, allocations: 7.984 kB / 434.6 MB, free: 1.898 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.177e-05/0.2154, allocations: 15.88 kB / 434.6 MB, free: 1.883 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.2154, allocations: 4 kB / 434.6 MB, free: 1.879 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.345e-05/0.2155, allocations: 16.05 kB / 434.6 MB, free: 1.863 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-06/0.2155, allocations: 4 kB / 434.6 MB, free: 1.859 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 8 (triggeredSampler.y,$PRE.triggeredSampler.y,clockToTrigger.y3,$PRE.clockToTrigger.y3,triggeredSampler.trigger,$whenCondition1,$CLKPRE.clockToTrigger.y2,clockToTrigger.y2) * Number of discrete states: 0 () * Number of clocked states: 1 (clockToTrigger.y2) * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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.418e-05/0.2156, allocations: 130.9 kB / 434.8 MB, free: 1.723 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.542e-05/0.2157, allocations: 57.58 kB / 434.8 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.422e-05/0.2157, allocations: 12.31 kB / 434.8 MB, free: 1.641 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.2157, allocations: 7.938 kB / 434.8 MB, free: 1.633 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.2157, allocations: 0 / 434.8 MB, free: 1.633 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.2157, allocations: 3.984 kB / 434.8 MB, free: 1.629 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003445/0.2161, allocations: 346.9 kB / 435.2 MB, free: 1.234 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2161, allocations: 0 / 435.2 MB, free: 1.234 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.563e-05/0.2161, allocations: 19.88 kB / 435.2 MB, free: 1.215 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.2161, allocations: 0 / 435.2 MB, free: 1.215 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.2161, allocations: 3.984 kB / 435.2 MB, free: 1.211 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.2161, allocations: 4 kB / 435.2 MB, free: 1.207 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.2161, allocations: 0 / 435.2 MB, free: 1.207 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002122/0.2163, allocations: 196.3 kB / 435.4 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.925e-05/0.2164, allocations: 105 kB / 435.5 MB, free: 0.875 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.012e-05/0.2164, allocations: 3.984 kB / 435.5 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.797e-05/0.2165, allocations: 4 kB / 435.5 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.934e-05/0.2165, allocations: 4 kB / 435.5 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.584e-06/0.2165, allocations: 4 kB / 435.5 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.424e-05/0.2166, allocations: 109.9 kB / 435.6 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2166, allocations: 4 kB / 435.6 MB, free: 0.75 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002386/0.2168, allocations: 15.95 kB / 435.7 MB, free: 0.7344 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: 5 (clockToTrigger.y2,triggeredSampler.trigger,$whenCondition1,triggeredSampler.y,clockToTrigger.y3) * Number of discrete states: 1 (clockToTrigger.y3) * Number of clocked states: 1 (clockToTrigger.y2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0005837/0.2174, allocations: 0.7797 MB / 436.4 MB, free: 15.92 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001772/0.2176, allocations: 63.8 kB / 436.5 MB, free: 15.86 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.2176, allocations: 0 / 436.5 MB, free: 15.86 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.039e-05/0.2177, allocations: 24.36 kB / 436.5 MB, free: 15.84 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003055/0.218, allocations: 34 kB / 436.6 MB, free: 15.81 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001459/0.2194, allocations: 1.547 MB / 438.1 MB, free: 14.14 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002816/0.2197, allocations: 0.7007 MB / 438.8 MB, free: 13.42 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.872e-05/0.2198, allocations: 16.59 kB / 438.8 MB, free: 13.4 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.003e-05/0.2198, allocations: 23.44 kB / 438.8 MB, free: 13.38 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.2198, allocations: 0 / 438.8 MB, free: 13.38 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02392/0.2437, allocations: 2.03 MB / 440.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.029/7.272, allocations: 12.61 kB / 440.9 MB, free: 11.46 MB / 350.1 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockToTriggerHold_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockToTriggerHold.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.337263718000031]