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.001143/0.001143, allocations: 172.8 kB / 16.14 MB, free: 5.66 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.635/1.635, allocations: 205.4 MB / 222.3 MB, free: 9.02 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.0007308/0.0007307, allocations: 92.06 kB / 270.7 MB, free: 8.246 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.08571/0.08571, allocations: 12.6 MB / 331.5 MB, free: 11.24 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000454/0.0004543, allocations: 16 kB / 392.8 MB, free: 65.75 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08606/0.08654, allocations: 50.36 MB / 443.1 MB, free: 15.33 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger): time 0.001567/0.08816, allocations: 1.297 MB / 444.4 MB, free: 14.02 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007352/0.08892, allocations: 499.7 kB / 444.9 MB, free: 13.52 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.89e-05/0.08905, allocations: 4 kB / 444.9 MB, free: 13.52 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.035e-05/0.08908, allocations: 7.875 kB / 444.9 MB, free: 13.51 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.753e-05/0.08917, allocations: 7.922 kB / 444.9 MB, free: 13.5 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000318/0.08949, allocations: 47.95 kB / 445 MB, free: 13.46 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.647e-05/0.0896, allocations: 51.86 kB / 445 MB, free: 13.41 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.08971, allocations: 23.91 kB / 445.1 MB, free: 13.38 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.472e-05/0.08981, allocations: 27.84 kB / 445.1 MB, free: 13.36 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.835e-05/0.08988, allocations: 27.86 kB / 445.1 MB, free: 13.33 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.63e-05/0.0899, allocations: 0 / 445.1 MB, free: 13.33 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.251e-05/0.08992, allocations: 4 kB / 445.1 MB, free: 13.32 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.828e-05/0.08995, allocations: 4 kB / 445.1 MB, free: 13.32 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.11e-05/0.09001, allocations: 57.44 kB / 445.2 MB, free: 13.26 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.156e-05/0.0901, allocations: 60 kB / 445.2 MB, free: 13.2 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.09012, allocations: 0 / 445.2 MB, free: 13.2 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.09012, allocations: 0 / 445.2 MB, free: 13.2 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.09013, allocations: 0 / 445.2 MB, free: 13.2 MB / 298.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.0004205/0.09056, allocations: 359.3 kB / 445.6 MB, free: 12.8 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.09061, allocations: 8.031 kB / 445.6 MB, free: 12.79 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.833e-05/0.09065, allocations: 34.75 kB / 445.6 MB, free: 12.75 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.33e-05/0.09069, allocations: 16.83 kB / 445.6 MB, free: 12.73 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001537/0.09085, allocations: 180.3 kB / 445.8 MB, free: 12.52 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.09087, allocations: 4.375 kB / 445.8 MB, free: 12.52 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.373e-05/0.09089, allocations: 8.375 kB / 445.8 MB, free: 12.51 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002802/0.09118, allocations: 141.1 kB / 446 MB, free: 12.35 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.0912, allocations: 0 / 446 MB, free: 12.35 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.09121, allocations: 0 / 446 MB, free: 12.35 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.09123, allocations: 4 kB / 446 MB, free: 12.35 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001095/0.09134, allocations: 35.97 kB / 446 MB, free: 12.31 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004156/0.09176, allocations: 305.5 kB / 446.3 MB, free: 11.96 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001978/0.09197, allocations: 158.3 kB / 446.5 MB, free: 11.77 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.767e-05/0.09205, allocations: 37.8 kB / 446.5 MB, free: 11.73 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.079e-05/0.09208, allocations: 0 / 446.5 MB, free: 11.73 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001388/0.09223, allocations: 71.33 kB / 446.6 MB, free: 11.64 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.593e-06/0.09224, allocations: 0 / 446.6 MB, free: 11.64 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002814/0.09252, allocations: 125.5 kB / 446.7 MB, free: 11.52 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.695e-05/0.09258, allocations: 85.09 kB / 446.8 MB, free: 11.41 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.735e-05/0.09264, allocations: 113.8 kB / 446.9 MB, free: 11.29 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.09266, allocations: 33.7 kB / 446.9 MB, free: 11.25 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.272e-05/0.0927, allocations: 92.14 kB / 447 MB, free: 11.16 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.955e-05/0.09273, allocations: 15.8 kB / 447 MB, free: 11.14 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.791e-06/0.09274, allocations: 8 kB / 447 MB, free: 11.14 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.784e-05/0.0928, allocations: 322.8 kB / 447.3 MB, free: 10.81 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.722e-05/0.09287, allocations: 19.98 kB / 447.4 MB, free: 10.79 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.263e-05/0.09294, allocations: 69.06 kB / 447.4 MB, free: 10.71 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001183/0.09306, allocations: 85.08 kB / 447.5 MB, free: 10.61 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.09307, allocations: 4 kB / 447.5 MB, free: 10.6 MB / 298.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001767/0.09326, allocations: 113.5 kB / 447.6 MB, free: 10.48 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.09328, allocations: 8 kB / 447.6 MB, free: 10.48 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.09329, allocations: 0 / 447.6 MB, free: 10.48 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.09331, allocations: 4 kB / 447.6 MB, free: 10.47 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.966e-05/0.0934, allocations: 15.98 kB / 447.7 MB, free: 10.46 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.09341, allocations: 7.938 kB / 447.7 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.487e-05/0.09347, allocations: 12.41 kB / 447.7 MB, free: 10.44 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.368e-06/0.09349, allocations: 7.984 kB / 447.7 MB, free: 10.43 MB / 298.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 () * Number of clocked states: 1 (ClockedRealToTrigger.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 7.89e-05/0.09357, allocations: 126.8 kB / 447.8 MB, free: 10.3 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.882e-05/0.09364, allocations: 53.59 kB / 447.9 MB, free: 10.24 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.083e-05/0.09368, allocations: 11.97 kB / 447.9 MB, free: 10.23 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.09369, allocations: 4 kB / 447.9 MB, free: 10.22 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.0937, allocations: 3.938 kB / 447.9 MB, free: 10.22 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.09371, allocations: 3.938 kB / 447.9 MB, free: 10.21 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002909/0.09401, allocations: 334.6 kB / 448.2 MB, free: 9.832 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.09402, allocations: 4 kB / 448.2 MB, free: 9.828 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.717e-05/0.09408, allocations: 8 kB / 448.2 MB, free: 9.82 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.09409, allocations: 3.938 kB / 448.2 MB, free: 9.816 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.09411, allocations: 7.922 kB / 448.2 MB, free: 9.809 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.09412, allocations: 4 kB / 448.2 MB, free: 9.805 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.09413, allocations: 0 / 448.2 MB, free: 9.805 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001895/0.09432, allocations: 204.2 kB / 448.4 MB, free: 9.586 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.745e-05/0.09436, allocations: 84.95 kB / 448.5 MB, free: 9.484 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.202e-05/0.09439, allocations: 8.406 kB / 448.5 MB, free: 9.477 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.514e-05/0.09446, allocations: 7.984 kB / 448.5 MB, free: 9.469 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.979e-05/0.09451, allocations: 8 kB / 448.5 MB, free: 9.461 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.396e-06/0.09452, allocations: 4 kB / 448.6 MB, free: 9.457 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.488e-05/0.09456, allocations: 95.2 kB / 448.6 MB, free: 9.363 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09457, allocations: 0 / 448.6 MB, free: 9.363 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002154/0.09479, allocations: 8 kB / 448.7 MB, free: 9.355 MB / 298.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) * Number of clocked states: 1 (ClockedRealToTrigger.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.0005513/0.09534, allocations: 0.7679 MB / 449.4 MB, free: 8.559 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001899/0.09556, allocations: 71.78 kB / 449.5 MB, free: 8.488 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.09558, allocations: 0 / 449.5 MB, free: 8.488 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.547e-05/0.09565, allocations: 28.36 kB / 449.5 MB, free: 8.461 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002891/0.09595, allocations: 21.41 kB / 449.5 MB, free: 8.441 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001234/0.09719, allocations: 1.508 MB / 451 MB, free: 6.816 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001642/0.09737, allocations: 0.6926 MB / 451.7 MB, free: 6.098 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.614e-05/0.09741, allocations: 11.89 kB / 451.8 MB, free: 6.086 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.323e-05/0.09747, allocations: 23.42 kB / 451.8 MB, free: 6.066 MB / 298.7 MB Notification: Performance of SimCode: time 2.81e-07/0.09748, allocations: 0 / 451.8 MB, free: 6.066 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01157/0.1091, allocations: 1.585 MB / 453.4 MB, free: 4.477 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000154/0.1092, allocations: 229.5 kB / 453.6 MB, free: 4.219 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.57/1.68, allocations: 0 / 453.6 MB, free: 4.219 MB / 298.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)