Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestClockedRealToTrigger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestClockedRealToTrigger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002264/0.002264, allocations: 181.3 kB / 13.23 MB, free: 2.086 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.254/2.254, allocations: 205.2 MB / 219 MB, free: 9.211 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001159/0.001159, allocations: 91.8 kB / 267.1 MB, free: 9.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1099/0.1099, allocations: 12.59 MB / 327.8 MB, free: 12.48 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.609e-05/4.621e-05, allocations: 8 kB / 386.1 MB, free: 69.52 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1027, allocations: 50.37 MB / 436.5 MB, free: 19.13 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5078/0.6106, allocations: 78.36 MB / 0.5028 GB, free: 11.55 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000209/0.6109, allocations: 60.7 kB / 0.5028 GB, free: 11.55 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004826/0.6157, allocations: 1.265 MB / 0.5041 GB, free: 11.18 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.512e-06/0.6158, allocations: 0 / 0.5041 GB, free: 11.18 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.648e-05/0.6158, allocations: 3.844 kB / 0.5041 GB, free: 11.18 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.000454/0.6163, allocations: 355 kB / 0.5044 GB, free: 10.83 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.361e-05/0.6164, allocations: 7.688 kB / 0.5044 GB, free: 10.83 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.357e-05/0.6164, allocations: 45.12 kB / 0.5045 GB, free: 10.79 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.992e-05/0.6165, allocations: 7.75 kB / 0.5045 GB, free: 10.78 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000208/0.6167, allocations: 190.3 kB / 0.5046 GB, free: 10.57 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.6167, allocations: 7.328 kB / 0.5046 GB, free: 10.57 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.686e-05/0.6168, allocations: 3.844 kB / 0.5047 GB, free: 10.57 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003386/0.6171, allocations: 129.3 kB / 0.5048 GB, free: 10.5 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.6171, allocations: 0 / 0.5048 GB, free: 10.5 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.6172, allocations: 5.594 kB / 0.5048 GB, free: 10.5 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.6172, allocations: 0 / 0.5048 GB, free: 10.5 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.684e-05/0.6173, allocations: 27.06 kB / 0.5048 GB, free: 10.5 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005838/0.6179, allocations: 297.3 kB / 0.5051 GB, free: 10.21 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002453/0.6181, allocations: 151.9 kB / 0.5052 GB, free: 10.07 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.221e-05/0.6182, allocations: 30.62 kB / 0.5053 GB, free: 10.05 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.383e-05/0.6183, allocations: 10.5 kB / 0.5053 GB, free: 10.05 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000132/0.6184, allocations: 64.47 kB / 0.5053 GB, free: 9.996 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 2.415e-06/0.6184, allocations: 3.938 kB / 0.5053 GB, free: 9.992 MB / 330.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002629/0.6187, allocations: 86.12 kB / 0.5054 GB, free: 9.957 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.223e-05/0.6188, allocations: 77.11 kB / 0.5055 GB, free: 9.863 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.762e-05/0.6189, allocations: 110.2 kB / 0.5056 GB, free: 9.766 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.6189, allocations: 29.48 kB / 0.5056 GB, free: 9.734 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.444e-05/0.619, allocations: 87.67 kB / 0.5057 GB, free: 9.648 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.723e-05/0.619, allocations: 18.05 kB / 0.5057 GB, free: 9.641 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.304e-06/0.619, allocations: 7.125 kB / 0.5057 GB, free: 9.637 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.686e-05/0.6191, allocations: 324.4 kB / 0.506 GB, free: 9.32 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.238e-05/0.6192, allocations: 18.22 kB / 0.5061 GB, free: 9.316 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.373e-05/0.6193, allocations: 50.64 kB / 0.5061 GB, free: 9.27 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.248e-05/0.6193, allocations: 30.17 kB / 0.5061 GB, free: 9.266 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.6194, allocations: 0 / 0.5061 GB, free: 9.266 MB / 330.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002067/0.6196, allocations: 103.1 kB / 0.5062 GB, free: 9.223 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.6196, allocations: 3.844 kB / 0.5062 GB, free: 9.223 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.6196, allocations: 3.844 kB / 0.5062 GB, free: 9.223 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.6196, allocations: 0 / 0.5062 GB, free: 9.223 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001469/0.6198, allocations: 22.92 kB / 0.5063 GB, free: 9.215 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.6198, allocations: 3.938 kB / 0.5063 GB, free: 9.215 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.179e-05/0.6199, allocations: 7.562 kB / 0.5063 GB, free: 9.211 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.38e-05/0.6199, allocations: 7.406 kB / 0.5063 GB, free: 9.211 MB / 330.7 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 ($PRE.triggeredSampler.y,triggeredSampler.y,ClockedRealToTrigger.y2,$CLKPRE.ClockedRealToTrigger.y2,$whenCondition1,ClockedRealToTrigger.y,$PRE.ClockedRealToTrigger.y3,ClockedRealToTrigger.y3) * Number of discrete states: 0 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.844e-05/0.62, allocations: 120.5 kB / 0.5064 GB, free: 9.094 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.653e-05/0.6201, allocations: 43.64 kB / 0.5064 GB, free: 9.062 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.364e-05/0.6202, allocations: 14.23 kB / 0.5065 GB, free: 9.059 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.6202, allocations: 0 / 0.5065 GB, free: 9.059 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.6202, allocations: 4 kB / 0.5065 GB, free: 9.055 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.6202, allocations: 3.719 kB / 0.5065 GB, free: 9.055 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003536/0.6206, allocations: 327.6 kB / 0.5068 GB, free: 8.75 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.6206, allocations: 4.219 kB / 0.5068 GB, free: 8.75 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.492e-05/0.6207, allocations: 10.05 kB / 0.5068 GB, free: 8.75 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.6207, allocations: 0 / 0.5068 GB, free: 8.75 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.6207, allocations: 3.5 kB / 0.5068 GB, free: 8.75 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.6208, allocations: 8 kB / 0.5068 GB, free: 8.746 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.6208, allocations: 6.391 kB / 0.5068 GB, free: 8.742 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002015/0.621, allocations: 196.3 kB / 0.507 GB, free: 8.578 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.465e-05/0.621, allocations: 91.11 kB / 0.5071 GB, free: 8.477 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.567e-05/0.6211, allocations: 3.812 kB / 0.5071 GB, free: 8.477 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.6212, allocations: 6.484 kB / 0.5071 GB, free: 8.477 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.196e-05/0.6212, allocations: 3.812 kB / 0.5071 GB, free: 8.477 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.196e-05/0.6213, allocations: 11.89 kB / 0.5071 GB, free: 8.465 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.986e-05/0.6213, allocations: 92.47 kB / 0.5072 GB, free: 8.391 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.6213, allocations: 0 / 0.5072 GB, free: 8.391 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003351/0.6217, allocations: 11.44 kB / 0.5072 GB, free: 8.391 MB / 330.7 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 (ClockedRealToTrigger.y2,ClockedRealToTrigger.y,$whenCondition1,ClockedRealToTrigger.y3,triggeredSampler.y) * Number of discrete states: 1 (ClockedRealToTrigger.y3) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005132/0.6222, allocations: 0.8318 MB / 0.508 GB, free: 7.625 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001903/0.6224, allocations: 53.66 kB / 0.5081 GB, free: 7.621 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.6224, allocations: 0 / 0.5081 GB, free: 7.621 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.283e-05/0.6225, allocations: 14.66 kB / 0.5081 GB, free: 7.621 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000241/0.6227, allocations: 24.06 kB / 0.5081 GB, free: 7.613 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005264/0.6233, allocations: 150.1 kB / 0.5082 GB, free: 7.484 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001545/0.6234, allocations: 0.6979 MB / 0.5089 GB, free: 6.785 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.926e-05/0.6235, allocations: 10.73 kB / 0.5089 GB, free: 6.781 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.215e-05/0.6236, allocations: 20.94 kB / 0.509 GB, free: 6.773 MB / 330.7 MB Notification: Performance of SimCode: time 8.11e-07/0.6236, allocations: 0 / 0.509 GB, free: 6.773 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02174/0.6453, allocations: 1.565 MB / 0.5105 GB, free: 6.344 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002762/0.6457, allocations: 175.2 kB / 0.5107 GB, free: 6.121 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.498/3.144, allocations: 3.938 kB / 0.5107 GB, free: 6.117 MB / 330.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestClockedRealToTrigger_fmu --startTime=0 --stopTime=1.2 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestClockedRealToTrigger.fmu > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger.pipe 2>&1)