Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger.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.TestClockedBooleanToTrigger,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestClockedBooleanToTrigger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestClockedBooleanToTrigger",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.002011/0.002011, allocations: 177.7 kB / 8.046 MB, free: 1.027 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.161/2.161, allocations: 205.3 MB / 213.8 MB, free: 1.66 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001094/0.001094, allocations: 94.61 kB / 261.8 MB, free: 1.605 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.09994/0.09994, allocations: 12.6 MB / 322.3 MB, free: 15.19 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.344e-05/2.38e-05, allocations: 4 kB / 379 MB, free: 6.398 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3171/0.3171, allocations: 50.36 MB / 429.4 MB, free: 18.32 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.146/0.4632, allocations: 77.62 MB / 0.4951 GB, free: 4.594 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002356/0.4635, allocations: 59.97 kB / 0.4952 GB, free: 4.535 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005657/0.4692, allocations: 1.335 MB / 0.4965 GB, free: 3.203 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.4693, allocations: 0 / 0.4965 GB, free: 3.203 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.278e-05/0.4693, allocations: 0 / 0.4965 GB, free: 3.203 MB / 346.7 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.0005541/0.4699, allocations: 362.4 kB / 0.4968 GB, free: 2.805 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/0.4699, allocations: 8.031 kB / 0.4969 GB, free: 2.797 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.823e-05/0.47, allocations: 11.91 kB / 0.4969 GB, free: 2.785 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002471/0.4702, allocations: 186.9 kB / 0.497 GB, free: 2.562 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.4703, allocations: 7.953 kB / 0.4971 GB, free: 2.555 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.829e-05/0.4703, allocations: 4 kB / 0.4971 GB, free: 2.551 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001316/0.4704, allocations: 24 kB / 0.4971 GB, free: 2.527 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000297/0.4707, allocations: 121 kB / 0.4972 GB, free: 2.391 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.4708, allocations: 0 / 0.4972 GB, free: 2.391 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.4708, allocations: 0 / 0.4972 GB, free: 2.391 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.4708, allocations: 4 kB / 0.4972 GB, free: 2.387 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005175/0.4713, allocations: 274.1 kB / 0.4975 GB, free: 2.078 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002335/0.4716, allocations: 154.3 kB / 0.4976 GB, free: 1.891 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.005e-05/0.4717, allocations: 29.84 kB / 0.4976 GB, free: 1.855 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.384e-05/0.4717, allocations: 8.016 kB / 0.4976 GB, free: 1.848 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000157/0.4719, allocations: 59.41 kB / 0.4977 GB, free: 1.777 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 3.707e-06/0.4719, allocations: 0 / 0.4977 GB, free: 1.777 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002843/0.4722, allocations: 93.58 kB / 0.4978 GB, free: 1.68 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.727e-05/0.4723, allocations: 89.05 kB / 0.4979 GB, free: 1.574 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.4724, allocations: 112.8 kB / 0.498 GB, free: 1.457 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.4725, allocations: 29.7 kB / 0.498 GB, free: 1.422 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.846e-05/0.4725, allocations: 84.38 kB / 0.4981 GB, free: 1.332 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.052e-05/0.4726, allocations: 19.8 kB / 0.4981 GB, free: 1.312 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.943e-06/0.4726, allocations: 0 / 0.4981 GB, free: 1.312 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.4727, allocations: 322.8 kB / 0.4984 GB, free: 0.9883 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.64e-05/0.4728, allocations: 16 kB / 0.4984 GB, free: 0.9727 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000107/0.4729, allocations: 67.27 kB / 0.4985 GB, free: 0.8867 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.79e-05/0.473, allocations: 23.92 kB / 0.4985 GB, free: 0.8633 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.778e-06/0.473, allocations: 0 / 0.4985 GB, free: 0.8633 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002564/0.4733, allocations: 101.5 kB / 0.4986 GB, free: 0.7578 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.569e-05/0.4734, allocations: 4 kB / 0.4986 GB, free: 0.7539 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.416e-05/0.4734, allocations: 7.984 kB / 0.4986 GB, free: 0.7461 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.4734, allocations: 3.938 kB / 0.4986 GB, free: 0.7422 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.286e-05/0.4735, allocations: 4 kB / 0.4986 GB, free: 0.7383 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.4735, allocations: 4 kB / 0.4986 GB, free: 0.7344 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001406/0.4737, allocations: 11.98 kB / 0.4986 GB, free: 0.7227 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.447e-05/0.4737, allocations: 4 kB / 0.4987 GB, free: 0.7188 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.triggeredBooleanSampler.y,triggeredBooleanSampler.y,$whenCondition1,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,ClockedSignalToTrigger.uu,ClockedSignalToTrigger.y2,$CLKPRE.ClockedSignalToTrigger.y2,$whenCondition2,ClockedSignalToTrigger.y,$PRE.ClockedSignalToTrigger.y3,ClockedSignalToTrigger.y3,ClockedSignalToTrigger.u,sample1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 0.0001113/0.4738, allocations: 121 kB / 0.4988 GB, free: 0.5938 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000209/0.474, allocations: 89.59 kB / 0.4989 GB, free: 0.5 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.131e-05/0.4741, allocations: 7.984 kB / 0.4989 GB, free: 0.4922 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.529e-05/0.4741, allocations: 8.625 kB / 0.4989 GB, free: 500 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.4742, allocations: 4 kB / 0.4989 GB, free: 496 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.4742, allocations: 0 / 0.4989 GB, free: 496 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.4742, allocations: 0 / 0.4989 GB, free: 496 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004238/0.4746, allocations: 311.1 kB / 0.4992 GB, free: 140 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-05/0.4746, allocations: 12.05 kB / 0.4992 GB, free: 128 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.387e-05/0.4747, allocations: 7.938 kB / 0.4992 GB, free: 120 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.082e-06/0.4747, allocations: 0 / 0.4992 GB, free: 120 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.675e-05/0.4747, allocations: 7.984 kB / 0.4992 GB, free: 112 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.4747, allocations: 384 / 0.4992 GB, free: 112 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.4747, allocations: 0 / 0.4992 GB, free: 112 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002715/0.475, allocations: 206 kB / 0.4994 GB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.196e-05/0.4751, allocations: 81.02 kB / 0.4995 GB, free: 15.79 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.913e-05/0.4751, allocations: 7.938 kB / 0.4995 GB, free: 15.78 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001679/0.4753, allocations: 7.984 kB / 0.4995 GB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.809e-05/0.4754, allocations: 4 kB / 0.4995 GB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.714e-05/0.4754, allocations: 11.95 kB / 0.4995 GB, free: 15.75 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.598e-05/0.4755, allocations: 87.27 kB / 0.4996 GB, free: 15.67 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.7e-07/0.4755, allocations: 0 / 0.4996 GB, free: 15.67 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003661/0.4759, allocations: 16 kB / 0.4996 GB, free: 15.65 MB / 362.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: 11 (sample1.y,ClockedSignalToTrigger.u,ClockedSignalToTrigger.y2,ClockedSignalToTrigger.uu,ClockedSignalToTrigger.y,$whenCondition2,$whenCondition1,ClockedSignalToTrigger.y3,booleanPulse.y,booleanPulse.pulseStart,triggeredBooleanSampler.y) * Number of discrete states: 1 (ClockedSignalToTrigger.y3) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0007119/0.4766, allocations: 0.8266 MB / 0.5004 GB, free: 14.79 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002047/0.4768, allocations: 55.92 kB / 0.5005 GB, free: 14.73 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/0.4768, allocations: 384 / 0.5005 GB, free: 14.73 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.312e-05/0.4769, allocations: 31.92 kB / 0.5005 GB, free: 14.7 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000392/0.4773, allocations: 23.36 kB / 0.5005 GB, free: 14.68 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006513/0.478, allocations: 150.7 kB / 0.5007 GB, free: 14.5 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002974/0.4783, allocations: 0.7001 MB / 0.5013 GB, free: 13.77 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.559e-05/0.4784, allocations: 12.44 kB / 0.5014 GB, free: 13.76 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.041e-05/0.4785, allocations: 23.42 kB / 0.5014 GB, free: 13.73 MB / 362.7 MB Notification: Performance of SimCode: time 1.162e-06/0.4785, allocations: 0 / 0.5014 GB, free: 13.73 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03962/0.5181, allocations: 1.463 MB / 0.5028 GB, free: 12.28 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003285/0.5185, allocations: 174.6 kB / 0.503 GB, free: 12.08 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.408/2.927, allocations: 4 kB / 0.503 GB, free: 12.08 MB / 362.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestClockedBooleanToTrigger_fmu --startTime=0 --stopTime=1.2 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestClockedBooleanToTrigger.fmu > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger.pipe 2>&1)